From: francesco <fra...@br...> - 2009-02-02 09:23:50
|
Holger Wirtz ha scritto: > Hi Francesco, > > francesco wrote: > >> Hi guys, I am tring to compile fgcom on ubuntu 8.10. from svn. >> >> must say that over 8.04 it compiles and run well. under 8.10 when I try >> to compile it i get: >> >> make[1]: Entering directory `/home/francesco/fgfs/fgcom/iaxclient/lib' >> cc -I. -Igsm/inc -Ilibspeex/include --std=c99 -Wall -Wmissing-noreturn >> -g -O2 -DLIBVER='"SVN 206"' -DSPEEX_PREPROCESS=1 -DNEWJB >> -Iportaudio/src/os/unix -DAUDIO_OPENAL -Ilibiax2/src -DLIBIAX >> -DSPEEX_EC=1 -DLINUX -c -o libiax2/src/iax.o libiax2/src/iax.c >> libiax2/src/iax.c: In function ‘iax_register’: >> libiax2/src/iax.c:1608: error: ‘struct hostent’ has no member named ‘h_addr’ >> libiax2/src/iax.c: In function ‘iax_call’: >> libiax2/src/iax.c:2001: error: ‘struct hostent’ has no member named ‘h_addr’ >> make[1]: *** [libiax2/src/iax.o] Error 1 >> make[1]: Leaving directory `/home/francesco/fgfs/fgcom/iaxclient/lib' >> make: *** [fgcomstatic] Error 2 >> >> I really don't know what I am missing.... any suggestion ? >> > > Hm, since struct hostent is a libc internal structure it seems that > there was a change. As I see that you use libiax2: Can you tell me what > you have exactly checked out? > jaster told me to look inside netdb.h, well they changed at line 103 from: #define h_addr h_addr_list[0] /* Address, for backward compatibility. */ to: #if defined __USE_MISC || defined __USE_GNU # define h_addr h_addr_list[0] /* Address, for backward compatibility.*/ #endif there are other similar minor changes (In the same way in the new file) well I think that since __USE_MISK or __USE_GNU is not set, h_addr is never defined. Thanks for interesting. > We are currently working hard on fgcom3 where such problems should not > happen. > > If you need a fgcom3 beta tester let me know. > Regards, Holger > > -- Brisa Francesco Via Gabelli 16 22077 Olgiate Comasco (CO) http://brisa.homelinux.net fra...@br... ________ ______ / ____/ / / ____/___ ____ ___ ____ / / __/ / ______ / / / __ \/ __ `__ \/ __ \ / /_/ / /___ /_____/ / /___/ /_/ / / / / / / /_/ / \____/_____/ \____/\____/_/ /_/ /_/\____/ http://www.gl-como.it My public gpg key: http://minsky.surfnet.nl:11371/pks/lookup?op=get&search=0xC67DC12DC4361693 |