Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2006:
[Freeciv-Dev] Re: (PR#17042) mac os x (Tiger) and xcode on intel - freec
Home

[Freeciv-Dev] Re: (PR#17042) mac os x (Tiger) and xcode on intel - freec

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#17042) mac os x (Tiger) and xcode on intel - freeciv crashes machine
From: "Ian Wallace" <ian@xxxxxxxxx>
Date: Sun, 28 May 2006 12:47:59 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=17042 >


Hello again,

I'm compiling the packages, and I have run into some compile errors  
about missing symbols:

gcc  -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes - 
Wmissing-declarations   -o civserver  civserver.o ../utility/ 
libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/ 
libcivutility.a ./libcivserver.a ../utility/libcivutility.a ../common/ 
libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./ 
libcivserver.a ../utility/libcivutility.a ../common/aicore/ 
libaicore.a ./generator/libgenerator.a userdb/libuserdb.a - 
lreadline   -lz  -liconv
/usr/bin/ld: Undefined symbols:
_rl_forced_update_display
_history_truncate_file
collect2: ld returned 1 exit status
make[3]: *** [civserver] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

My thought is that it seems that there is an include file missing:

grep -R _rl_forced_update_display *
Binary file server/console.o matches
Binary file server/libcivserver.a matches

Perhaps the console.o needs to be included, or at least the  
console.h.  I'm not sure.  Anyway, if you have any advice, that would  
be great.  I don't think I will be getting past this myself.

Ian



Hello again,

I'm compiling the packages, and I have run into some compile errors about missing symbols:

gcc  -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations   -o civserver  civserver.o ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./libcivserver.a ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./libcivserver.a ../utility/libcivutility.a ../common/aicore/libaicore.a ./generator/libgenerator.a userdb/libuserdb.a -lreadline   -lz  -liconv
/usr/bin/ld: Undefined symbols:
_rl_forced_update_display
_history_truncate_file
collect2: ld returned 1 exit status
make[3]: *** [civserver] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

My thought is that it seems that there is an include file missing:

grep -R _rl_forced_update_display *
Binary file server/console.o matches
Binary file server/libcivserver.a matches

Perhaps the console.o needs to be included, or at least the console.h.  I'm not sure.  Anyway, if you have any advice, that would be great.  I don't think I will be getting past this myself.

Ian


[Prev in Thread] Current Thread [Next in Thread]