I can't get xffm to compile.This is diff then the two threads in the dev mailing list earlier this month.Those two had the same error message this one is diff.Ask if you need more info. http://lunar-linux.org/pipermail/xfce4-dev/2004-August/011861.html http://lunar-linux.org/pipermail/xfce4-dev/2004-August/011873.html
Steps to reproduce: Here is what I did to tring a build xffm cd stuff/programs/xfce4/xffm su "root"password" export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ ./configure --enable-panel --enable-filter --enable-extendprefs --enable-scrambledir make
Additional information: This error happens during make. xffm_actions_la-recent.o In file included from recent.c:48: constants.h:56:4: warning: #warning "Confirm this MACRO!" recent.c: In function `add2history': recent.c:131: parse error before `*' recent.c:132: `dbh' undeclared (first use in this function) recent.c:132: (Each undeclared identifier is reported only once recent.c:132: for each function it appears in.) make[2]: *** [libxffm_actions_la-recent.lo] Error 1 make[2]: Leaving directory `/home/matthew/stuff/programs/xfce4/xffm/libs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/matthew/stuff/programs/xfce4/xffm' make: *** [all] Error 2
The error message for today indicates a line with C99 code. I've fixed that so xffm should compile on non C99 now. Nothing to do with the previous build errors you mention. I suppose those are now fixed.
I'll get the latest cvs and check.I'll report back. Update:Still get the same error.I redirected my ./configure and make to two files.I'll upload them,they may help.some stuff did not get redirected tho. For configure ./configure: line 24462: AUTHORS: command not found For make In file included from properties.c:47: ../libs/constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from recent.c:48: constants.h:56:4: warning: #warning "Confirm this MACRO!" recent.c: In function `add2history': recent.c:131: parse error before `*' recent.c:132: `dbh' undeclared (first use in this function) recent.c:132: (Each undeclared identifier is reported only once recent.c:132: for each function it appears in.) make[2]: *** [libxffm_actions_la-recent.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I can build all other parts of xfce from cvs but xffm.I'm using benny installer version of xffm for now. edited on: 08-23 22:47
Just got home from night school and got the latest xffm from cvs and i'm getting a new error message now. In file included from cpy.c:50: constants.h:56:4: warning: #warning "Confirm this MACRO!" cpy.c: In function `watch_stop': cpy.c:431: parse error before `*' cpy.c:432: `g' undeclared (first use in this function) cpy.c:432: (Each undeclared identifier is reported only once cpy.c:432: for each function it appears in.) make[2]: *** [libxffm_cpy_la-cpy.lo] Error 1 make[2]: Leaving directory `/home/matthew/stuff/programs/xfce4/xffm/libs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/matthew/stuff/programs/xfce4/xffm' make: *** [all] Error 2 I compiled the same way as my first post. edited on: 08-24 04:09
The error was another C99 code. It is now fixed at CVS so your compilation should not stop at this point any more.
Just download the latest cvs a min ago and i'm getting a new error message now.If you need more info please tell me.I uploaded my config and make output(agian somethings did not go into the txt files). [root@localhost xffm]# ./configure --enable-panel --enable-filter --enable-extendprefs --enable-scrambledir > config082404.txt ./configure: line 24462: AUTHORS: command not found [root@localhost xffm]# make > make082404.txt In file included from properties.c:47: ../libs/constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from recent.c:48: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from new.c:42: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from new_win.c:40: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from print.c:41: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from rename.c:40: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from run.c:55: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from scramble.c:40: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from symlink.c:41: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from terminal.c:41: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from touch.c:41: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from xfdiff.c:44: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from cpy.c:50: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from countfiles.c:50: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from duplicate.c:42: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from remove.c:47: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from rcp.c:44: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from goto.c:42: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from trash.c:46: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from dnd.c:47: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from input.c:48: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from menu.c:42: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from menu_callbacks.c:41: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from pasteboard.c:40: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from refresh.c:38: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from zoom.c:37: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from fstab.c:86: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from bookmarks.c:47: constants.h:56:4: warning: #warning "Confirm this MACRO!" In file included from find.c:47: constants.h:56:4: warning: #warning "Confirm this MACRO!" find.c: In function `watch_stop': find.c:357: parse error before `*' find.c:358: `g' undeclared (first use in this function) find.c:358: (Each undeclared identifier is reported only once find.c:358: for each function it appears in.) make[2]: *** [libxffm_fgr_la-find.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I don't know how to code but if you need testing of patchs,please email me them and I can end you the error message I get if they don't work.
Just got the latest cvs and a new error.Config and make uploaded agian.Make is getting stoped later and later if you look at the make files I uploaded,so it's getting closer to compiling right. [root@localhost xffm]# ./configure --enable-panel --enable-filter --enable-extendprefs --enable-scrambledir > config082504.txt ./configure: line 24462: AUTHORS: command not found [root@localhost xffm]# make > make082504.txt toolbar.c:1084:2: warning: #warning "remove this warning AFTER first alpha release of 4.1" treeview.c: In function `IterCompareFunc': treeview.c:320: parse error before `int' treeview.c:323: `caso' undeclared (first use in this function) treeview.c:323: (Each undeclared identifier is reported only once treeview.c:323: for each function it appears in.) make[2]: *** [xffm-treeview.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 edited on: 08-25 20:50
I put in some stricter compilation rules and fixes at CVS and I'm almost sure it will compile OK now.
Matthew walks in. Edscott glares at matthew. "New error" matthew says. Edscott attacks matthew. This one happens a few seconds into the make.The Config and make are uploaded. [root@localhost xffm]# ./configure --enable-panel --enable-filter --enable-extendprefs --enable-scrambledir > config082604.txt ./configure: line 24462: AUTHORS: command not found [root@localhost xffm]# make > make082604.txt cc1: Unrecognized option `-Wdeclaration-after-statement' make[2]: *** [scramble-scramble.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Tell me if I need to recompile other packages.Every other package but xffm is from 08/21/04 at the moment.Question, how long does it take for the updates to get into anon cvs.Is it possible for me to get a login for cvs. edited on: 08-26 04:56
The Unrecognized option `-Wdeclaration-after-statement' is precisely the option that allows me to catch all the previous errors :-( Well, I've removed the option from the build process so that should not be a problem anymore. I'm curious as to what will happen next... You will need to grab the latest libxfcegui4 and xfce4-icon-theme (if installed). I think the anon cvs takes 30 minutes to get in sync. Currently the xfce cvs server is going to be moved to another location, so I don't know how easy it would be to get a cvs login, you'd have to ask Auke about that.
During the ./configure of xffm i'm getting this. checking for libxfcegui4-1.0 >= 4.1.29... Requested 'libxfcegui4-1.0 >= 4.1.29' but version of libxfcegui4 is 4.1.28 configure: error: Library requirements (libxfcegui4-1.0 >= 4.1.29) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. But I downloaded and compiled the latest libxfcegui4 from cvs.Also I did "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ ". I'll try agian when I get home from night school. I using gcc2.96 does that make any difference with all of this.I'm asking because of your post here http://lunar-linux.org/pipermail/xfce4-dev/2004-August/012175.html
Oops. It seems I forgot to commit the update to the version number of libxfcegui4. It's changed now to 4.1.29 so configure should proceed fine. Xffm should compile with 2.96. If not, then something has to be fixed.
Here is the make output error [root@localhost xffm]# make > 082604.txt keybindings.c:79: warning: `Rref' defined but not used keybindings.c:79: warning: `Lref' defined but not used keybindings.c:83: warning: `show_alt_treeview' defined but not used keybindings.c:98: warning: `hide_alt_treeview' defined but not used main.c: In function `insert_dir': main.c:677: warning: value computed is not used make[2]: *** No rule to make target `p-unknown.png', needed by `all-am'. Stop. make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 It getting closer to compiling. 6,000bytes 72,000 bytes 101,000 bytes 153,000 bytes Question does it compile right for you.Odd that only I have been having problems.
myoung: "Question does it compile right for you.Odd that only I have been having problems." Nah, I can confirm this one. You just seem to be faster than most ;-)
From the error message, xffm compiles for you, it's just the pixmap directory where the make stops. Currently the pixmaps are converging towards the Rodent theme and some files changed from .xpm to .png, but were not added to cvs. The missing file are now there. I just did a fresh checkout and things work OK.
I just reinstalled my system and I'm using gcc 3.4 now.New error message.You sure xffm is not alive and just driving you crazy on purpose.I'll upload my make agian. [root@localhost xffm]# make > make.txt keybindings.c:79: warning: `Rref' defined but not used keybindings.c:79: warning: `Lref' defined but not used keybindings.c:83: warning: `show_alt_treeview' defined but not used keybindings.c:98: warning: `hide_alt_treeview' defined but not used mcs-manager.c: In function `settings_notify_cb': mcs-manager.c:81: warning: implicit declaration of function `strequal' xffm-mcs-manager.o(.text+0x13): In function `settings_notify_cb': /tmp/xfce4/xffm/src/mcs-manager.c:81: undefined reference to `strequal' collect2: ld returned 1 exit status make[2]: *** [xffm] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
strequal() has been replaced with strcmp(). I did not catch that error because it only gets compiled if gtk < 2.4.0. Now there should be no problems since you are almost at the end of the make process.
IT'S ALIVE :) xffm compiled.Good work edscott.
Fixed.