Another problem installing on HP-UX
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
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
participants (2)
-
henrik@hswn.dk
-
lars.ebeling@duni.se