All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: ti-c6accel-1_01_00_01: link error
Date: Thu, 30 Dec 2010 20:09:38 +0100	[thread overview]
Message-ID: <4D1CD8F2.6000209@eukrea.com> (raw)
In-Reply-To: <ifije4$p3n$1@dough.gmane.org>

Hi Koen,

same problems exists with ti-dmai (which also shows another one as a bonus ;-)

oe master + angstrom-2010.x + beagleboard leads to :

.../... /usr/include -Dxdc_target_name__=arm/GCArmv5T -g -Wall -Werror -c -o 
obj/linux/Capture.omap3530.o470MV linux/Capture.c
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

this can be "fixed" by removing -Werror in the makefile but then I meet the 
same problem as with ti-c6accel :

Linking linux/audio_decode1_omap3530.x470MV from 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/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

Eric



  parent reply	other threads:[~2010-12-30 19:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-30  9:18 ti-c6accel-1_01_00_01: link error Eric Bénard
2010-12-30 11:48 ` Koen Kooi
2010-12-30 18:35   ` Koen Kooi
2010-12-30 18:55     ` Eric Bénard
2010-12-30 19:09     ` Eric Bénard [this message]
2010-12-30 20:27       ` Koen Kooi
2010-12-30 20:53         ` Eric Bénard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D1CD8F2.6000209@eukrea.com \
    --to=eric@eukrea.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.