Ltib elftosb installation error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ltib elftosb installation error

Jump to solution
3,128 Views
ganeshh
Contributor III

Hi,

While compiling Ltib am encountering this error continously

/usr/bin/ld: ElftosbAST.o: undefined reference to symbol 'lroundf@@GLIBC_2.1'

/usr/bin/ld: note: 'lroundf@@GLIBC_2.1' is defined in DSO /lib/i386-linux-gnu/libm.so.6 so try adding it to the linker command line

/lib/i386-linux-gnu/libm.so.6: could not read symbols: Invalid operation

collect2: error: ld returned 1 exit status

make[1]: *** [elftosb] Error 1

make[1]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/elftosb-2.6.35.3-1.1.0/bld/linux'

make: *** [all] Error 2

error: Bad exit status from /home/ganesh/IMX/ltib/tmp/rpm-tmp.61629 (%build)

error.png

How can i Fix this error?

Labels (3)
Tags (1)
0 Kudos
Reply
1 Solution
2,595 Views
ganeshh
Contributor III

Hi Dan Wang ,

I fixed the issue by adding -lm to the makefile.rules of Elftosbast package

View solution in original post

0 Kudos
Reply
8 Replies
2,595 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi Ganesh,

Which version Ubuntu and BSP are you using? I recommend you to have a try sudo ln -s i386-linux-gnu/sys sys. Hope this can help you.
Have a great day,
Best Regards

Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply
2,595 Views
新月夏
Contributor II

Thanks , I use ln -s i386-linux-gnu/sys sys to solve problem on ubuntu 14.04 32bit.

0 Kudos
Reply
2,595 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi 新月,

It' great:smileyhappy:. If any questions welcome to create new threads in our i.mx community.

Have a nice day

Dan

0 Kudos
Reply
2,595 Views
ganeshh
Contributor III

Hi Dan Wang,

Am using ubuntu 13.04. The BSP version is L2.6.35_1.1.0_130130_source.tar.gz

0 Kudos
Reply
2,595 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi Ganesh,

About build this BSP with ltib on  ubuntu 13.04, you can refer to the thread in this community Compile L2.6.35_1.1.0_130130 for i.MX28 on Ubuntu 13.10 64bit OS.

If any question contact me esaliy~~


Best Regards

Dan

0 Kudos
Reply
2,596 Views
ganeshh
Contributor III

Hi Dan Wang ,

I fixed the issue by adding -lm to the makefile.rules of Elftosbast package

0 Kudos
Reply
2,595 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi Ganesh,

Glad to hear you have solved the problem. If you have other questions continue , if not would you please help close this thread? Thanks a lot~~

Best Regards

Dan

0 Kudos
Reply
2,595 Views
Wlodek_D_
Senior Contributor II

Hello,

Thank you for your post, however please consider moving it to the right community place (e.g. i.MX Community ) to get it visible for active members.

For details please see general advice Where to post a Discussion?

Thank you for using Freescale Community. 

0 Kudos
Reply