Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Unsatisfied symbols error when compiling in HP

Re: Unsatisfied symbols error when compiling in HP

From: Michael Bierenfeld <michael.bierenfeld_at_ibsgmbh.de>
Date: Fri, 30 Jul 1999 10:27:24 +0000
Message-ID: <37A17E0C.7BFE1A38@ibsgmbh.de>


galdamez9451_at_my-deja.com wrote:
>
> I am moving a Pro*C program from a DG server to HP. When I recompile
> it I get the following errors:
>
> /usr/ccs/bin/ld: Unsatisfied symbols:
> pthread_getprio (code)
> pthread_setprio (code)
> pthread_unlock_global_np (code)
> pthread_create (code)
> pthread_attr_default (data)
> pthread_keycreate (code)
> cma_open (code)
> pthread_lock_global_np (code)
> cma_read (code)
> cma_write (code)
> cma_close (code)
> pthread_mutexattr_default (data)
> *** Error exit code 1
>
> The commands used to compile/link are the following:
>
> cc +O2 -Ae -z +Z -DHPUX +DAportable +DS2.0 -DSLS8NATIVE -
> DSLU8NATIVE -D_REENTRANT -DHPUX_KTHREAD -DSLXMX_ENABLE -
> DSLMXMX_ENABLE -DSLTS_ENABLE +Omultiprocessor +Ofastaccess
> +Oentrysched +Onolimit +ESlit +Oprocelim -I. -
> I/u/oracle/8.0.5/precomp/public -I/u/oracle/8.0.5/rdbms/public -
> I/u/oracle/8.0.5/rdbms/demo -I/u/oracle/8.0.5/plsql/public -
> I/u/oracle/8.0.5/network/public -c progname.c
>
> cc -o progname progname.o -
> L/u/oracle/8.0.5/lib/ /u/oracle/8.0.5/lib/scorept.o /u/oracle/8.0.5/lib/
> sscoreed.o /u/oracle/8.0.5/rdbms/lib/kpudfo.o -llibcore4 -lclient -
> lsql -
> lclntsh /u/oracle/8.0.5/lib/nautab.o /u/oracle/8.0.5/lib/naeet.o /u/orac
> le/8.0.5/lib/naect.o /u/oracle/8.0.5/lib/naedhs.o
> `cat /u/oracle/8.0.5/lib/naldflgs` -lnetv2 -lnttcp -lnetwork -lncr -
> lnetv2 -lnttcp -lnetwork -lclient -lvsn -lcommon -lgeneric -lmm -
> lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -
> lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lclient -lvsn -lcommon -
> lgeneric -lepc -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 -
> lclient -lvsn -lcommon -lgeneric -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -
> lnlsrtl3 `cat /u/oracle/8.0.5/lib/sysliblist` -lm -lpthread
>
> Please help, can anyone tell me where the symbols are defined?
> Thanks...
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.

Hello,

maybe the "nm" command would help. This displays all defined objects in a Library or Object File. Got to the System Lib Subdirectorys and issue :

nm --defined-only --print-file-name *.sl | grep "pthread"

This should display the Object/Library where pthread* is defined. Checkout the man Page for nm, because "--defined-only" and "--print-file-name" are only valid for "nm" from the GNU BinUtils. HP nm should have similar parameters.

Regards

Michael Received on Fri Jul 30 1999 - 05:27:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US