[etherlab-users] Linker problems with stable-1.5 patched with the latest rtdm-patch
WIEGAND Ralf
Ralf.Wiegand at hexagonmetrology.com
Mon Mar 12 21:39:28 CET 2012
Hello Graeme,
first of all, thanks for the great job on the rtdm-patch.
I am trying to use your latest rtdm-patch for the stable-1.5 on revision 2266 and
get some problems during linking my own application. There are undefined references
to every ecrt_rtdm_*** library function. I use the linker-flags "-L/usr/realtime/lib
-L/opt/etherlab/lib" and "-llxrt -lrtdm -lethercat". The patch, compilation and
installation of the master runs without any problems. The ld is configured to search
libraries under /usr/realtime/lib and /opt/etherlab/lib. I also checked the content
of the libethercat library with readelf, but all called library-functions are listed
in the output. When i try to read out the ELF information with readelf of the
ec_rtai_rtdm_example, i get an error that the file isn't an ELF-file.
My system is debian based (lenny) with kernel 2.6.32.11 and rtai-3.8.1.
Do you or anybody on the list have any idea to solve the problem or give me a hint ?
Regards,
Ralf Wiegand
Hexagon Metrology GmbH
Siegmund-Hiepe-Str. 2-12
35578 Wetzlar
Deutschland
Phone: +49 6441 207-410
Fax: +49 6441 207-387
E-Mail: Ralf.Wiegand at hexagonmetrology.com
Hauptgeschäftsführer: Holger Fritze
Geschäftsführer: Per Holmberg - Erik Steinbacher - Arno Seuren
Amtsgericht Wetzlar, HRB 1201
More information about the Etherlab-users
mailing list