Sean Boudreau(deleted)
|
Re: Unable to load WLAN driver
|
Sean Boudreau(deleted)
02/14/2008 10:31 AM
post5031
|
Re: Unable to load WLAN driver
On Thu, Feb 14, 2008 at 10:25:47AM -0500, Arun Hegde wrote:
> Hi,
>
> I am working on WLAN driver with SPI interface. Initially i am loading SPI driver as ".so"(DLL) using :
> spi-master -d dra446 base=0x01C24400,irq=33,edma=0 which is loading successfully.
>
> Later i am loading WLAN driver as ".so"(DLL) using:
> io-net -dwlan ioport=0x2a000000,irq=51 -ptcpip
>
> I am getting following errors:
> Unknown relocation type
> Unknown relocation type
> Unknown relocation type
> unable to load dll devn-wlan: Unresolved symbols
> Unable to access "/dev/io-net/en0"
>
> I am linking libspi-master.a to my WLAN driver in order to resolve APIs related to spi-master(spi_open, spi_read,
spi_write etc).
> Can i link ".a" (static library) to WLAN driver?
>
> In my WLAN driver i am accessing SPI module via API's provided by spi-master.spi-master runs in its own process space
and io-net runs in its own process space.
> Can i access SPI(spi-master) process space from WLAN (io-net ) process space?
>
> What i think is relocation error which i am getting is because of linking libspi-master.a in my WLAN driver.
> Please help me in this regard.
You probably need to link against libspi-masterS.a (static PIC
library). Create an a.shared variant (assuming you're using
our makefile structure): eg lib/spi-master/x86/a.shared/
-seanb
|
|
|