Jason,
Here is the result of nm.
nm -C Xerces.o |grep rtbany
[2308] | 4| 8|OBJT |GLOB |0 |COMMON |__rtbany
[2309] | 0| 0|NOTY |GLOB |0 |UNDEF |__rtbany_f(void)
[__0FK__rtbany_fv]
LD_LIBRARY_PATH is set properly.
I include the C++ library and get the same result.
Does this info help at all? I'm at a loss for what to try next.
Thanks,
David
>To: David Fielding <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED]
>Subject: Re: Installing Xerces Perl on Solaris 2.8
>From: [EMAIL PROTECTED] (Jason E. Stewart)
>Date: 05 Oct 2001 14:19:33 -0600
>User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
>MIME-Version: 1.0
>
>"David Fielding" <[EMAIL PROTECTED]> writes:
>
>> Jason,
>>
>> Thanks for the help. I believe I am very close.
>>
>> One last bit of feedback (a). One last problem (b).
>>
>> a) When I: (for compiling Xerces.C)
>> 1) Delete the -DHAS_BOOL option and
>> 2) Add the path to CC include files:
>> -I/opt/SUNWspro/SC4.2/include/CC
>>
>> the following compile works:
>>
>> CC -c -I. -IHandler -I/opt/SUNWspro/SC4.2/include/CC
>> -I/usr/local/src/xerces-c-src1_5_1/include -D_REENTRANT -O
-DVERSION=\"1.5.6\"
>> -DXS_VERSION=\"1.5.6\" -KPIC -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE
>> Xerces.C
>
>Good, thanks.
>
>> b) Now 'make test' fails.
>> "__0FK__rtbany_fv: referenced symbol not found"
>
>Gross. What does this symbol look like demangled? You can use 'nm -C
>Xerces.o' (instead of -C you may have to use another flag on Solaris
>to demangle C++ names):
>
>
> nm -C Xerces.o |grep rtbany
>
>This may mean that you are not including the stdc++ lib in the link
>line.
>
>Also, make sure that you're LD_LIBRARY_PATH includes the directory
>with libxerces-c1_5_1.so
>
>jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]