Antwort: SV: [hobbit]Nextr problem installing on HP-UX
Klaus-Peter.Boden at asknet.de
Klaus-Peter.Boden at asknet.de
Tue Feb 15 09:30:25 CET 2005
Hi,
you may have a look at
http://devrsrc1.external.hp.com/STKS/impactlist.html
This is a document for transition between c source code from solaris to
hp-ux. It seems that the function setlinebuf is not available under HP-UX.
In this document HP describes what alternatives to use...
best regards
Klaus
-kpb>
"Ebeling, Lars" <lars.ebeling at duni.se> schrieb am 15.02.2005 09:15:01:
>
> Hi again,
>
> I removed the line and the make continuede until next problem:
> cc -g -O -D_REENTRANT -DHPUX -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.
> -I/home/hob
> bit/hobbit/include -c -o hobbitd_worker.o hobbitd_worker.c
>
> hobbitd_worker.c:23:24: sys/select.h: No such file or directory
>
> makeÄ1Å: *** Ähobbitd_worker.oÅ Error 1
>
> makeÄ1Å: Leaving directory é/home/hobbit/hobbit-4.0-RC2/hobbitd'
>
> make: *** Ähobbitd-buildÅ Error 2
>
>
> This I solved by "man select" and found out that it was in sys/time.h
> Removed the lines in 2 files.
>
> So the make continued until this:
>
> cc -o hobbitd_history hobbitd_history.o hobbitd_worker.o
../lib/libbbgen.a
>
> /usr/ccs/bin/ld: Unsatisfied symbols:
>
> setlinebuf (code)
>
> collect2: ld returned 1 exit status
>
> makeÄ1Å: *** Ähobbitd_historyÅ Error 1
>
> makeÄ1Å: Leaving directory é/home/hobbit/hobbit-4.0-RC2/hobbitd'
>
> make: *** Ähobbitd-buildÅ Error 2
>
>
> Now I'm stuck here.
>
> I'm installing on HP-UX 11.11
>
> Regards from Halmstad
> Lars
>
> -----Ursprungligt meddelande-----
> Från: Henrik Stoerner [mailto:henrik at hswn.dk]
> Skickat: den 15 februari 2005 08:13
> Till: hobbit at hswn.dk
> Ämne: Re: [hobbit] Another problem installing on HP-UX
>
>
> On Tue, Feb 15, 2005 at 05:27:10AM +0100, Ebeling, Lars wrote:
> > Hi all,
> >
> > The fact is that hstrerror doesnt exist in HP-UX. I searched the web
> > for "+hstrerror +hpux" and found a lot about it.
> >
> > Hasn't anyone installed hobbit on HP-UX 11.11 ?
> >
> > Is this the end?
>
> Oh no, we'll work around that - no problem.
>
> A quick fix is to simply remove the use of it - it is only used in a
debug
> output message. If you edit the hobbit-4.0-RC2/bbnet/dns.c file, you'll
find
> "hstrerror" mentioned on line 147. Just delete that line and it should
> compile OK.
>
>
> Regards,
> Henrik
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20050215/327e71ed/attachment.html>
More information about the Xymon
mailing list