ltib for IMX53 on Fedora

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

ltib for IMX53 on Fedora

1,955 Views
pfmelamed
Contributor I

Hi

I am trying to install the ltib for imx53 on Fedora20

I have downloaded the L2.6.35_11.09.01_ER_source_bundle.tar.gz file,

and use the ./ltib to install that what got:

........

+ make DESTDIR=/home/PF/work/L2.6.35_11.09.01_ER/ltib/tmp/sparse PREFIX=/opt/freescale/rootfs/i686//opt/freescale/ltib/usr 'CFLAGS=-O2 -march=i686'
     CC       test-lexing.o
     CC       target.o
     CC       parse.o
In file included from parse.c:25:0:
parse.h:63:22: error: duplicate member 'label_statement'
    struct statement *label_statement;
                      ^
make: *** [parse.o] Error 1
error: Bad exit status from /home/PF/work/L2.6.35_11.09.01_ER/ltib/tmp/rpm-tmp.64523 (%build)


RPM build errors:
    Bad exit status from /home/PF/work/L2.6.35_11.09.01_ER/ltib/tmp/rpm-tmp.64523 (%build)
Build time for sparse: 0 seconds

Failed building sparse
Died at ./ltib line 1380.
traceback:
main::build_host_rpms:1380
  main::host_checks:1435
   main:542

 

please help me to fix the problem

 

Thanks

PF

Tags (2)
0 Kudos
14 Replies

1,253 Views
tonyzheng
NXP Employee
NXP Employee

hi,

It is a best choice to install LTIB on Ubuntu 12.04 and most of us have successfully installed on it. Also, you can try to make image by Yacto for you IMX53 board.

regards,

Tony

0 Kudos

1,253 Views
pfmelamed
Contributor I

any suggestions are welcome......

Thanks

PF

0 Kudos

1,253 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi PF,

I just have installed ltib succeed in Ubuntu. So about Fedora I just can give you some advices. Have you installed the packages needed by LTIB? And if you are using 64 bit machine I think the commend sudo aptitude -y install ia32-libs libc6-dev-i386 lib32z1 is needed. Hope this can help you ~~
Have a great day
Dan

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

0 Kudos

1,253 Views
pfmelamed
Contributor I

Hi Dan

Ok,  I am trying to install ltib on Ubuntu 14.04,  and I got other problem....

please, give me more "information", "How to", .... abut your gait

what is your Ubuntu ver ?

what is your ltib ver ?

from where I need to download the good ltib (my be I haven't the good libs ???!!!!)

Thanks

PF


0 Kudos

1,253 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi PF,

Which board are you using?

Best Regards

Dan

0 Kudos

1,253 Views
pfmelamed
Contributor I

what I got on Ubuntu 14.04

ltib cannot be run because one or more of the host packages needed to run it
are either missing or out of date or not in ltib's standard path.  Please
install/upgrade these packages on your host.  If you have your own utilities
in non-standard paths, please add an entry into the .ltibrc file for example:

%path_std
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/my/own/exes

Package                Minimum ver   Installed info
-------                -----------   ---------------
zlib                   0             not installed

Died at ./ltib line 1397.

before this I do install zlib:

sudo apt-get install --reinstall zlib1g

and event more :

wget http://www.zlib.net/zlib-1.2.8.tar.gz

tar -xvzf zlib-1.2.8.tar.gz

cd zlib-1.2.8

./configure --prefix=/usr/local

make

sudo make install

0 Kudos

1,253 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi PF,

For the BSP L2.6.35_11_09_ER_SOURCE, the ubuntu 10.04 is better.

Best Regards

Dan

0 Kudos

1,253 Views
pfmelamed
Contributor I

Please send me the direct path for L2.6.35_11_09_ER_SOURCE,

thanks

PF

0 Kudos

1,253 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi PF,

We have not test on the ubuntu 14.04. So I recommend you use ubuntu 10.04 or 12.04.For the BSP you can use L2.6.35_11_09_ER_SOURCE. You tell me you are using the chip IMX53-6AVV, I want to know which board are you using( the board designed by freescale or you design yourself), so I can give you right direction:smileyhappy:. Would you mind tell me ?

Best Regards

Dan

0 Kudos

1,253 Views
pfmelamed
Contributor I

Hi Dan,

Nothing works, we have our own board based on IMX53.

This board is already working, and I haven't the old ltib, gcc etc.. so I need to

reinstall everything...

so please give me some "How to docs", How to use the patches....

thanks

PF

0 Kudos

1,252 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi PF,

I also want to know which reference design in freescale are you refer to ?

Best Regards

Dan

0 Kudos

1,253 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi PF,

Which version ubuntu are you using?  You can refer to the doucment IMX53_1109_LINUXDOCS_BUNDLE. And here I attach a document for you.

Best Regards

Dan

0 Kudos

1,253 Views
pfmelamed
Contributor I

Hi Dan

We are working on IMX53-6AVV

My computer is a Intel-CORE I7

For testing, I install VMware and I have Fedora 20, Ubuntu 14.04

Thanks

PF

0 Kudos