Article View: gnu.gcc.help
Article #42277How to create a shared library on HPUX-9.05
From: Doron Sherman
Date: Wed, 20 Dec 1995 00:00
Date: Wed, 20 Dec 1995 00:00
53 lines
2549 bytes
2549 bytes
Hello all, I'm using gcc-2.6.3 on a HP9000/735 workstation running HPUX-9.05. Trying to create a shared library from gcc-compiled objects gives the following problems: (1) when using the gcc compiler with the -shared option: gcc -fstrength-reduce -fpcc-struct-return -shared nsapi.o process_request.o channel.o log.o netprotocols.o connection.o shmpairs.o debug.o semlock.o InputClass.o ccspider.o ../../../lib/libintrp.a ../../../lib/libdbobj.a /devel/rogue/lib/librwtool.a /usr/local/lib/libg++.a -o libccspider.sl /bin/ld: Unsatisfied symbols: $global$ (data) log_error (code) request_header (code) http_status (code) pblock_findval (code) http_start_response (code) netbuf_next (code) _pblock_fr (code) net_write (code) main /bin/ld: No $UNWIND_END$ subspace has been defined (probably missing /lib/crt0.o) collect2: ld returned 1 exit status make: *** [libccspider.sl] Error 1 (2) when using the native HP loader /bin/ld: ld -b nsapi.o process_request.o channel.o log.o netprotocols.o connection.o shmpairs.o debug.o semlock.o InputClass.o ccspider.o ../../../lib/libintrp.a ../../../lib/libdbobj.a /devel/rogue/lib/librwtool.a /usr/local/lib/libg++.a -o libccspider.sl ld: Invalid loader fixup needed ----- Any help will be much appreciated. TIA, Doron\ ************************************************************************** Doron Sherman 1054 Elwell Court, Palo Alto, CA 94303 Chief Scientist TEL: 415 969 6665 #20 FAX: 415 969 6883 Spider Technologies dorons@w3spider.com WEB: www.w3spider.com ************************************************************************** -- ************************************************************************** Doron Sherman 1054 Elwell Court, Palo Alto, CA 94303 Chief Scientist TEL: 415 969 6665 #20 FAX: 415 969 6883 Spider Technologies dorons@w3spider.com WEB: www.w3spider.com **************************************************************************
Technical Details
Message-ID:
<DORONS.95Dec20100412@rachel.w3spider.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3922c90f17054b27,start X-Google-Attributes: gid11318c,public From: dorons@rachel.w3spider.com (Doron Sherman) Subject: How to create a shared library on HPUX-9.05 Date: 1995/12/20 Message-ID: <DORONS.95Dec20100412@rachel.w3spider.com> X-Deja-AN: 122393828 distribution: world newsgroups: gnu.gcc.help