Error compiling kaffe on Solaris 2.6
Samarjeet S Tomar
tomar at cse.psu.edu
Thu Jun 17 17:06:51 PDT 1999
I am getting the following error when trying to compile kaffe 1.0b4 on
Solaris 2.6 :
gcc -DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include
-DKVER=\"1.0b4\
" -I../../../config -I../../../include -I/usr/local/include -g -O2 -Wall
-Wstric
t-prototypes -c -fPIC -DPIC InetAddressImpl.c -o InetAddressImpl.lo
InetAddressImpl.c: In function
`java_net_InetAddressImpl_getLocalHostName':
InetAddressImpl.c:36: warning: implicit declaration of function
`gethostname'
InetAddressImpl.c: In function
`java_net_InetAddressImpl_makeAnyLocalAddress':
InetAddressImpl.c:49: `INADDR_ANY' undeclared (first use this function)
InetAddressImpl.c:49: (Each undeclared identifier is reported only once
InetAddressImpl.c:49: for each function it appears in.)
InetAddressImpl.c: In function `java_net_InetAddressImpl_lookupHostAddr':
InetAddressImpl.c:69: warning: implicit declaration of function `ntohl'
InetAddressImpl.c:69: dereferencing pointer to incomplete type
InetAddressImpl.c: In function
`java_net_InetAddressImpl_lookupAllHostAddr':
InetAddressImpl.c:92: dereferencing pointer to incomplete type
InetAddressImpl.c:100: dereferencing pointer to incomplete type
InetAddressImpl.c: In function `java_net_InetAddressImpl_getHostByAddr':
InetAddressImpl.c:115: warning: implicit declaration of function `htonl'
InetAddressImpl.c:121: dereferencing pointer to incomplete type
gmake[3]: *** [InetAddressImpl.lo] Error 1
gmake[3]: Leaving directory
`/home/krishna/cse597/samar1/kaffe-1.0b4/libraries/c
lib/net'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/home/krishna/cse597/samar1/kaffe-1.0b4/libraries/c
lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/krishna/cse597/samar1/kaffe-1.0b4/libraries'
gmake: *** [all-recursive] Error 1
Any idea how I can compile it sucessfully ?
Thanks,
-Samarjeet.
More information about the kaffe
mailing list