saro sun
|
Regarding Exporting a symbol from executable to shared library
|
saro sun
05/25/2011 10:23 AM
post86126
|
Regarding Exporting a symbol from executable to shared library
Hello,
Queries to QNX:
Reference board: AT91SAM9263 development board.
BSP: bsp-nto640-ATMEL-AT91SAM9263-
EK-trunk.
IDE: QNX Momentics Integrated Development 4.7.0
OS: QNXSDP 6.5.0
We have designed our SDIO stack as QNX application (as a executable
binary) and net work driver as a shared library format (.so file). We can
able run/debug our SDIO stack application using run/debug the configuration
utility. QNX SDIO stack able to do initialization of any network SDIO card
successfully. As per net work driver design some of the SDIO stack API's
are
used bythe network driver. While running the network driver library using
io-pkt application SDIO stack API's are showing unresolved symbols. We have
tried to export the symbol from QNX SDIO stack application and tried to
link
the network driver against QNX SDIO stack application using extra library
paths and extra library include options, but its throwing compilation error
when its not able to fined the library from the specified path given. At
this moment we are unable to export the symbols of the QNX SDIO stack
application to the network shared library.
Our QNX SDIO stack is working properly with below mentioned methods.
1. Normal C/C++ projects as executable.
2. QNX C projects as a executable.
3. Include in the AT91SAM9263 QNX BSP device driver as a executable.
Our network driver is include in the AT91SAM9263 QNX BSP devnp driver as a
shared library. It will executed by the io-pkt application
Please suggest us to resolve the issues.
Best Regards,
Saravana
|
|
|