Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 1995 15:18:34 +0930 (CST)
From:      Lucas James <Lucas.James@ldjpc.apana.org.au>
To:        Lucas James <Lucas.James@ldjpc.apana.org.au>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: problems with libraries and c++
Message-ID:  <Pine.BSF.3.91.950525151605.9542B@ldjpc.apana.org.au>
In-Reply-To: <Pine.BSF.3.91.950525135523.9542A-100000@ldjpc.apana.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 May 1995, Lucas James wrote:
> jj@ldjpc> cc -O2 -g ../lib/libObj.a ../libsc/libsc.a 
> reporter/libreporter.a scouter.o
> scouter.cc:25: Undefined symbol `___6RepGen' referenced from text segment
> [....]
> Does anyone have a clue?

	OK Pass me the pointy hat.... I stuffed up.  I should have tried

cc -O2 -g scouter.o ../lib ......

	(it actually came about because I was using LDFLAGS instead of LDADD
in <bsd.prot.mk>)

	Oh, well, back to the grind.

--
Lucas James
Lucas.James@ldjpc.apana.org.au
Munno Para Scout Group - Assistant Scout Leader - "Kodak"
Para Rover Crew - Rover Secretary




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950525151605.9542B>