Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Error when building OS image for ml403 BSP: (10 Items)
   
Error when building OS image for ml403 BSP  
Hi all,

I am using IDE4.0.1 to import the ml403 BSP. I just followed the instruction for given ml403_81_1.0.0_project.zip 
project. After building the project to generate the OS image, I got the following error:
Description:      ld: cannot find -linput
Resource:         bsp-xilinx_virtex4_ml403_devi-ml300
Location:	      line 0	

Hope someone can help me. Thanks.
Re: Error when building OS image for ml403 BSP  
Looks like this project missing path for "input" library. You can try to add it manually. Find where is libinput.so (or 
libinput.a) is located and this path
to libraries of this project using project->Properties->QNX Project->Linker tab->select Library Paths from drop down -> 
Add path.


Hung Nguyen wrote:
> Hi all,
> 
> I am using IDE4.0.1 to import the ml403 BSP. I just followed the instruction for given ml403_81_1.0.0_project.zip 
project. After building the project to generate the OS image, I got the following error:
> Description:      ld: cannot find -linput
> Resource:         bsp-xilinx_virtex4_ml403_devi-ml300
> Location:	      line 0	
> 
> Hope someone can help me. Thanks.
> 
> _______________________________________________
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post16669
> 
Re: Error when building OS image for ml403 BSP  
Hi Elena,

I only found the libinput.a, added it as you said. I still got the error. If I close the bsp-xilinx_virtex4_ml403_devi-
ml300 project (I selected all entries as importing), everything is OK.
By the way, could you briefly tell me how can I download my application to the board after transferring Bitstream file 
and OS image? Does the OS image include my application?

Thank you,
Hung.
 
Re: Error when building OS image for ml403 BSP  
 > I only found the libinput.a, added it as you said. I still got the error. If I close the bsp-
xilinx_virtex4_ml403_devi-ml300 project (I selected all entries as importing), everything is OK.

Well I am not sure it is ok, you will be missing this driver in the OS image... You sure you specified right library 
path?

 > By the way, could you briefly tell me how can I download my application to the board after transferring Bitstream 
file and OS image?
Briefly: ftp, scp, tftp or qconn (IDE - Target File System Navigator).

 > Does the OS image include my application?
Well depends if you include it or not. It is easy to include it - in system builder project you add binary using "Add 
Binary" button and locate your binary
in the other project.
Re: Error when building OS image for ml403 BSP  
- I found the libinput.a in D:\MyWorks\QNX\bsp-xilinx_virtex4_ml403_input\nto\ppc\a.o.be where I imported the BSP to. 
Then I added this path to the Extra library path. Is it correct?
- One more thing: Do you think the ser-8250 driver is compatible with the OPB UartLite core in EDK? If not, is there any
 serial drivers for the core? 

Thanks a lot.
Hung.
Re: Error when building OS image for ml403 BSP  

Hung Nguyen wrote:
> - I found the libinput.a in D:\MyWorks\QNX\bsp-xilinx_virtex4_ml403_input\nto\ppc\a.o.be where I imported the BSP to. 
Then I added this path to the Extra library path. Is it correct?
yes. And it still has a link error after that??

> - One more thing: Do you think the ser-8250 driver is compatible with the OPB UartLite core in EDK? If not, is there 
any serial drivers for the core? 
That you need to ask on bsp forum, I don't know the answer.

> 
> Thanks a lot.
> Hung.
> 
> _______________________________________________
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post17130
> 
Re: Error when building OS image for ml403 BSP  
Thanks Elena. I regenerated BSP and added the path again. I got the error fixed.
Re: Error when building OS image for ml403 BSP  
Hi Elena,

I got another error: xenet.o undefined reference to 'XEmac_Initialize'
I am sure the header file for the XEmac_Initialze function is included.

Thanks,
Hung.
 
Re: Error when building OS image for ml403 BSP  
Undefined reference means there is no body. Header in this case is irrelevant. Some library is missing or code 
(definition) for this function. I don't know what it is.
If it is part of BSP ask on BSP forum.

Hung Nguyen wrote:
> Hi Elena,
> 
> I got another error: xenet.o undefined reference to 'XEmac_Initialize'
> I am sure the header file for the XEmac_Initialze function is included.
> 
> Thanks,
> Hung.
>  
> 
> _______________________________________________
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post17979
> 
Re: Error when building OS image for ml403 BSP  
You're right, the xemac_sinit.c file defining for the function isn't copied to my building folder. A tiny change in *.
tcl file can fix the problem.

Thanks,
Hung.