Another problem installing on HP-UX
list Lars Ebeling
Hi all, now when I got this pcre installed configure works. But make stops withy errors. The getrpcbyname thing I solved with adding -lnsl to NETLIBS in Makefile.HPUX. But searching around after hstrerror I found that probably doesn't exist in HP-UX. What to do? /Lars Hobbithobbyist cc -g -O -D_REENTRANT -DHPUX -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/home/bb/ hobbit/include -o bbtest-net bbtest-net.o contest.o httptest.o httpresult.o ldap test.o dns.o dns2.o ../lib/libbbgen.a libcares.a /usr/ccs/bin/ld: Unsatisfied symbols: getrpcbyname (code) hstrerror (code) collect2: ld returned 1 exit status makeÄ1Å: *** Äbbtest-netÅ Error 1 makeÄ1Å: Leaving directory é/home/bb/hobbit-4.0-RC2/bbnet' make: *** Äbbnet-buildÅ Error 2 I
list Henrik Størner
▸
On Mon, Feb 14, 2005 at 08:19:27PM +0100, Ebeling, Lars wrote:
Hi all, now when I got this pcre installed configure works. But make stops withy errors. The getrpcbyname thing I solved with adding -lnsl to NETLIBS in Makefile.HPUX. But searching around after hstrerror I found that probably doesn't exist in HP-UX. What to do?
"hstrerror" is an error-handling routine from the DNS resolver library. Try a "man hstrerror" or "man gethostbyname" and see if it mentions some specific libraries that are needed. Adding "-lresolv" to the NETLIBS setting in Makefile.HP-UX might be the way forward. Regards, Henrik
list Lars Ebeling
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? The getrpcbyname was solved by -lnsl. Regards Lars -----Ursprungligt meddelande----- Från: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Skickat: den 14 februari 2005 22:44 Till: user-ae9b8668bcde@xymon.invalid Ämne: Re: [hobbit] Another problem installing on HP-UX
▸
On Mon, Feb 14, 2005 at 08:19:27PM +0100, Ebeling, Lars wrote:Hi all, now when I got this pcre installed configure works. But make stops withy errors. The getrpcbyname thing I solved with adding -lnsl to NETLIBS in Makefile.HPUX. But searching around after hstrerror I found that probably doesn't exist in HP-UX. What to do?
"hstrerror" is an error-handling routine from the DNS resolver library. Try a "man hstrerror" or "man gethostbyname" and see if it mentions some specific libraries that are needed. Adding "-lresolv" to the NETLIBS setting in Makefile.HP-UX might be the way forward. Regards, Henrik
list Henrik Størner
▸
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