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