Leeloo Report post Posted March 24, 2005 $ make make -f Makefile.linux 'CFLAGS=-march=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -DELC -I/usr/local/include/SDL -D_REENTRANT -I/usr/local/include/libxml2' make[1]: Entering directory `/home/kfr/c/eternal-lands/elc' cc -march=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -DELC -I/usr/local/include/SDL -D_REENTRANT -I/usr/local/include/libxml2 -c -o widgets.o widgets.c widgets.c: In function `text_field_set_buf_pos': widgets.c:1199: parse error before `*' widgets.c:1205: `tf' undeclared (first use in this function) widgets.c:1205: (Each undeclared identifier is reported only once widgets.c:1205: for each function it appears in.) make[1]: *** [widgets.o] Error 1 make[1]: Leaving directory `/home/kfr/c/eternal-lands/elc' make: *** [release] Error 2 Share this post Link to post Share on other sites
Grum Report post Posted March 24, 2005 (edited) My bad, will fix. EDIT: fixed, and added -Wdeclaration-after-statement to compiler flags. Edited March 24, 2005 by Grum Share this post Link to post Share on other sites
Malaclypse Report post Posted March 24, 2005 FYI: This option is only available with gcc-3.4 and above. On gentoo this release is still marked as unstable and has in fact caused a lot of problems lately (with kde compiling against 'old' libraries that were compiled with gcc-3.3). So if anyone of you has still libraries used by EL installed which were compiled with gcc-3.3 or below, be careful, as this might cause trouble, both compile-time as well as run-time related. Share this post Link to post Share on other sites
Grum Report post Posted March 24, 2005 Well, if the compiler doesn't support this flag, it'll complain, and it's easily removed. Besides, I urge everyone to keep their own Makefile anyway. I wouldn't recommend upgrading the compiler to suit the Makefile btw, please do it the other way around On Mandrake everything's compiled with 3.4, so I don't have problems with it. Share this post Link to post Share on other sites
Malaclypse Report post Posted March 24, 2005 No, I won't use gcc-3.4 for now. I have it already installed, but use it only for mono which requires it. As long as nearly all my libs are compiled with gcc-3.3 I won't switch for EL. I just wanted to point this out, so other people could get aware of it. Share this post Link to post Share on other sites