Iron_Knight Report post Posted October 2, 2005 I'm trying to compile under FreeBSD 6.0 and 5.4 I'm using "make -f Makefile.bsd" but I'm getting Warning: Object directory not changed from original /usr/home/justin/elc cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -march=i686 -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c multiplayer.c multiplayer.c: In function `process_message_from_server': multiplayer.c:348: error: too few arguments to function `filter_or_ignore_text' *** Error code 1 Stop in /usr/home/justin/elc. i dont know what I'm doing wrong? Thanks justin Quote Share this post Link to post Share on other sites
trollson Report post Posted October 2, 2005 Sounds like an old copy of 'multiplayer.c'? 'filter_or_ignore_text()' has gained another argument at some point (as far as I can tell!). Make sure you have upto date source code? Quote Share this post Link to post Share on other sites
Iron_Knight Report post Posted October 2, 2005 Sounds like an old copy of 'multiplayer.c'? 'filter_or_ignore_text()' has gained another argument at some point (as far as I can tell!). Make sure you have upto date source code? 204091[/snapback] No Help reflection.o(.text+0x1e5): In function `draw_actor_reflection': /home/justin/elc/reflection.c:73: undefined reference to `cal_render_actor' reflection.o(.text+0x373): In function `draw_enhanced_actor_reflection': /home/justin/elc/reflection.c:114: undefined reference to `cal_render_actor' shadows.o(.text+0xc92): In function `draw_enhanced_actor_shadow': /home/justin/elc/shadows.c:294: undefined reference to `cal_render_actor' shadows.o(.text+0xe0b): In function `draw_actor_shadow': /home/justin/elc/shadows.c:326: undefined reference to `cal_render_actor' tabs.o(.text+0x3a5): In function `display_tab_help': /home/justin/elc/tabs.c:77: undefined reference to `skills_win' tabs.o(.text+0x3aa):/home/justin/elc/tabs.c:78: undefined reference to `fill_skills_win' trade.o(.text+0xaa0): In function `click_trade_handler': /home/justin/elc/trade.c:207: undefined reference to `storage_item_dragged' trade.o(.text+0xb3b):/home/justin/elc/trade.c:218: undefined reference to `storage_item_dragged' trade.o(.text+0xb52):/home/justin/elc/trade.c:221: undefined reference to `storage_item_dragged' trade.o(.text+0xb61):/home/justin/elc/trade.c:221: undefined reference to `storage_items' *** Error code 1 Quote Share this post Link to post Share on other sites
ttlanhil Report post Posted October 2, 2005 No Help reflection.o(.text+0x1e5): In function `draw_actor_reflection': /home/justin/elc/reflection.c:73: undefined reference to `cal_render_actor' 204346[/snapback] erm. that means it's not linked to cal3d right... if cal.h is included, that function should be callable... maybe the Makefile is out of date (compare against the linux one for what files are included where)? Quote Share this post Link to post Share on other sites
Iron_Knight Report post Posted October 4, 2005 Now i get this cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -march=i686 -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c trade.c cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -march=i686 -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c weather.c cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -march=i686 -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c widgets.c `all' not remade because of errors. that is strange, i get no errors. Quote Share this post Link to post Share on other sites
Iron_Knight Report post Posted October 4, 2005 and if you use make -DCAL3D -f Makefile.bsd cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c widgets.c `all' not remade because of errors. %make -DCAL3D -f Makefile.bsd "/usr/share/mk/bsd.compat.mk", line 36: warning: NOMAN is deprecated in favor of NO_MAN Warning: Object directory not changed from original /usr/home/justin/elc Graph cycles through framebuffer.o make: don't know how to make cal3dwrap.c. Stop That is what you get Quote Share this post Link to post Share on other sites
Iron_Knight Report post Posted October 5, 2005 (edited) Ok this is what I get now. Whoever is updating the Makefile.bsd, keep up the good work you almost got it. This is the output from "make -DCAL3D -f Makefile.bsd" cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -march=i686 -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c trade.c cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -march=i686 -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c weather.c cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -march=i686 -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c widgets.c make: don't know how to make cal3dwrap.c. Stop This is the output from "make -f Makefile.bsd" cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -march=i686 -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c trade.c cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -march=i686 -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c weather.c cc -Wdeclaration-after-statement -Wall -Werror -ggdb -pipe -march=i686 -DBSD -DELC -I/usr/X11R6/include `/usr/local/bin/sdl11-config --cflags` `/usr/local/bin/xml2-config --cflags` -I/usr/local/include -c widgets.c `all' not remade because of errors. Looks like it all compiles ok just wont link?? Thanks for your help Edited October 5, 2005 by Iron_Knight Quote Share this post Link to post Share on other sites