make error - hobbit 4.2.0
list K.
Hello again, Thanks for the ideas last week :) i have already setup hobbit ver 4.1.2p2 with success. Now i want to upgrade to ver. 4.2.0 and get following error: /usr/include/sys/socket.h:205: error: conflicting types for 'socklen_t' /home/hobbit/hobbit-4.2.0/include/../lib/osdefs.h:21: error: previous declaration of 'socklen_t' was here /usr/include/sys/socket.h:535: error: static declaration of 'sendfile' follows non-static declaration /usr/include/sys/socket.h:506: error: previous declaration of 'sendfile' was here /usr/include/sys/socket.h:536: error: static declaration of 'sendpath' follows non-static declaration /usr/include/sys/socket.h:508: error: previous declaration of 'sendpath' was here gmake[1]: *** [acklog.o] Error 1 gmake[1]: Leaving directory `/home/hobbit/hobbit-4.2.0/lib' gmake: *** [lib-build] Error 2 The error differs a little bit from description in mail http:// www.hswn.dk/hobbiton/2006/06/msg00558.html so i am not sure what to do next.... Do you have any ideas? PS: I am using HP-UX 11.x/Itanium Thanks a lot Karina
list K.
Hello All, want to ask if really nobody have any ideas whats wrong with the compile-scripts for 4.2.0? thanks again Karina
▸
On 05.09.2006, at 20:06, K. wrote:
Hello again, Thanks for the ideas last week :) i have already setup hobbit ver 4.1.2p2 with success. Now i want to upgrade to ver. 4.2.0 and get following error: /usr/include/sys/socket.h:205: error: conflicting types for 'socklen_t' /home/hobbit/hobbit-4.2.0/include/../lib/osdefs.h:21: error: previous declaration of 'socklen_t' was here /usr/include/sys/socket.h:535: error: static declaration of 'sendfile' follows non-static declaration /usr/include/sys/socket.h:506: error: previous declaration of 'sendfile' was here /usr/include/sys/socket.h:536: error: static declaration of 'sendpath' follows non-static declaration /usr/include/sys/socket.h:508: error: previous declaration of 'sendpath' was here gmake[1]: *** [acklog.o] Error 1 gmake[1]: Leaving directory `/home/hobbit/hobbit-4.2.0/lib' gmake: *** [lib-build] Error 2 The error differs a little bit from description in mail http:// www.hswn.dk/hobbiton/2006/06/msg00558.html so i am not sure what to do next.... Do you have any ideas? PS: I am using HP-UX 11.x/Itanium Thanks a lot Karina
list Henrik Størner
I don't think the problem is with the hobbit build scripts. This looks like a problem with your compiler tools. I know there are others who have successfully built Hobbit on an HP-UX 11.11 platform. Regards, henrik
▸
On Wed, Sep 06, 2006 at 08:06:58PM +0200, K. wrote:Hello All, want to ask if really nobody have any ideas whats wrong with the compile-scripts for 4.2.0? thanks again Karina On 05.09.2006, at 20:06, K. wrote:Hello again, Thanks for the ideas last week :) i have already setup hobbit ver 4.1.2p2 with success. Now i want to upgrade to ver. 4.2.0 and get following error: /usr/include/sys/socket.h:205: error: conflicting types for >'socklen_t' /home/hobbit/hobbit-4.2.0/include/../lib/osdefs.h:21: error: >previous declaration of 'socklen_t' was here /usr/include/sys/socket.h:535: error: static declaration of >'sendfile' follows non-static declaration /usr/include/sys/socket.h:506: error: previous declaration of >'sendfile' was here /usr/include/sys/socket.h:536: error: static declaration of >'sendpath' follows non-static declaration /usr/include/sys/socket.h:508: error: previous declaration of >'sendpath' was here gmake[1]: *** [acklog.o] Error 1 gmake[1]: Leaving directory `/home/hobbit/hobbit-4.2.0/lib' gmake: *** [lib-build] Error 2 The error differs a little bit from description in mail http:// >www.hswn.dk/hobbiton/2006/06/msg00558.html so i am not sure what to do next.... Do you have any ideas? PS: I am using HP-UX 11.x/Itanium Thanks a lot Karina
--
Henrik Storner
list K.
hello, thanks for reply. i am using the latest versions of compiler tools; i have compiled a lot of things on this machine without problems. so i can assume that the line:
/usr/include/sys/socket.h:205: error: conflicting types for 'socklen_t'
is not a compiler-problem.... bg Karina
▸
On 06.09.2006, at 21:38, Henrik Stoerner wrote:
I don't think the problem is with the hobbit build scripts. This looks like a problem with your compiler tools. I know there are others who have successfully built Hobbit on an HP-UX 11.11 platform. Regards, henrik On Wed, Sep 06, 2006 at 08:06:58PM +0200, K. wrote:Hello All, want to ask if really nobody have any ideas whats wrong with the compile-scripts for 4.2.0? thanks again Karina On 05.09.2006, at 20:06, K. wrote:Hello again, Thanks for the ideas last week :) i have already setup hobbit ver 4.1.2p2 with success. Now i want to upgrade to ver. 4.2.0 and get following error: /usr/include/sys/socket.h:205: error: conflicting types for 'socklen_t' /home/hobbit/hobbit-4.2.0/include/../lib/osdefs.h:21: error: previous declaration of 'socklen_t' was here /usr/include/sys/socket.h:535: error: static declaration of 'sendfile' follows non-static declaration /usr/include/sys/socket.h:506: error: previous declaration of 'sendfile' was here /usr/include/sys/socket.h:536: error: static declaration of 'sendpath' follows non-static declaration /usr/include/sys/socket.h:508: error: previous declaration of 'sendpath' was here gmake[1]: *** [acklog.o] Error 1 gmake[1]: Leaving directory `/home/hobbit/hobbit-4.2.0/lib' gmake: *** [lib-build] Error 2 The error differs a little bit from description in mail http:// www.hswn.dk/hobbiton/2006/06/msg00558.html so i am not sure what to do next.... Do you have any ideas? PS: I am using HP-UX 11.x/Itanium Thanks a lot Karina-- Henrik Storner
list Greg L Hubbard
I think I remember this from AIX as well, you have to go somewhere and rename something. You might search for "socklen_t" on the Hobbit archives and see what you come up with. Also, some of the vendor compiler suites work differently from gcc -- are you using gcc? GLH
▸
-----Original Message-----
From: K. [mailto:user-d99e09ab9847@xymon.invalid] Sent: Wednesday, September 06, 2006 3:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] make error - hobbit 4.2.0
hello,
thanks for reply. i am using the latest versions of compiler tools; i
have compiled a lot of things on this machine without problems.
so i can assume that the line:
/usr/include/sys/socket.h:205: error: conflicting types for 'socklen_t'
is not a compiler-problem.... bg Karina On 06.09.2006, at 21:38, Henrik Stoerner wrote:
I don't think the problem is with the hobbit build scripts. This looks
like a problem with your compiler tools. I know there are others who have successfully built Hobbit on an HP-UX
11.11 platform. Regards, henrik On Wed, Sep 06, 2006 at 08:06:58PM +0200, K. wrote:Hello All, want to ask if really nobody have any ideas whats wrong with the compile-scripts for 4.2.0? thanks again Karina On 05.09.2006, at 20:06, K. wrote:Hello again, Thanks for the ideas last week :) i have already setup hobbit ver 4.1.2p2 with success. Now i want to upgrade to ver. 4.2.0 and get following error: /usr/include/sys/socket.h:205: error: conflicting types for 'socklen_t' /home/hobbit/hobbit-4.2.0/include/../lib/osdefs.h:21: error: previous declaration of 'socklen_t' was here /usr/include/sys/socket.h:535: error: static declaration of 'sendfile' follows non-static declaration /usr/include/sys/socket.h:506: error: previous declaration of 'sendfile' was here /usr/include/sys/socket.h:536: error: static declaration of 'sendpath' follows non-static declaration /usr/include/sys/socket.h:508: error: previous declaration of 'sendpath' was here gmake[1]: *** [acklog.o] Error 1 gmake[1]: Leaving directory `/home/hobbit/hobbit-4.2.0/lib' gmake: *** [lib-build] Error 2 The error differs a little bit from description in mail http:// www.hswn.dk/hobbiton/2006/06/msg00558.html so i am not sure what to do next.... Do you have any ideas? PS: I am using HP-UX 11.x/Itanium Thanks a lot Karina-- Henrik Storner
list Henrik Størner
▸
On Wed, Sep 06, 2006 at 10:13:31PM +0200, K. wrote:
hello, thanks for reply. i am using the latest versions of compiler tools; i have compiled a lot of things on this machine without problems. so i can assume that the line:/usr/include/sys/socket.h:205: error: conflicting types for 'socklen_t'is not a compiler-problem....
No, this is an error in the configure script. Check the include/config.h file if there is a line with #define HAVE_SOCKLEN_T 1 If not add it - and if there is another line with HAVE_SOCKLEN_T just delete it. Regards, Henrik
list K.
hi, in /hobbit-4.2.0/include there is no config.h (only in the old version) have downloaded 4.2.0 again - nada. i have grep(ed) for *SOCKLEN_T without success :( bg Karina
▸
On 06.09.2006, at 22:49, Henrik Stoerner wrote:
On Wed, Sep 06, 2006 at 10:13:31PM +0200, K. wrote:hello, thanks for reply. i am using the latest versions of compiler tools; i have compiled a lot of things on this machine without problems. so i can assume that the line:/usr/include/sys/socket.h:205: error: conflicting types for 'socklen_t'is not a compiler-problem....
No, this is an error in the configure script. Check the include/ config.h
▸
file if there is a line with
#define HAVE_SOCKLEN_T 1
If not add it - and if there is another line with HAVE_SOCKLEN_T just
delete it.
Regards,
Henrik
list Henrik Størner
▸
On Wed, Sep 06, 2006 at 11:07:24PM +0200, K. wrote:
in /hobbit-4.2.0/include there is no config.h (only in the old version) have downloaded 4.2.0 again - nada.
It is auto-generated as soon as you run "make". henrik at osiris:~/hobbit-4.2.0$ make MAKE="make" CC="gcc" CFLAGS="-g -Wall -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -DDO_ORCA -I. -I`pwd`/include -I/usr/include" LDFLAGS="""" `pwd`/build/genconfig.sh Checking for socklen_t Checking for snprintf Checking for vsnprintf Checking for rpc/rpcent.h Checking for sys/select.h Checking for u_int32_t typedef Checking for PATH_MAX definition Checking for SHUT_RD/WR/RDWR definitions config.h created Henrik
list K.
ok, have tried it again - edited config.h
same error, but without "conflicting types for 'socklen_t'
In file included from /home/hobbit/hobbit-4.2.0/include/../lib/ ipaccess.h:15,
from /home/hobbit/hobbit-4.2.0/include/libbbgen.h:58,
from acklog.c:28:
▸
/usr/include/sys/socket.h:535: error: static declaration of 'sendfile' follows non-static declaration
/usr/include/sys/socket.h:506: error: previous declaration of 'sendfile' was here
/usr/include/sys/socket.h:536: error: static declaration of 'sendpath' follows non-static declaration
/usr/include/sys/socket.h:508: error: previous declaration of 'sendpath' was here
gmake[1]: *** [acklog.o] Error 1
gmake[1]: Leaving directory `/home/hobbit/hobbit-4.2.0/lib'
gmake: *** [lib-build] Error 2
Karina
list Henrik Størner
▸
On Wed, Sep 06, 2006 at 11:38:11PM +0200, K. wrote:
ok, have tried it again - edited config.h
same error, but without "conflicting types for 'socklen_t'
In file included from /home/hobbit/hobbit-4.2.0/include/../lib/ ipaccess.h:15,
from /home/hobbit/hobbit-4.2.0/include/libbbgen.h:58,
from acklog.c:28:
/usr/include/sys/socket.h:535: error: static declaration of 'sendfile' follows non-static declaration
/usr/include/sys/socket.h:506: error: previous declaration of 'sendfile' was hereSo your system-wide /usr/include/sys/socket.h file disagrees with itself about how to declare the "sendfile" routine. It's declared at line 506 and line 535 in the socket.h file (which is not part of Hobbit). I don't know enough about HP-UX to figure out why it does that. But it doesn't seem like a Hobbit problem, since Hobbit just uses a standard header file (socket.h). Does any of the HP-UX knowledgable people around here have an idea what's wrong? Regards, Henrik