[Freeciv-Dev] (PR#2523) Error while compiling
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
[vasc@xxxxxxxxxxxxxx - Tue Dec 10 01:03:32 2002]:
> On Mon, 9 Dec 2002, Jason Short via RT wrote:
>
> > On Mon, 2002-12-09 at 03:07, Bernd Korz via RT wrote:
> > >
> > > depfile='.deps/civserver.Po' tmpdepfile='.deps/civserver.TPo' \
> > > depmode=none /bin/sh ../depcomp \
> > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -I../intl
> -
> > > g -O2 -Wall -Wno-multichar -c `test -f 'civserver.c' || echo './
> > > '`civserver.c
> > > gcc -g -O2 -Wall -Wno-multichar -x none -o civserver
> civserver.o ../
> > > common/libcivcommon.a ../ai/libcivai.a ./libcivserver.a
> ../common/
> > > libcivcommon.a ../ai/libcivai.a ./libcivserver.a -lsocket -lz
> > > ./common/libcivcommon.a(netintf.o): In function
> `net_lookup_service':
> > > /boot/home/Entwicklung/Sourcecodes/freeCIV/freeciv/common/
> > > netintf.c:184: undefined reference to `__inet_addr'
> > > /boot/home/Entwicklung/Sourcecodes/freeCIV/freeciv/common/
> > > netintf.c:188: undefined reference to `gethostbyname'
> > > /libcivserver.a(sernet.o): In function `server_accept_connection':
> > >
> /boot/home/Entwicklung/Sourcecodes/freeCIV/freeciv/server/sernet.c:707:
> > > undefined reference to `gethostbyaddr'
> > >
> /boot/home/Entwicklung/Sourcecodes/freeCIV/freeciv/server/sernet.c:736:
> > > undefined reference to `__inet_ntoa'
> > > collect2: ld returned 1 exit status
> > > make[2]: *** [civserver] Error 1
> > > make[2]: Leaving directory
> `/boot/home/Entwicklung/Sourcecodes/freeCIV/
> > > freeciv/server'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory
> `/boot/home/Entwicklung/Sourcecodes/freeCIV/
> > > freeciv'
> > > make: *** [all] Error 2
> > > $
Try adding '-lbind' to your $LIBS for gethostbyname and friends.
Please report if that fixes it or not.
-vasc
- [Freeciv-Dev] (PR#2523) Error while compiling,
Vasco Alexandre da Silva Costa via RT <=
- Message not available
- [Freeciv-Dev] Re: (PR#2523) Error while compiling, Jason Short via RT, 2002/12/11
- Message not available
- [Freeciv-Dev] Re: (PR#2523) Error while compiling, Jason Short via RT, 2002/12/11
- Message not available
- [Freeciv-Dev] (PR#2546) Everything compiles now BUT, Bernd Korz via RT, 2002/12/11
- Message not available
- [Freeciv-Dev] Re: (PR#2546) Everything compiles now BUT, Rafał Bursig via RT, 2002/12/11
- Message not available
- [Freeciv-Dev] Re: (PR#2546) Everything compiles now BUT, Bernd Korz via RT, 2002/12/11
- Message not available
- [Freeciv-Dev] Re: (PR#2546) Everything compiles now BUT, Rafał Bursig via RT, 2002/12/11
- Message not available
- [Freeciv-Dev] Re: (PR#2546) Everything compiles now BUT, Jason Short via RT, 2002/12/11
- Message not available
- [Freeciv-Dev] Re: (PR#2546) Everything compiles now BUT, Raimar Falke via RT, 2002/12/11
- Message not available
- [Freeciv-Dev] Re: (PR#2546) Everything compiles now BUT, Bernd Korz via RT, 2002/12/11
- Message not available
- [Freeciv-Dev] Re: (PR#2546) Everything compiles now BUT, Rafał Bursig via RT, 2002/12/11
|
|