curl-users
Re: Need help making on HP-UX 10.20 (fwd)
Date: Wed, 06 Sep 2000 05:58:26 -0700
I haven't played with curl since 6.3, but I do have some HP-UX experience.
I have seen configure scripts get it wrong for HP-UX. HP uses a single pass
linker, so the order that libs and object files are specified makes a big
difference.
I would use nm to see which (if any) of the files being linked contain the
missing
symbols. If you find them, you can rearrange the link line, or add the file
names
a second time, at the end of the link line.
If none of the libs or object files contains the missing symbols, then you are
missing
something entirely from the link line, or there is something else wrong earlier
in
the process.
Also, if you have any older HPs around that you need curl to run on, you may
want to add -DPA_PORTABLE (I think - look at man cc to be sure) to CFLAGS.
PA-RISC 2.0 binaries won't run on the earlier machines.
Good luck,
Jim
Daniel Stenberg wrote:
> I received the following mail and I've got Chris permission to post it here.
> I'm afraid my HP experience is very limited why I can't do much good to
> help...
>
> --
> Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
> ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
>
> ---------- Forwarded message ----------
> Date: Fri, 1 Sep 2000 11:33:16 -0700
> From: Chris.Buckley_at_sce.com
> To: daniel_at_haxx.se
> Subject: Need help making on HP-UX 10.20
>
> Any ideas? Thanks in advance for any suggestions.
>
> Making all in src
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include
> -I/opt/openssl/include/ -Ae -I/opt/openssl/include/ -Ae -c main.c
> rm -f hugehelp.c
> /usr/bin/nroff -man ../docs/curl.1 | /usr/bin/perl ../src/mkhelp.pl
> ../docs/README.curl > hugehelp.c
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include
> -I/opt/openssl/include/ -Ae -I/opt/openssl/include/ -Ae -c hugehelp.c
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include
> -I/opt/openssl/include/ -Ae -I/opt/openssl/include/ -Ae -c urlglob.c
> /bin/sh ../libtool --mode=link cc -I/opt/openssl/include/ -Ae
> -L/opt/openssl/lib -o curl main.o hugehelp.o urlglob.o ../lib/libcurl.la
> -lssl -lcrypto
> mkdir .libs
> libtool: link: warning: this platform does not like uninstalled shared
> libraries
> libtool: link: `curl' will be relinked during installation
> cc -I/opt/openssl/include/ -Ae -L/opt/openssl/lib -o .libs/curl main.o
> hugehelp.o urlglob.o
> /usr/hal7/cdas/src/com/curl/curl-7.2/lib/.libs/libcurl.sl -lssl -lcrypto
> -lssl -lcrypto -Wl,+b
> -Wl,/usr/hal7/cdas/src/com/curl/curl-7.2/lib/.libs:/opt/lib
> /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (main.o) was
> detected. The linked output may not run on a PA 1.x system.
> /usr/ccs/bin/ld: Unsatisfied symbols:
> __umoddi3 (code)
> __udivdi3 (code)
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
Received on 2000-09-06