From owner-freebsd-questions Thu May 25 06:21:36 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA23450 for questions-outgoing; Thu, 25 May 1995 06:21:36 -0700 Received: from seldon.apanix.apana.org.au (root@seldon.apanix.apana.org.au [192.203.213.8]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id GAA23444 for ; Thu, 25 May 1995 06:21:19 -0700 Received: from ldjpc.apana.org.au (ldjpc.apana.org.au [192.203.213.254]) by seldon.apanix.apana.org.au (8.6.10/8.6.9) with ESMTP id WAA24211 for ; Thu, 25 May 1995 22:47:48 +0930 Received: (from jj@localhost) by ldjpc.apana.org.au (8.6.11/8.6.9) id PAA13038; Thu, 25 May 1995 15:18:36 +0930 From: Lucas James Date: Thu, 25 May 1995 15:18:34 +0930 (CST) To: Lucas James cc: freebsd-questions@FreeBSD.org Subject: Re: problems with libraries and c++ In-Reply-To: Message-ID: X-Warning: I don't speak for anyone but myself MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk 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 ) 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