From: Dan Johnston (dan.johnston++at++nrc.gc.ca)
Date: 12/16/2005 05:31:01
Thanks for the reply.
It turns out that in my .cshrc file was a call to setup a
3rd party commercial software package. Somewhere in
this script it overrode the paths for the compiler. When
I commented this setup out (and logged back in) the
compiler and linker worked much better!
I had proved to myself that the compiler was a problem
(and not my code) by porting the loader over to a Linux
system. Everything worked there, so it was not my code
or my thought processes.
Thanks again!
Dan Johnston
Benedikt Kessler wrote:
> Hi!
> Dan Johnston wrote:
> >
> > I tried to write my own loader. I have done this in the past, but the
> > code was always in the 'C' language. This one I tried to use C++
> > and use fstreams for file I/O and strstreams for file parsing.
> >
> > This did not work. The shared library was linked, but when 'perfly'
> > tried to use it, there were errors about unresolved references. Given
> > the usual C++ name mangling, the missing reference were very hard
> > to read, but they appeared to indicate "allocation" and "streams"
>
> Did you forget to link some of your classes with that loader dso?
>
> Pipe your mangled names to c++filt which should give you the C++ names:
>
> for example:
> nm /usr/lib/libpfv.so | c++filt
>
> Bye! Benedikt
>
> --
> +---------------------------------+----------------------------------+
> |Benedikt J. Kessler | Silicon Graphics GmbH |
> |Advanced Media Products | Am Hochacker 3 - Technopark |
> |SGI | 85630 Grasbrunn-Neukeferloh, FRG |
> | --- __o ,__o | |
> | ------_ \<,_ _-\_<, | Phone: (+49) 89 46108-366 or -0 |
> |----- (*)/ (*) (*)/'(*) | Fax: (+49) 89 46107-366 |
> +---------------------------------+----------------------------------+
> |E-Mail: bjk++at++sgi.com Web (private): http://sgiweb.org/bjk |
> | Web: http://www.sgi.de |
> +--------------------------------------------------------------------+
--
___|__ |
/ | \ ||\ Daniel (Dan) Johnston
/___|___\ || \ Dan.Johnston++at++nrc.gc.ca
_____|____ || \ National Research Council of Canada, London, ON
| | | || \ Integrated Manufacturing Technologies Institute
\___| | | ||____\ Tel: (519) 430-7081 Fax: (519) 430-7140
\_o_\___|____|_|______\_ Inst: http://www.nrc.gc.ca/imti
\ o / These opinions are my own! Not those of NRC.
\________________/ Virtual Reality:
http://imti.nrc.gc.ca/vetc_e/vetc_e.html
More Tall Ships - Fewer Computers!
This archive was generated by hypermail 2b29 : Fri Dec 16 2005 - 05:59:14 PST