libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no .so file on HPUX platform?


From: Ed Hartnett
Subject: Re: no .so file on HPUX platform?
Date: Mon, 29 Jan 2007 16:11:07 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> * Ed Hartnett wrote on Mon, Jan 22, 2007 at 09:31:36PM CET:
>> 
>> I only have this one HPUX system to test on, and it's pretty out of
>> date, I suspect. But if I ask them to upgrade it, they'll probably
>> just say "Nah, let's just get rid of it..."
>
> Do you have aCC installed there?  If yes, could you try to build netcdf
> with it?  Over here it's chosen, rather than CC, as C++ compiler.

OK, this gave me the clue to try with with CXX=g++. This allows
libtool to continue to build shared libraries. But there is still a
problem, alas!

Can anyone tell me why this link is failing?

        /bin/sh ../libtool --tag=CC    --mode=link cc  -g
        -version-info 4:0:0 -no-undefined   -o libnetcdf.la -rp\
ath /usr/local/lib attr.lo ncx.lo putget.lo dim.lo error.lo libvers.lo
        nc.lo string.lo v1hpg.lo var.lo   posixio.l\
o
libtool: link: cc -b -Wl,+h -Wl,libnetcdf.sl.4 -Wl,+b
        -Wl,/usr/local/lib -o .libs/libnetcdf.sl.4.0  .libs/attr.o .l\
ibs/ncx.o .libs/putget.o .libs/dim.o .libs/error.o .libs/libvers.o
        .libs/nc.o .libs/string.o .libs/v1hpg.o .libs/va\
r.o .libs/posixio.o   -lc
cc: warning 422: Unknown option "b" ignored.
/usr/ccs/bin/ld: Unsatisfied symbols:
   main (Not referenced yet! Probably due to -u option)
*** Error exit code 1

Stop.
*** Error exit code 1


-- 
Ed Hartnett  -- address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]