* building module-init-tools-cross fails
@ 2009-10-03 1:32 Sashan Govender
2009-10-20 18:08 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Sashan Govender @ 2009-10-03 1:32 UTC (permalink / raw)
To: openembedded-devel
I'm trying out openembedded but get this error:
ERROR: function do_compile failed
ERROR: log data follows
(/home/sashan/code/openembedded/build/tmp/work/i486-oe-linux-gnu/module-init-tools-cross-3.2.2-r5/temp/log.do_compile.12217)
| NOTE: make
| gcc -isystem/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/include
-O2 -g -Wunused -Wall -static
-L/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
-Wl,-rpath-link,/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
-Wl,-rpath,/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
-Wl,-O1 -o insmod.static insmod.o
| /usr/bin/ld: cannot find -lc
| collect2: ld returned 1 exit status
| make: *** [insmod.static] Error 1
| FATAL: oe_runmake failed
This is my local.conf file:
DL_DIR = "${HOME}/archives"
BBFILES = ${OEBASE}/openembedded/recipes/*/*.bb
BBMASK = ""
PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += "
virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
MACHINE = "x86"
TARGET_OS = "linux"
DISTRO = "minimal"
IMAGE_FSTYPES = "jffs2 tar"
BINCLUDELOGS = "yes"
What am I missing?
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: building module-init-tools-cross fails
2009-10-03 1:32 building module-init-tools-cross fails Sashan Govender
@ 2009-10-20 18:08 ` Khem Raj
2009-10-20 18:23 ` Philip Balister
2009-10-20 18:50 ` Robert P. J. Day
0 siblings, 2 replies; 4+ messages in thread
From: Khem Raj @ 2009-10-20 18:08 UTC (permalink / raw)
To: openembedded-devel
On Fri, Oct 2, 2009 at 6:32 PM, Sashan Govender <sashang@gmail.com> wrote:
> I'm trying out openembedded but get this error:
>
> ERROR: function do_compile failed
> ERROR: log data follows
> (/home/sashan/code/openembedded/build/tmp/work/i486-oe-linux-gnu/module-init-tools-cross-3.2.2-r5/temp/log.do_compile.12217)
> | NOTE: make
> | gcc -isystem/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/include
> -O2 -g -Wunused -Wall -static
> -L/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
> -Wl,-rpath-link,/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
> -Wl,-rpath,/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
> -Wl,-O1 -o insmod.static insmod.o
> | /usr/bin/ld: cannot find -lc
> | collect2: ld returned 1 exit status
> | make: *** [insmod.static] Error 1
> | FATAL: oe_runmake failed
>
> This is my local.conf file:
>
> DL_DIR = "${HOME}/archives"
> BBFILES = ${OEBASE}/openembedded/recipes/*/*.bb
> BBMASK = ""
> PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
> PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
> PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
> PREFERRED_PROVIDERS += "
> virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
> PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
> PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
> MACHINE = "x86"
> TARGET_OS = "linux"
> DISTRO = "minimal"
> IMAGE_FSTYPES = "jffs2 tar"
> BINCLUDELOGS = "yes"
>
> What am I missing?
its looking for libc.a on your build machine because you are linking
static version. Depending upon what distro you run on
your host you can install appropriate package. e.g on debian/ubuntu
libc6-dev provides it.
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: building module-init-tools-cross fails
2009-10-20 18:08 ` Khem Raj
@ 2009-10-20 18:23 ` Philip Balister
2009-10-20 18:50 ` Robert P. J. Day
1 sibling, 0 replies; 4+ messages in thread
From: Philip Balister @ 2009-10-20 18:23 UTC (permalink / raw)
To: openembedded-devel
yum install glibc-static ?
Philip
On 10/20/2009 02:08 PM, Khem Raj wrote:
> On Fri, Oct 2, 2009 at 6:32 PM, Sashan Govender<sashang@gmail.com> wrote:
>> I'm trying out openembedded but get this error:
>>
>> ERROR: function do_compile failed
>> ERROR: log data follows
>> (/home/sashan/code/openembedded/build/tmp/work/i486-oe-linux-gnu/module-init-tools-cross-3.2.2-r5/temp/log.do_compile.12217)
>> | NOTE: make
>> | gcc -isystem/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/include
>> -O2 -g -Wunused -Wall -static
>> -L/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
>> -Wl,-rpath-link,/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
>> -Wl,-rpath,/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
>> -Wl,-O1 -o insmod.static insmod.o
>> | /usr/bin/ld: cannot find -lc
>> | collect2: ld returned 1 exit status
>> | make: *** [insmod.static] Error 1
>> | FATAL: oe_runmake failed
>>
>> This is my local.conf file:
>>
>> DL_DIR = "${HOME}/archives"
>> BBFILES = ${OEBASE}/openembedded/recipes/*/*.bb
>> BBMASK = ""
>> PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
>> PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
>> PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
>> PREFERRED_PROVIDERS += "
>> virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
>> PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
>> PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
>> MACHINE = "x86"
>> TARGET_OS = "linux"
>> DISTRO = "minimal"
>> IMAGE_FSTYPES = "jffs2 tar"
>> BINCLUDELOGS = "yes"
>>
>> What am I missing?
>
> its looking for libc.a on your build machine because you are linking
> static version. Depending upon what distro you run on
> your host you can install appropriate package. e.g on debian/ubuntu
> libc6-dev provides it.
>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: building module-init-tools-cross fails
2009-10-20 18:08 ` Khem Raj
2009-10-20 18:23 ` Philip Balister
@ 2009-10-20 18:50 ` Robert P. J. Day
1 sibling, 0 replies; 4+ messages in thread
From: Robert P. J. Day @ 2009-10-20 18:50 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 2497 bytes --]
On Tue, 20 Oct 2009, Khem Raj wrote:
> On Fri, Oct 2, 2009 at 6:32 PM, Sashan Govender <sashang@gmail.com> wrote:
> > I'm trying out openembedded but get this error:
> >
> > ERROR: function do_compile failed
> > ERROR: log data follows
> > (/home/sashan/code/openembedded/build/tmp/work/i486-oe-linux-gnu/module-init-tools-cross-3.2.2-r5/temp/log.do_compile.12217)
> > | NOTE: make
> > | gcc -isystem/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/include
> > -O2 -g -Wunused -Wall -static
> > -L/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
> > -Wl,-rpath-link,/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
> > -Wl,-rpath,/home/sashan/code/openembedded/build/tmp/staging/x86_64-linux/usr/lib
> > -Wl,-O1 -o insmod.static insmod.o
> > | /usr/bin/ld: cannot find -lc
> > | collect2: ld returned 1 exit status
> > | make: *** [insmod.static] Error 1
> > | FATAL: oe_runmake failed
> >
> > This is my local.conf file:
> >
> > DL_DIR = "${HOME}/archives"
> > BBFILES = ${OEBASE}/openembedded/recipes/*/*.bb
> > BBMASK = ""
> > PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
> > PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
> > PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
> > PREFERRED_PROVIDERS += "
> > virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
> > PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
> > PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
> > MACHINE = "x86"
> > TARGET_OS = "linux"
> > DISTRO = "minimal"
> > IMAGE_FSTYPES = "jffs2 tar"
> > BINCLUDELOGS = "yes"
> >
> > What am I missing?
>
> its looking for libc.a on your build machine because you are linking
> static version. Depending upon what distro you run on
> your host you can install appropriate package. e.g on debian/ubuntu
> libc6-dev provides it.
if you're running fedora, you need to separately install the
"glibc-static" package.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-20 18:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-03 1:32 building module-init-tools-cross fails Sashan Govender
2009-10-20 18:08 ` Khem Raj
2009-10-20 18:23 ` Philip Balister
2009-10-20 18:50 ` Robert P. J. Day
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.