public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* component_library object not found in lib
@ 2008-09-17  8:58 Aurélien Buhrig
  2008-09-17 13:45 ` Frank Ch. Eigler
  0 siblings, 1 reply; 7+ messages in thread
From: Aurélien Buhrig @ 2008-09-17  8:58 UTC (permalink / raw)
  To: sid

Hi,

I try to create some SID peripherals (timer, it crtl for now) for a new
target microcontroller called tam16 in a tam16family  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 = {…};

I had no particular problem adding the interrupt controller. But things go
wrong  when adding a second peripheral (timer)…
At the configuration, this error occurs:

dlsym of tam16family_component_library in component library dso
libtam16family.la failed: sid: undefined symbol:
tam16family_component_library

“Stracing” 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-10 16:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-17  8:58 component_library object not found in lib Aurélien Buhrig
2008-09-17 13:45 ` Frank Ch. Eigler
2008-09-17 16:20   ` Aurélien Buhrig
2008-10-09  9:32   ` timings in sid Aurélien Buhrig
2008-10-09 16:24     ` Dave Brolley
2008-10-10 16:29       ` Aurélien Buhrig
2008-10-10 16:42         ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).