ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Re: Problem building flex-2.5.4 in Ltib from Freescale


From: Stuart Hughes
Subject: [Ltib] Re: Problem building flex-2.5.4 in Ltib from Freescale
Date: Tue, 25 Aug 2009 13:25:22 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Rajesh,

Please keep messages on the public mailing list.

You don't need to touch your system's host package, the ones from LTIB as in a private area so you don't need to do this. You should re-install flex using Synaptic.

This is a problem that is fixed on later releases. I don't have this BSP so can't be sure,but from what I recall you may be able to fix it by following the guide below, if not you need to contact Freescale support as it's one of theirs.

The work-around is to build the bison package with a lower optimization level.

a) Remove the failed build: rm -rf rpm/BUILD/flex*
b) Edit: dist/lfs-5.1/bison/bison.spec and int the %Build section.
change the "make" command to "make CFLAGS=-O0"
c) Then build bison: ./ltib --hostcf -p bison -f
d) Then run ltib again: ./ltib

NOTE: I'm not sure if a BSP that old had the --hostcf option, if not first remove .host_wait_warning* and then just run ./ltib instead of steps c and d.

Regards, Stuart

address@hidden wrote:
Hi Stuart,

I downloaded the iso version of ltib  file - imx27_ads_20071219-rel3-ltib.iso
and tried to compile on ubuntu ver 9.04. I am getting an error while
building the package "flex 2.5.4". The error output appears like:

----------------------------------------------------------------------
touch .bootstrap
gcc -c -I. -I. -g -O ccl.c
gcc -c -I. -I. -g -O dfa.c
gcc -c -I. -I. -g -O ecs.c
gcc -c -I. -I. -g -O gen.c
gcc -c -I. -I. -g -O main.c
gcc -c -I. -I. -g -O misc.c
gcc -c -I. -I. -g -O nfa.c
bison -y -d ./parse.y
make: *** [parse.c] Segmentation fault
error: Bad exit status from /home/rma
rathe/myltib/ltib-imx27ads-20071219/tmp/rpm-tmp.77326 (%build)


RPM build errors:
    Bad exit status from
/home/rmarathe/myltib/ltib-imx27ads-20071219/tmp/rpm-tmp.77326
(%build)
Build time for flex: 4 seconds
-----------------------------------------------------------------------

I have removed the flex package using Synaptic package Manager as the ISO
from Freescale installs this package. Can you please let me know how to
eliminate this issue ?
Thanks in advance,

regards,
Rajesh Marathe.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]