[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    RE: HPUX-DEVTOOLS: shlinit error and linker error
From:       "FLYNN,JAY (HP-USA,ex1)" <jay_flynn () hp ! com>
Date:       2001-07-19 18:02:28
[Download RAW message or body]

This appears to be due to calling a C++ library from a different language.

Go to docs.hp.com and search on one of the unsatisfied symbols. It will
direct you to documentation on a file called
cpprt0_stub.s that defines the missing symbols. This file needs to be
assembled and linked with your C++ library.

Below is the definition of the file.

Jay 
================ cpprt0_stub.s ===================
        .code
; stubs for static constructors in a.out
	.export __StaticCtorTable_Start,data
        .export __StaticCtorTable_End,data
__StaticCtorTable_Start
__StaticCtorTable_End

	.data
; stubs for static constructors in a.out, compiled with +z/+Z
	.export __ZStaticCtorTable_Start,data
        .export __ZStaticCtorTable_End,data
__ZStaticCtorTable_Start
__ZStaticCtorTable_End



-----Original Message-----
From: Kumarasamy Paramasivam [mailto:param@commvault.com]
Sent: Thursday, July 19, 2001 1:04 PM
To: 'hpux-devtools@cxx.cup.hp.com'
Cc: 'cxx-dev@cxx.cup.hp.com'
Subject: HPUX-DEVTOOLS: shlinit error and linker error


Hi,

Initiallly i got  the following error when i run the oracle executable with
my libraries:
/usr/lib/dld.sl: Unresolved symbol: __shlinit (code)  from libCvCxx.sl
/usr/lib/dld.sl: Unresolved symbol: __shlinit (code)  from libCvCxx.sl

Then, i added libCsup.sl for relinking, i got the following linker error.
/usr/ccs/bin/ld: Unsatisfied symbols:
   __StaticCtorTable_End (data)
   __ZStaticCtorTable_End (data)
   __StaticCtorTable_Start (data)
   __ZStaticCtorTable_Start (data)
*** Error exit code 1

Stop.
logout
********** Oracle relinking complete **********


Any help would be appreciated.

Thanks
Params
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic