SV: [hobbit]Nextr problem installing on HP-UX
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
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
On Tue, Feb 15, 2005 at 09:30:25AM +0100, Klaus-Peter.Boden at asknet.de wrote:
Hi,
you may have a look at
Interesting - there gotta be quite a few Unix apps that need tweaking to compile on HP-UX.
I looked around a bit and also found this document http://devrsrc1.external.hp.com/STKS/impactlist.html that deals with incompatibilities betwen HP-UX and the Linux glibc API. It might be worthwhile to try linking with the libhplx library.
Lars, could you check if there is a libhplx<something> on your system, and if there is then add "-lhplx" to the NETLIBS setting ?
Regards, Henrik
On Tue, Feb 15, 2005 at 10:07:06AM +0100, Henrik Stoerner wrote:
Lars, could you check if there is a libhplx<something> on your system, and if there is then add "-lhplx" to the NETLIBS setting ?
Never mind - I think we can work around those issues at the source-code level. I've sent Lars a patch to try.
Henrik
participants (3)
-
henrik@hswn.dk
-
Klaus-Peter.Boden@asknet.de
-
lars.ebeling@duni.se