Sorry for the delay in responding. I have been trying a few things.
On 18 Sep 01, Jason E. Stewart writes:
> "David Starks-Browning" <[EMAIL PROTECTED]> writes:
>
> > > [ 42] __ls__7ostreamUi
> > > 0x0000000000000000 0 GLOBAL OBJECT UNDEF 0
> > > ...
> >
> > But I have no idea what I'm looking at...
> >
> > Can anyone tell me what this means?
>
> One of the files in the Handler/ directory, PerlExceptionHandler.cpp,
> uses cerr to provide error feedback if no exception handler is
> set. Therefore, g++ needs to load the iostream library stubs into
> Xerces.so, but it isn't doing this. I don't know what link option you
> need to include to tell g++ to do this, it should be automatic and it
> certainly works on linux, but I've seen this on Solaris as well.
Not knowing anything about C++, I thought perhaps the problem was
because I didn't build libstc++ with gcc-2.95.3. So I've been trying
to build gcc-3.0.1 on Tru64, with great frustration.
I suspect the problem is the values for LD and LDDFLAGS in my
Config.pm. They invoke ld directly, and I *also* don't know what link
option I need to find the iostream library stubs. (As opposed to
having gcc sort this out itself.)
> You could comment out all the cerr lines in the file, recompile, and
> test it again. If it works then I will make a new version that doesn't
> include the use of iostream.
I did this eventually, and it sort of worked. I also had to take them
out of Xerces.C and Handler/PerlEntityResolverHandler.i. Most tests
passed, but all the Exception tests dumped core. I was reckless in
removing the cerr statements, so maybe I caused other problems. (Or
were they supposed to dump core?)
Thanks for your help. Sorry this isn't more positive.
Regards,
David
-------------------------------------------------------------------
David Starks-Browning | [EMAIL PROTECTED]
EMBL Outstation -- |
The European Bioinformatics Institute |
Wellcome Trust Genome Campus | tel: +44 (1223) 494 616
Hinxton, Cambridge, CB10 1SD, UK | fax: +44 (1223) 494 468
-------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]