building module-init-tools-cross fails
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?
Quoted 35 lines · Sashan Govender
I'm trying out openembedded but get this error:
ERROR: function
do_compilefailed
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(quoted diff) +0
-5-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 failedThis 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"
Quoted 1 line
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.
Quoted 6 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
yum install glibc-static ?
Philip
Quoted 54 lines · Khem Raj
Quoted 35 lines · Sashan Govender
I'm trying out openembedded but get this error:
ERROR: function
do_compilefailed
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(quoted diff) +0
-5-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 failedThis 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"Quoted 1 line
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.
Quoted 6 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 36 lines · Khem Raj
Quoted 35 lines · Sashan Govender
I'm trying out openembedded but get this error:
ERROR: function
do_compilefailed
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(quoted diff) +0
-5-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 failedThis 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"
Quoted 6 lines
Quoted 1 line
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
========================================================================