This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Re: gcc-2.8.1 compiler problems]
- To: Martin v.Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: [Re: gcc-2.8.1 compiler problems]
- From: Alejandro Kainer <alejandro dot kainer at usa dot net>
- Date: 19 Oct 99 11:14:08 ARST
- CC: gcc at gcc dot gnu dot org
Martin,
Yes, the library was there as you said, but it didn't work either and libgcc.a
doesn't have those symbols. I also copied libgcc.a to /usr/local/lib and
included it into the makefile, just in case. By doing a grep of one of the
symbols (i.e. __rtti_user) it showed me that it is into libstdc++.a, but this
library is already included into the LIBS section in the makefile. I was just
wondering if I would need to do other permutations of libraries (as I did
before), but this is a heavy duty and I thought I was missing something in the
middle better than having a wrong combination of libraries. Maybe I'm doing
something wrong and I can't see what it could be. If you come up with another
solution please do tell me, because I'm getting short of time and I need to
solve this by this weekend if possible. Thank you for your help.
Yours,
Alejandro Kainer
Sirti Argentina S.A.
"Martin v. Loewis" <martin@mira.isdn.cs.tu-berlin.de> wrote:
> > I have recently downloaded and compiled Gnu C compiler gcc-2.8.1 on a
> > HP-UX 10.20 system, and it was everything ok. No warnings more than the
> > expected. The fact is that I am trying to compile a web based
> > application (cgi) and when compiling .C elements (c++ code), I receive
> > an error that goes:
> >
> > collect2: ld returned 1 exit status
> > /usr/ccs/bin/ld: Unsatisfied symbols:
> > __rtti_user (code)
> > __rtti_si (code)
> > *** Error exit code 1
> >
> > Stop.
> >
> > I would like to know wether if a library is missing
>
> These symbols should be defined in libgcc.a, which should have been
> installed in the same location as cc1plus. Please verify that the
> library is there, and whether it has these symbols.
>
> Hope this helps,
> Martin
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1