compilation fails on Cobalt RaQ2

J. Lasser jon at lasser.org
Mon Apr 8 10:47:02 EST 2002


Configure seems to work fine with no options passed, but a make attempt
fails in clientname.c:

gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c clientname.c -o clientname.o
clientname.c: In function `client_addr':
clientname.c:55: warning: implicit declaration of function `getnameinfo'
clientname.c:56: `NI_NUMERICHOST' undeclared (first use this function)
clientname.c:56: (Each undeclared identifier is reported only once
clientname.c:56: for each function it appears in.)
clientname.c: In function `lookup_name':
clientname.c:164: `NI_NAMEREQD' undeclared (first use this function)
clientname.c:164: `NI_NUMERICSERV' undeclared (first use this function)
clientname.c:169: warning: implicit declaration of function `gai_strerror'
clientname.c:169: warning: format argument is not a pointer (arg 4)
clientname.c: In function `check_name':
clientname.c:247: warning: format argument is not a pointer (arg 4)
make: *** [clientname.o] Error 1

I'm happy to help debug/test this, but ISTM that somebody must have made
this work on the MIPS-based Cobalt boxes before...

Please CC me on any list traffic regarding this, as I'm not subscribed
to the list.

TIA,
Jon Lasser
-- 
Jon Lasser	
Home: jon at lasser.org		|    Work:jon at cluestickconsulting.com
http://www.tux.org/~lasser/     |    http://www.cluestickconsulting.com
   Buy my book, _Think_Unix_! http://www.tux.org/~lasser/think-unix/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 350 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20020408/ac835d2d/attachment.bin


More information about the rsync mailing list