Installation guide

Linux Installation
CAN-API Installation
Manual • Doc. No.: C.2001.21 / Rev. 3.0 •
© 2000-2007 esd gmbh
Page 75 of 112
4.1.3.4 Linking Against libntcan (gcc-Option -rdynamic)
Attention!
It is mandatory to use the option
-rdynamic
when linking against
libntcan
,
because the dynamically loaded library
ntcanEthPlugin.so
(beside delivering
some new functionality) itself needs some symbols from within
libntcan
.
Without
-rdynamic
this does not work!
If your application (on runtime) complains about
ntcanEthPlugin.so:
undefined symbol: openRegistryCanIf Ether
the option
-rdynamic
is still missing in your makefile.
4.1.3.5 Special NTCAN_XXX Return Codes, not yet Documented in ntcan.pdf
Currently all NTCAN_XXX return codes should be available in the NTCAN documentation. See also
ntcan.h.
For return values less then
NTCAN_ERRNO_BASE
(0x100) , you have to look into
errno.h
provided
by your system (typically this can be found somewhere under
/usr/src/linux/include/asm-xxx
...)