
|
[openbeosnetteam]
||
[Date Prev]
[04-2004 Date Index]
[Date Next]
||
[Thread Prev]
[04-2004 Thread Index]
[Thread Next]
[openbeosnetteam] Build issue
- From: "Brennan Cleveland" <warriorspot@xxxxxxxxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Mon, 05 Apr 2004 20:26:00 +0000
Hi,
Im trying to do some work on route, but I have now noticed that since
updating via CVS, I cant build libnet.so. It chokes on gethostnamadr.c,
it looks like there is a header missing somewhere? Here is a (big) list
of the errors it spits out during compilation:
Cc objects/x86.R1/kits/network/libnet/gethostnamadr.o
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:116:
warning: no previous prototype for `_gethtbyname2'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c: In
function `_gethtbyname2':
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:120:
storage class specified for parameter `AskedForGot'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:120:
parameter `AskedForGot' is initialized
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:132:
storage class specified for parameter `querybuf'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:137:
storage class specified for parameter `align'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:139:
warning: type defaults to `int' in declaration of `querybuf'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:139:
parse error before `*'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:139:
storage class specified for parameter `getanswer'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:143:
storage class specified for parameter `h_errno'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:147:
warning: parameter names (without types) in function declaration
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:147:
redeclaration of `_hokchar'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:118:
`_hokchar' previously declared here
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:147:
parse error before `const'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:116:
parm types given both in parmlist and separately
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:115:
parameter name omitted
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:115:
parameter name omitted
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:158:
`p' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:158:
(Each undeclared identifier is reported only once
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:158:
for each function it appears in.)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:169:
warning: return makes pointer from integer without a cast
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c: At top
level:
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:173:
warning: type defaults to `int' in declaration of `querybuf'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:173:
parse error before `*'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c: In
function `getanswer':
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:190:
`qname' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:192:
`answer' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:192:
`anslen' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:193:
`qtype' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:204:
`_hokchar' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:206:
warning: unreachable code at beginning of switch statement
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:220:
`h_errno' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:303:
`_hokchar' used prior to declaration
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:303:
warning: implicit declaration of function `_hokchar'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:345:
`_hokchar' used prior to declaration
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:398:
`align' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:178:
warning: `hp' might be used uninitialized in this function
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:179:
warning: `cp' might be used uninitialized in this function
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:181:
warning: `eom' might be used uninitialized in this function
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:188:
warning: `name_ok' might be used uninitialized in this function
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c: In
function `gethostbyname2':
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:541:
`querybuf' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:541:
parse error before `buf'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:563:
`h_errno' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:662:
`buf' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c: In
function `gethostbyaddr':
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:686:
`querybuf' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:686:
parse error before `buf'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:722:
`h_errno' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:767:
`buf' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c: In
function `_gethtent':
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:832:
`h_errno' undeclared (first use in this function)
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:881:
warning: comparison between signed and unsigned
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c: At top
level:
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:937:
redefinition of `_gethtbyname2'
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:116:
`_gethtbyname2' previously defined here
/boot/home/obos-current/current/src/kits/network/libnet/gethostnamadr.c:1161:
warning: no previous prototype for `gethostent'
I cant seem to find which header these things are define in... can someone help
me out?
Thanks,
Brennan
|

|