Re: [Flightgear-devel] problem compiling fgcom on ubuntu 8.10

2009-02-02 Thread francesco
Csaba Halász ha scritto: > But it will break older versions. Also, an #ifndef check won't work if > it isn't a macro. I don't know if any platforms (mac, windows, > something else) would be affected. > A better way would be something like > #ifdef __GNUC__ > #define __USE_GNU 1 > #endif > > before

Re: [Flightgear-devel] problem compiling fgcom on ubuntu 8.10

2009-02-02 Thread Holger Wirtz
Francesco, Csaba Halász wrote: > On Mon, Feb 2, 2009 at 10:53 AM, francesco > wrote: >> I think I found a simple solution to a simple problem: >> >> there are two rows in the iaxclient/lib/libiax2/src/iax.c file >> >> which contain: hp->h_addr >> >> tyhis has to be changed in hp->h_addr_list

Re: [Flightgear-devel] problem compiling fgcom on ubuntu 8.10

2009-02-02 Thread Csaba Halász
On Mon, Feb 2, 2009 at 10:53 AM, francesco wrote: > I think I found a simple solution to a simple problem: > > there are two rows in the iaxclient/lib/libiax2/src/iax.c file > > which contain: hp->h_addr > > tyhis has to be changed in hp->h_addr_list[0] > > this will allow compilation for new

Re: [Flightgear-devel] problem compiling fgcom on ubuntu 8.10

2009-02-02 Thread francesco
I think I found a simple solution to a simple problem: there are two rows in the iaxclient/lib/libiax2/src/iax.c file which contain: hp->h_addr tyhis has to be changed in hp->h_addr_list[0] this will allow compilation for newer netdb.h version too. can somebody update the svn ? -- Bris

Re: [Flightgear-devel] problem compiling fgcom on ubuntu 8.10

2009-02-02 Thread francesco
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/ia

Re: [Flightgear-devel] problem compiling fgcom on ubuntu 8.10

2009-02-02 Thread Holger Wirtz
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 -Ilibsp

[Flightgear-devel] problem compiling fgcom on ubuntu 8.10

2009-02-01 Thread francesco
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