This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: String.h problem


My problem is with the String class, not with the string.h from the standard
C library.

I'm doing object programming (actually ruling out bugs from) and each program
that I try to debug uses the String CLASS.  Every time I try to link the
different programs, the unresolved message points out.

Again, not the C string.h but the class String

Thanks in advance...

Andersson Per Ola wrote:

> Make sure that you have your C libs in your lib path. See man ld for more
> info on where the linker searches for the libs.
>
> You should not have to add the standard C libs as an option to the linker.
>
> // POA
>
> > -----Original Message-----
> > From: Bruno Quesnel [SMTP:bruno.quesnel@mindready.com]
> > Sent:  den 16 maj 2000 21:39
> > To:   gcc@gcc.gnu.org
> > Subject:      String.h problem
> >
> > Hi,
> >
> >     I'm running on a HP B2000 running HPUX 10.20.  I've also
> > compiled the GCC program and also installed the binary.
> >
> >     I need to compile software on this machine that uses the
> > String.h header.  The program compiles OK but when the time comes
> > to link, every reference to the String Objects are marked as
> > unresolved.
> >
> >     Is there something that can be easily done to rule out this
> > problem ? Do you need my make file ?
> >
> >     Thanks in advance...
> >
> > --
> > Bruno Quesnel                            bruno.quesnel@mindready.com
> > VA2BMG                                   quesnelb@ve2.ele.etsmtl.ca
> > Stagiaire - MindReady
> >



--
Bruno Quesnel                            bruno.quesnel@mindready.com
VA2BMG                                   quesnelb@ve2.ele.etsmtl.ca
Stagiaire - MindReady




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]