From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1861 invoked by alias); 6 Sep 2004 10:06:45 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 1828 invoked from network); 6 Sep 2004 10:06:40 -0000 Received: from unknown (HELO cyclope.ersa-france.com) (217.167.143.32) by sourceware.org with SMTP; 6 Sep 2004 10:06:40 -0000 Received: from mailsrv.ersa-france.com (mailsrv.ersa-france.com [192.168.99.245]) by cyclope.ersa-france.com (8.12.11/8.12.11) with ESMTP id i86A6dqf013566 for ; Mon, 6 Sep 2004 12:06:39 +0200 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Undefined reference : very strange linking problem... Date: Mon, 06 Sep 2004 10:06:00 -0000 Message-ID: <1E58066E82C558488E7F316C6D6B34DF01081E@srv1.ersa-france.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: =?iso-8859-1?Q?S=E9bastien_ZINSIUS?= To: X-SW-Source: 2004-09/txt/msg00030.txt.bz2 Hello all! I have a very strange linking problem... I'm working on a quite complex pro= ject written in C++ and compiled/linked with g++. This project includes a lot of libraries. I recently added 3 new classes (o= ne base class and two classes inheriting the first) to the A library. This = library is used by library B. Finally, application is linked with both libr= aries. Everything worked sofar but this times I got strange undefined references w= hen linking (only with the two classes inheriting the third, but I don't kn= ow if it is related). I checked header files (#ifdef, class names, method n= ames...), libraries linking order (but that always worked...) and everythin= g is OK. Compilation also succeeds and when I use classes directly (not thr= ough libraries) or when I use them through library A it works!! That's why I suspect something with library B. It seems that there is an ov= erflow somewhere (to many symbols defined in library)... Is this possible? = Is there any solution? Any other idea? Thanks in anticipation! S=E9bastien