Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Unresolved symbol while loading MPC85xx Ethernet Driver: (5 Items)
   
Unresolved symbol while loading MPC85xx Ethernet Driver  
Hi,
I have downloaded the QNX 6.4.1 Networking stack code from trunk last week.
I tried to compile the mpc85xx driver from the following directory.

# cd code\qnx641\lib\io-pkt\sys\dev_qnx\mpc85xx
# make CPULIST=ppc 

While compiling it throws hwinfo.h:No such file or directory error.

Then i downloaded the patch and got the hwinfo.h file and i copied in to mpc85xx and compiled.After that i am able to 
compile the driver code but while loading the driver.

the following error received.

# io-pkt-v4-hc -d/lib/dll/devnp-mpc85xx.so mac=000000000001
unresolved symbol : hwitag_find_nicaddr
unresolved symbol : hwitag_find_phyaddr

Please help me on this.

Thanks and Regards
K.Senthil
RE: Unresolved symbol while loading MPC85xx Ethernet Driver  
Since the devnp-mpc85xx.so driver runs on non-PCI
hardware, it needs some other source of information
to determine board-specific parameters, which we 
are loathe to put into a generic driver.

It uses the HWI infrastructure to get the board
specific information it requires.

I think you need a new libnbdrvr, which contains
that HWI lib code.

--
aboyd
Re: RE: Unresolved symbol while loading MPC85xx Ethernet Driver  
Hi Andrew,

I have downloaded the QNX stack from trunk last week.Can you please tell where is the latest library (libndrv)?

After compile the code the mpc85xx driver refers only libdrvrS for linking.
for that hardware API i need to change the mpc85xx driver make file?

Thanks and Regards
K.Senthil
RE: RE: Unresolved symbol while loading MPC85xx Ethernet Driver  
> where is the latest library (libndrv)?

I see the hwi stuff here:

http://svn.ott.qnx.com/view/product/trunk/lib/io-pkt/sys/lib/libdrvr/

--
aboyd
Re: RE: RE: Unresolved symbol while loading MPC85xx Ethernet Driver  
Hi Andrew,

I have seen the same problem posted in the following 

http://community.qnx.com/sf/discussion/do/listPosts/projects.networking/discussion.drivers.topc10527 in which you have 
specified to checkout
hardware/startup/lib directory and make hinstall.

Is it bsp directory?

Can you please tell the path?

Thanks and Regards
K.Senhtil