[oe] testing branch 2010-12-10

Eric Bénard eric at eukrea.com
Sat Dec 25 18:43:35 UTC 2010


On 25/12/2010 19:31, Eric Bénard wrote:
> On 24/12/2010 18:28, Koen Kooi wrote:
>> That looks like the xdctools linkerscript problem we had before. Maybe
>> an xdc .clean and xdc .make would help.
>>
> thanks, will try this.
>
> other problem found with ti-dmai_svn during the same build :
> cc1: warnings being treated as errors
> In file included from
> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/beagleboard-angstrom-linux-gnueabi/kernel/include/linux/videodev2.h:66:0,
>
> from linux/Capture.c:43:
> /home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/beagleboard-angstrom-linux-gnueabi/kernel/include/linux/types.h:13:2:
> error: #warning "Attempt to use kernel headers from user space, see
> http://kernelnewbies.org/KernelHeaders"
> make[1]: *** [obj/linux/Capture.omap3530.o470MV] Error 1
>
and removing -Werror to workaround this issue leads to a link error :

Linking linux/audio_decode1_omap3530.x470MV from appMain.omap3530.o470MV 
linux/main.omap3530.o470MV linux/audio_decode1_oma
p3530_config/linker.cmd..
/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-gcc 
  -lpthread -lm 
-L/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib 
-lasound -Wl,-Map,linux/audio_decode1_omap3530.x470MV.map -o 
linux/audio_decode1_omap3530.x470MV appMain.omap3530.o470MV 
linux/main.omap3530.o470MV 
linux/audio_decode1_omap3530_config/linker.cmd/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: 
warning: linux/audio_decode1_omap3530_config/linker.cmd contains output 
sections; did you forget -T?
/home/ebenard/OMAP/2010/angstrom-setup-scripts/build/tmp-angstrom_2010_x/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: 
.gnu.attributes not found for insert
collect2: ld returned 1 exit status
make[2]: *** [linux/audio_decode1_omap3530.x470MV] Error 1

Eric




More information about the Openembedded-devel mailing list