minchun liuNew Member Posts:5
11 Sep 2013 01:03 AM |
|
Hi there, I have a strange ltib failure. I have been using the PC (Ubuntu 10.04) to build the images for a few months. I don't know why it suddenly decided to quit on me. Can anyone shed some light on the issue? I have been struggling to google it in vain for the last week or so. Thanks in advance. Here are the build messages: ============================ ... CC gstlfocontrolsource.o CC gstinterpolationcontrolsource.o CC lib.o CC gsthelper.o LINK libgstcontroller-0.10.la Making all in dataprotocol CC dataprotocol.o LINK libgstdataprotocol-0.10.la /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld:.libs/libgstdataprotocol-0.10.ver:2: syntax error in VERSION script collect2: ld returned 1 exit status make[4]: *** [libgstdataprotocol-0.10.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 error: Bad exit status from /home/ml/ltib/dm37/2.3/tmp/rpm-tmp.92996 (%build) RPM build errors: Bad exit status from /home/ml/ltib/dm37/2.3/tmp/rpm-tmp.92996 (%build) Build time for gstreamer-core: 34 seconds Failed building gstreamer-core f_buildrpms() returned an error, exiting traceback: main:632 Started: Tue Sep 10 22:08:15 2013 Ended: Tue Sep 10 22:08:54 2013 Elapsed: 39 seconds VERSION : 10.1.1 CVS_VERSION : $Revision: 1.71 $ (Savannah) PLATFORM : omap_logic GNUTARCH : arm TOOLCHAIN : CodeSourcery-2009q1-203.i386.rpm TOOLCHAIN_CFLAGS : -O2 -fsigned-char -mfloat-abi=softfp -mfpu=vfp These packages failed to build: gstreamer-core Build Failed Exiting on error or interrupt
|
|
|
|
steven.eckhoffBasic Member Posts:192
11 Sep 2013 05:27 PM |
|
Minchun, Back up your old LTIB config and execute the following: ./ltib -b --preconfig config/platform/omap_logic/defconfig Once you get that to build go back and try to build in gstreamer and let me know what results
|
|
|
|
minchun liuNew Member Posts:5
12 Sep 2013 12:54 AM |
|
This worked! I am back to business again. Thanks, Steven. I actually untared the original .bz2 file to another folder and got the same error. Why? I thought this would start with the default config file. I still don't understand what was wrong. The only thing I did was cloning my hard disc just before the error message occured.
|
|
|
|
steven.eckhoffBasic Member Posts:192
12 Sep 2013 10:10 AM |
|
Minchun, It's hard to say. When you untared the BSP to a new folder it should build okay using the original config file. I would always do that as a first step and add things incrementally between builds.
|
|
|
|