Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Iron_Knight

Bulding under FreeBSD

Recommended Posts

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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)?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Ok this is what I get now. Whoever is updating the Makefile.bsd, keep up the good work you almost got it.:mace:

 

 

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 :medieval:

Edited by Iron_Knight

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×