[oe] testing branch 2010-12-10

Eric Bénard eric at eukrea.com
Sat Dec 25 21:15:20 UTC 2010


Hi Khem,

On 25/12/2010 20:59, Khem Raj wrote:
> On 12/25/2010 10:43 AM, Eric Bénard wrote:
>>>
>>> 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
>
> it seems like linker scripts for this need some scrutiny. How can I reproduce
> this problem.
>
I'm using bitbake & openembedded master + beagleboard machine + angstrom 
2010.x distro + bitbake beagleboard-linuxtag2010-demo-image

Thanks,
Eric




More information about the Openembedded-devel mailing list