<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">you may have a look at </font>
<br>
<br><font size=2 face="sans-serif">http://devrsrc1.external.hp.com/STKS/impactlist.html</font>
<br>
<br><font size=2 face="sans-serif">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...</font>
<br>
<br><font size=2 face="sans-serif">best regards</font>
<br><font size=2 face="sans-serif">Klaus</font>
<br><font size=2 face="sans-serif">-kpb></font>
<br>
<br>
<br><font size=2><tt>"Ebeling, Lars" <lars.ebeling@duni.se>
schrieb am 15.02.2005 09:15:01:<br>
<br>
> <br>
> Hi again,<br>
> <br>
> I removed the line and the make continuede until next problem:<br>
> cc -g -O -D_REENTRANT -DHPUX -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I.<br>
> -I/home/hob<br>
> bit/hobbit/include -c -o hobbitd_worker.o hobbitd_worker.c<br>
> <br>
> hobbitd_worker.c:23:24: sys/select.h: No such file or directory<br>
> <br>
> makeÄ1Å: *** Ähobbitd_worker.oÅ Error 1<br>
> <br>
> makeÄ1Å: Leaving directory é/home/hobbit/hobbit-4.0-RC2/hobbitd'<br>
> <br>
> make: *** Ähobbitd-buildÅ Error 2<br>
> <br>
> <br>
> This I solved by "man select" and found out that it was
in sys/time.h<br>
> Removed the lines in 2 files.<br>
> <br>
> So the make continued until this:<br>
> <br>
> cc -o hobbitd_history hobbitd_history.o   hobbitd_worker.o ../lib/libbbgen.a<br>
> <br>
> /usr/ccs/bin/ld: Unsatisfied symbols:<br>
> <br>
>    setlinebuf (code)<br>
> <br>
> collect2: ld returned 1 exit status<br>
> <br>
> makeÄ1Å: *** Ähobbitd_historyÅ Error 1<br>
> <br>
> makeÄ1Å: Leaving directory é/home/hobbit/hobbit-4.0-RC2/hobbitd'<br>
> <br>
> make: *** Ähobbitd-buildÅ Error 2<br>
> <br>
> <br>
> Now I'm stuck here.<br>
> <br>
> I'm installing on HP-UX 11.11<br>
> <br>
> Regards from Halmstad<br>
> Lars<br>
>                    
                     
  <br>
> -----Ursprungligt meddelande-----<br>
> Från: Henrik Stoerner [mailto:henrik@hswn.dk] <br>
> Skickat: den 15 februari 2005 08:13<br>
> Till: hobbit@hswn.dk<br>
> Ämne: Re: [hobbit] Another problem installing on HP-UX<br>
> <br>
> <br>
> On Tue, Feb 15, 2005 at 05:27:10AM +0100, Ebeling, Lars wrote:<br>
> > Hi all,<br>
> > <br>
> > The fact is that hstrerror doesnt exist in HP-UX. I searched
the web <br>
> > for "+hstrerror +hpux" and found a lot about it.<br>
> > <br>
> > Hasn't anyone installed hobbit on HP-UX 11.11 ?<br>
> > <br>
> > Is this the end?<br>
> <br>
> Oh no, we'll work around that - no problem.<br>
> <br>
> A quick fix is to simply remove the use of it - it is only used in
a debug<br>
> output message. If you edit the hobbit-4.0-RC2/bbnet/dns.c file, you'll
find<br>
> "hstrerror" mentioned on line 147. Just delete that line
and it should<br>
> compile OK.<br>
> <br>
> <br>
> Regards,<br>
> Henrik<br>
> <br>
> To unsubscribe from the hobbit list, send an e-mail to<br>
> hobbit-unsubscribe@hswn.dk<br>
> <br>
> <br>
> To unsubscribe from the hobbit list, send an e-mail to<br>
> hobbit-unsubscribe@hswn.dk<br>
> <br>
> <br>
</tt></font>