From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3076 invoked by alias); 17 Sep 2008 08:58:22 -0000 Received: (qmail 3067 invoked by uid 22791); 17 Sep 2008 08:58:21 -0000 X-Spam-Check-By: sourceware.org Received: from smtp19.orange.fr (HELO smtp19.orange.fr) (80.12.242.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 17 Sep 2008 08:57:45 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1914.orange.fr (SMTP Server) with ESMTP id BABDC1C0009D for ; Wed, 17 Sep 2008 10:57:42 +0200 (CEST) Received: from buhrigD430 (ATuileries-108-1-1-151.w217-128.abo.wanadoo.fr [217.128.196.151]) by mwinf1914.orange.fr (SMTP Server) with ESMTP id 907971C00093 for ; Wed, 17 Sep 2008 10:57:42 +0200 (CEST) X-ME-UUID: 20080917085742591.907971C00093@mwinf1914.orange.fr From: =?iso-8859-1?Q?Aur=E9lien_Buhrig?= To: Subject: component_library object not found in lib Date: Wed, 17 Sep 2008 08:58:00 -0000 Message-ID: <003301c918a3$6b4464b0$41cd2e10$@Buhrig@tiempo-ic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: fr Mailing-List: contact sid-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sourceware.org X-SW-Source: 2008-q3/txt/msg00003.txt.bz2 Hi, I try to create some SID peripherals (timer, it crtl for now) for a new target microcontroller called tam16 in a tam16family=A0 library. I added the tam16family_component_library definition in the components.cxx file: DLLEXPORT extern const component_library tam16family_component_library; const component_library tam16family_component_library =3D {=85}; I had no particular problem adding the interrupt controller. But things go wrong=A0 when adding a second peripheral (timer)=85 At the configuration, this error occurs: dlsym of tam16family_component_library in component library dso libtam16family.la failed: sid: undefined symbol: tam16family_component_library =93Stracing=94 the sid execution shows that sid points to the good library = in which tam16family_component_library symbol DOES exist, in both .so and .a, only once per lib, and as a global symbol. My system is RHEL5/x86_64, gcc 3.4.6. Any hint why it is not found by the libltdl ? Thanks, Aurelien