[hobbit] problem compiling HP-UX 11.11 using gcc

Scheblein, Adam adam.scheblein at marquette.edu
Tue Feb 7 22:43:17 CET 2006


I got the gcc depot from hp (goto http://www.hp.com/go/gcc )and the
gmake from the University of Utah Porting and Archive Center ( goto
http://hpux.cs.utah.edu/ )installed them on an RP-2480 and then as long
as I do the following it works:


Change Line 9 of build/Makefile.HP-UX to read (this way it uses gcc):
CC=/usr/local/bin/gcc

Change the file lib/osdefs.h to have the following (because my HP-UX
complained that socklen_t and snprintf were already defined):
Line 21:
typedef int hobbit_socklen_t;

Line 25:
extern int hobbit_snprintf(char *str, size_t size, const char *format,
...);

then everything worked for me.

Also -- reply directly to me (not to the list) with the info I need for
the ./configure (run the ./configure and just give me the output)
because the config files are generated by that input.  Then I will set
you up a ftp so that you can get the pre-compiled server/client pieces
you need.

Adam

> -----Original Message-----
> From: Camp, Neil D. (ManTech) CTR [mailto:neil.camp at deca.mil]
> Sent: Tuesday, February 07, 2006 3:01 PM
> To: hobbit at hswn.dk
> Subject: RE: [hobbit] problem compiling HP-UX 11.11 using gcc
> 
> I am compiling on an RP-3440.
> A tarball would be great! I would like to know how you got yours to
work
> though for future reference when new releases come out. Sometimes I
wish
> I kept up programming skills.
> 
> --neil
> 
> ManTech
> DeCA Operations Systems Administrator
> (804) 734-8353
> neil.camp at deca.mil
> 
> 
> -----Original Message-----
> From: Scheblein, Adam [mailto:adam.scheblein at marquette.edu]
> Sent: Tuesday, February 07, 2006 3:56 PM
> To: hobbit at hswn.dk
> Subject: RE: [hobbit] problem compiling HP-UX 11.11 using gcc
> 
> I just re-compiled one of our system's client package today.  What
type
> of server do you have (EX rp84xx rx76xx)  I may be able to provide you
> with some sort of a depot or at least a pre-compiled one that you can
do
> a "make install" with
> 
> Adam
> 
> > -----Original Message-----
> > From: Camp, Neil D. (ManTech) CTR [mailto:neil.camp at deca.mil]
> > Sent: Tuesday, February 07, 2006 2:47 PM
> > To: hobbit at hswn.dk
> > Subject: [hobbit] problem compiling HP-UX 11.11 using gcc
> >
> > Sorry, done.
> >
> > Has anyone had luck with HP-UX. I have searched and searched and
> > searched. It seems like several people have had luck, but I keep
> getting
> > compilation errors. Here is my latest using gcc
> >
> > gmake[1]: Entering directory `/home/campnd/hobbit-4.1.2p1/bbnet'
> > gcc -static -DHPUX -D_REENTRANT -DHPUX -I.
> > -I/home/campnd/hobbit-4.1.2p1/include -I/usr/local/pcre-6.4/include
> > -DBBGEN_SSL  -I/usr/include   -c -o bbtest-net.o bbtest-net.c
> > bbtest-net.c: In function 'send_rpcinfo_results':
> > bbtest-net.c:1795: warning: assignment makes pointer from integer
> > without a cast
> > bbtest-net.c:1802: error: dereferencing pointer to incomplete type
> > bbtest-net.c:1814: error: dereferencing pointer to incomplete type
> > bbtest-net.c:1819: error: dereferencing pointer to incomplete type
> > bbtest-net.c: In function 'main':
> > bbtest-net.c:2262: warning: pointer targets in assignment differ in
> > signedness
> > gmake[1]: *** [bbtest-net.o] Error 1
> > gmake[1]: Leaving directory `/home/campnd/hobbit-4.1.2p1/bbnet'
> > gmake: *** [bbnet-build] Error 2
> >
> > --neil
> >
> > ManTech
> > DeCA Operations Systems Administrator
> > (804) 734-8353
> > neil.camp at deca.mil
> >
> >
> > -----Original Message-----
> > From: Thomas Krieger [mailto:tom at tom-krieger.de]
> > Sent: Tuesday, February 07, 2006 1:07 PM
> > To: hobbit at hswn.dk
> > Subject: Re: [hobbit] problem compiling HP-UX 11.11 using aCC
> >
> > Can you please stop requesting reading confirmations for your
emails.
> > It's
> > anoying.
> >
> > Bye
> >
> >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe at hswn.dk
> >
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 




More information about the Xymon mailing list