* Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64
@ 2010-01-24 15:29 Elvis Dowson
2010-01-24 15:37 ` Elvis Dowson
2010-01-24 16:46 ` Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64 Robert P. J. Day
0 siblings, 2 replies; 9+ messages in thread
From: Elvis Dowson @ 2010-01-24 15:29 UTC (permalink / raw)
To: OpenEmbedded Developer
Hi,
I am trying to build the overo-oe development environment on a new Fedora 12 x86_64 virtual machine image. I am trying to build omap3-console-image.
It fails with module-init-tools-cross_3.2.2.bb.
Could someone please help me resolve this error? I am trying to get a stable 64-bit environment up and running for Overo, to take advantage of build speed up times for my work.
Here is the output from the bitbake -dd -c rebuild module-init-tools-cross command, after just specifically cleaning this recipe using the bitbake -c clean command for module-init-tools-cross.
$ bitbake -dd -c rebuild module-init-tools-cross
NOTE: Handling BitBake files: | (7979/7979) [100 %]
NOTE: Parsing finished. 7361 cached, 310 parsed, 308 skipped, 2 masked.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 181 of 200 (ID: 2, /tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb, do_setscene)
NOTE: Running task 182 of 200 (ID: 3, /tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb, do_fetch)
NOTE: Running task 183 of 200 (ID: 5, /tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb, do_unpack)
NOTE: Running task 184 of 200 (ID: 15, /tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb, do_distribute_sources)
NOTE: Unpacking /usr/share/sources/module-init-tools-3.2.2.tar.bz2 to tmp/work/armv7a-angstrom-linux-gnueabi/module-init-tools-cross-3.2.2-r5/
NOTE: Running task 185 of 200 (ID: 6, /tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb, do_patch)
NOTE: Applying patch 'ignore_arch_directory' (org.openembedded.dev/recipes/module-init-tools/files/ignore_arch_directory)
NOTE: Applying patch 'modutils_extension' (org.openembedded.dev/recipes/module-init-tools/files/modutils_extension)
NOTE: Applying patch 'no_man_rebuild' (org.openembedded.dev/recipes/module-init-tools/files/no_man_rebuild)
NOTE: Applying patch 'manpagesopt' (org.openembedded.dev/recipes/module-init-tools/files/manpagesopt)
NOTE: Applying patch 'module-init-tools-remove-index.patch' (org.openembedded.dev/recipes/module-init-tools/files/module-init-tools-remove-index.patch)
NOTE: Running task 186 of 200 (ID: 7, /tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb, do_configure)
NOTE: Running task 187 of 200 (ID: 8, /tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb, do_qa_configure)
NOTE: Running task 188 of 200 (ID: 9, /tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb, do_compile)
ERROR: function do_compile failed
ERROR: log data follows (/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/module-init-tools-cross-3.2.2-r5/temp/log.do_compile.26025)
| NOTE: make -j 8
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT lsmod.o -MD -MP -MF .deps/lsmod.Tpo -c -o lsmod.o lsmod.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT insmod.o -MD -MP -MF .deps/insmod.Tpo -c -o insmod.o insmod.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT modprobe.o -MD -MP -MF .deps/modprobe.Tpo -c -o modprobe.o modprobe.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT zlibsupport.o -MD -MP -MF .deps/zlibsupport.Tpo -c -o zlibsupport.o zlibsupport.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT rmmod.o -MD -MP -MF .deps/rmmod.Tpo -c -o rmmod.o rmmod.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT depmod.o -MD -MP -MF .deps/depmod.Tpo -c -o depmod.o depmod.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT moduleops.o -MD -MP -MF .deps/moduleops.Tpo -c -o moduleops.o moduleops.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT tables.o -MD -MP -MF .deps/tables.Tpo -c -o tables.o tables.c
| mv -f .deps/lsmod.Tpo .deps/lsmod.Po
| mv -f .deps/insmod.Tpo .deps/insmod.Po
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT modinfo.o -MD -MP -MF .deps/modinfo.Tpo -c -o modinfo.o modinfo.c
| ccache gcc -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -static -L/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath,/tool/overo-oe/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
| make: *** Waiting for unfinished jobs....
| mv -f .deps/zlibsupport.Tpo .deps/zlibsupport.Po
| mv -f .deps/rmmod.Tpo .deps/rmmod.Po
| mv -f .deps/moduleops.Tpo .deps/moduleops.Po
| mv -f .deps/tables.Tpo .deps/tables.Po
| mv -f .deps/depmod.Tpo .deps/depmod.Po
| modinfo.c: In function 'main':
| modinfo.c:338: warning: 'infosize' may be used uninitialized in this function
| mv -f .deps/modinfo.Tpo .deps/modinfo.Po
| modprobe.c: In function 'do_command':
| modprobe.c:786: warning: field precision should have type 'int', but argument 3 has type 'long int'
| mv -f .deps/modprobe.Tpo .deps/modprobe.Po
| FATAL: oe_runmake failed
NOTE: Task failed: /tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/module-init-tools-cross-3.2.2-r5/temp/log.do_compile.26025
ERROR: TaskFailed event exception, aborting
ERROR: Build of /tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb do_compile failed
ERROR: Task 9 (/tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 187 tasks of which 180 didn't need to be rerun and 1 failed.
ERROR: '/tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb' failed
Best regards,
Elvis Dowson
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64
2010-01-24 15:29 Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64 Elvis Dowson
@ 2010-01-24 15:37 ` Elvis Dowson
2010-01-24 15:43 ` Martin Jansa
2010-01-24 16:46 ` Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64 Robert P. J. Day
1 sibling, 1 reply; 9+ messages in thread
From: Elvis Dowson @ 2010-01-24 15:37 UTC (permalink / raw)
To: OpenEmbedded Developer
Hi,
On Jan 24, 2010, at 7:29 PM, Elvis Dowson wrote:
> $ bitbake -DD -c rebuild module-init-tools-cross
Here is the correct output using the -DD option.
ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT modinfo.o -MD -MP -MF .deps/modinfo.Tpo -c -o modinfo.o modinfo.c
ccache gcc -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -static -L/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath,/tool/overo-oe/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
make: *** Waiting for unfinished jobs....
mv -f .deps/depmod.Tpo .deps/depmod.Po
mv -f .deps/moduleops.Tpo .deps/moduleops.Po
modinfo.c: In function 'main':
modinfo.c:338: warning: 'infosize' may be used uninitialized in this function
mv -f .deps/modinfo.Tpo .deps/modinfo.Po
+ die 'oe_runmake failed'
+ oefatal 'oe_runmake failed'
+ echo FATAL: 'oe_runmake failed'
FATAL: oe_runmake failed
+ exit 1
ERROR: function do_compile failed
ERROR: log data follows (/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/module-init-tools-cross-3.2.2-r5/temp/log.do_compile.27805)
| + export localstatedir=/tool/overo-oe/tmp/cross/armv7a/var
| + localstatedir=/tool/overo-oe/tmp/cross/armv7a/var
| + export prefix=/tool/overo-oe/tmp/cross/armv7a
| + prefix=/tool/overo-oe/tmp/cross/armv7a
| + export STRIP=strip
| + STRIP=strip
| + export STAGING_SIPDIR=/tool/overo-oe/tmp/staging/x86_64-linux/usr/share/sip
| + STAGING_SIPDIR=/tool/overo-oe/tmp/staging/x86_64-linux/usr/share/sip
| + export 'BUILD_CC=ccache gcc'
| + BUILD_CC='ccache gcc'
| + export PSTAGING_ACTIVE=1
| + PSTAGING_ACTIVE=1
| + export GTK_RC_FILES=/etc/gtk/gtkrc:/home/elvis/.gtkrc-1.2-gnome2
| + GTK_RC_FILES=/etc/gtk/gtkrc:/home/elvis/.gtkrc-1.2-gnome2
| + export libexecdir=/tool/overo-oe/tmp/cross/armv7a/libexec
| + libexecdir=/tool/overo-oe/tmp/cross/armv7a/libexec
| + export datadir=/tool/overo-oe/tmp/cross/armv7a/share
| + datadir=/tool/overo-oe/tmp/cross/armv7a/share
| + export 'BUILD_CXX=ccache g++'
| + BUILD_CXX='ccache g++'
| + export LD=ld
| + LD=ld
| + export 'EXTRA_OEMAKE=-j 8'
| + EXTRA_OEMAKE='-j 8'
| + export bindir=/tool/overo-oe/tmp/cross/armv7a/bin
| + bindir=/tool/overo-oe/tmp/cross/armv7a/bin
| + export TERM=xterm
| + TERM=xterm
| + export 'TARGET_CXXFLAGS=-isystem/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive'
| + TARGET_CXXFLAGS='-isystem/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive'
| + export includedir=/tool/overo-oe/tmp/cross/armv7a/include
| + includedir=/tool/overo-oe/tmp/cross/armv7a/include
| + export MANIFEST=/tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/files/./manifest
| + MANIFEST=/tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/files/./manifest
| + export 'BUILD_LDFLAGS=-L/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-O1'
| + BUILD_LDFLAGS='-L/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-O1'
| + export BUILD_LD=ld
| + BUILD_LD=ld
| + export 'SDK_CFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3'
| + SDK_CFLAGS='-isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3'
| + export oldincludedir=/tool/overo-oe/tmp/cross/armv7a/include
| + oldincludedir=/tool/overo-oe/tmp/cross/armv7a/include
| + export LANG=en_US.UTF-8
| + LANG=en_US.UTF-8
| + export BUILD_CCLD=gcc
| + BUILD_CCLD=gcc
| + export USER=elvis
| + USER=elvis
| + export XDG_DATA_DIRS=/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/share
| + XDG_DATA_DIRS=/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/share
| + export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-p3mNrvl7uY,guid=9e2668a2b3f91001a28d7e2f4b5b59a3
| + DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-p3mNrvl7uY,guid=9e2668a2b3f91001a28d7e2f4b5b59a3
| + export XAUTHORITY=/var/run/gdm/auth-for-elvis-thM9qx/database
| + XAUTHORITY=/var/run/gdm/auth-for-elvis-thM9qx/database
| + export QMAKE_MKSPEC_PATH=/tool/overo-oe/tmp/staging/x86_64-linux/usr/share/qmake
| + QMAKE_MKSPEC_PATH=/tool/overo-oe/tmp/staging/x86_64-linux/usr/share/qmake
| + export palmtopdir=/tool/overo-oe/tmp/cross/armv7a/lib/opie
| + palmtopdir=/tool/overo-oe/tmp/cross/armv7a/lib/opie
| + export 'SDK_CPPFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include'
| + SDK_CPPFLAGS='-isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include'
| + export 'CC=ccache gcc'
| + CC='ccache gcc'
| + export GNOME_KEYRING_SOCKET=/tmp/keyring-aNAZ4b/socket
| + GNOME_KEYRING_SOCKET=/tmp/keyring-aNAZ4b/socket
| + export CPPFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include
| + CPPFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include
| + export RANLIB=ranlib
| + RANLIB=ranlib
| + export base_sbindir=/tool/overo-oe/tmp/cross/armv7a/bin
| + base_sbindir=/tool/overo-oe/tmp/cross/armv7a/bin
| + export 'CXX=ccache g++'
| + CXX='ccache g++'
| + export BUILD_RANLIB=ranlib
| + BUILD_RANLIB=ranlib
| + export COLORTERM=gnome-terminal
| + COLORTERM=gnome-terminal
| + export mandir=/tool/overo-oe/tmp/cross/armv7a/share/man
| + mandir=/tool/overo-oe/tmp/cross/armv7a/share/man
| + export USERBRANCH=/tool/overo-oe/user.collection
| + USERBRANCH=/tool/overo-oe/user.collection
| + export OBJCOPY=objcopy
| + OBJCOPY=objcopy
| + export servicedir=/tool/overo-oe/tmp/cross/armv7a/srv
| + servicedir=/tool/overo-oe/tmp/cross/armv7a/srv
| + export 'SDK_LDFLAGS=-L/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/lib -Wl,-O1'
| + SDK_LDFLAGS='-L/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/lib -Wl,-O1'
| + export PKG_CONFIG_DIR=/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/lib/pkgconfig
| + PKG_CONFIG_DIR=/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/lib/pkgconfig
| + export 'BB_ENV_EXTRAWHITE=MACHINE DISTRO ANGSTROM_MODE OVEROTOP OEBRANCH USERBRANCH TITOOLSDIR'
| + BB_ENV_EXTRAWHITE='MACHINE DISTRO ANGSTROM_MODE OVEROTOP OEBRANCH USERBRANCH TITOOLSDIR'
| + export sysconfdir=/tool/overo-oe/tmp/cross/armv7a/etc
| + sysconfdir=/tool/overo-oe/tmp/cross/armv7a/etc
| + export 'CCLD=ccache gcc'
| + CCLD='ccache gcc'
| + export base_bindir=/tool/overo-oe/tmp/cross/armv7a/bin
| + base_bindir=/tool/overo-oe/tmp/cross/armv7a/bin
| + export sbindir=/tool/overo-oe/tmp/cross/armv7a/bin
| + sbindir=/tool/overo-oe/tmp/cross/armv7a/bin
| + export 'CFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g'
| + CFLAGS='-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g'
| + export PKG_CONFIG_DISABLE_UNINSTALLED=yes
| + PKG_CONFIG_DISABLE_UNINSTALLED=yes
| + export OPIEDIR=/tool/overo-oe/tmp/staging/x86_64-linux
| + OPIEDIR=/tool/overo-oe/tmp/staging/x86_64-linux
| + export 'BUILD_F77=ccache g77'
| + BUILD_F77='ccache g77'
| + export PWD=/tool/overo-oe
| + PWD=/tool/overo-oe
| + export _=/tool/overo-oe/bitbake/bin/bitbake
| + _=/tool/overo-oe/bitbake/bin/bitbake
| + export AS=as
| + AS=as
| + export PATCH_GET=0
| + PATCH_GET=0
| + export 'CXXFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g'
| + CXXFLAGS='-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g'
| + export DISPLAY=:0.0
| + DISPLAY=:0.0
| + export NM=nm
| + NM=nm
| + export 'F77=ccache g77'
| + F77='ccache g77'
| + export GNOME_KEYRING_PID=1795
| + GNOME_KEYRING_PID=1795
| + export SSH_AUTH_SOCK=/tmp/keyring-aNAZ4b/socket.ssh
| + SSH_AUTH_SOCK=/tmp/keyring-aNAZ4b/socket.ssh
| + export QTDIR=/tool/overo-oe/tmp/staging/x86_64-linux/qt2
| + QTDIR=/tool/overo-oe/tmp/staging/x86_64-linux/qt2
| + export 'LDFLAGS=-L/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-O1'
| + LDFLAGS='-L/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-O1'
| + export MAKE=make
| + MAKE=make
| + unset TARGET_ARCH
| + export 'SHELLCMDS=bash --rcfile '
| + SHELLCMDS='bash --rcfile '
| + export QPEDIR=/tool/overo-oe/tmp/staging/x86_64-linux
| + QPEDIR=/tool/overo-oe/tmp/staging/x86_64-linux
| + export TITOOLSDIR=/tool/overo-oe/ti
| + TITOOLSDIR=/tool/overo-oe/ti
| + export BBPATH=/tool/overo-oe/build:/tool/overo-oe/user.collection:/tool/overo-oe/org.openembedded.dev
| + BBPATH=/tool/overo-oe/build:/tool/overo-oe/user.collection:/tool/overo-oe/org.openembedded.dev
| + export BUILD_CPP=cpp
| + BUILD_CPP=cpp
| + export 'SDK_CXXFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive'
| + SDK_CXXFLAGS='-isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive'
| + export 'BUILD_CFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g'
| + BUILD_CFLAGS='-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g'
| + export docdir=/tool/overo-oe/tmp/cross/armv7a/share/doc
| + docdir=/tool/overo-oe/tmp/cross/armv7a/share/doc
| + export infodir=/tool/overo-oe/tmp/cross/armv7a/share/info
| + infodir=/tool/overo-oe/tmp/cross/armv7a/share/info
| + export base_prefix=/tool/overo-oe/tmp/cross/armv7a
| + base_prefix=/tool/overo-oe/tmp/cross/armv7a
| + export 'TARGET_LDFLAGS=-L/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/lib -Wl,-O1 -Wl,--hash-style=gnu'
| + TARGET_LDFLAGS='-L/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/lib -Wl,-O1 -Wl,--hash-style=gnu'
| + export PKG_CONFIG_SYSROOT_DIR=/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi
| + PKG_CONFIG_SYSROOT_DIR=/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi
| + export PKG_CONFIG_PATH=/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/lib/pkgconfig:/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/share/pkgconfig
| + PKG_CONFIG_PATH=/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/lib/pkgconfig:/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/share/pkgconfig
| + export AR=ar
| + AR=ar
| + export BUILD_CPPFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include
| + BUILD_CPPFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include
| + export 'CPP=gcc -E'
| + CPP='gcc -E'
| + export 'CONFIG_SITE=/tool/overo-oe/org.openembedded.dev/site/endian-little /tool/overo-oe/org.openembedded.dev/site/common-linux /tool/overo-oe/org.openembedded.dev/site/common-glibc /tool/overo-oe/org.openembedded.dev/site/x86_64-linux /tool/overo-oe/org.openembedded.dev/site/common /tool/overo-oe/org.openembedded.dev/site/common'
| + CONFIG_SITE='/tool/overo-oe/org.openembedded.dev/site/endian-little /tool/overo-oe/org.openembedded.dev/site/common-linux /tool/overo-oe/org.openembedded.dev/site/common-glibc /tool/overo-oe/org.openembedded.dev/site/x86_64-linux /tool/overo-oe/org.openembedded.dev/site/common /tool/overo-oe/org.openembedded.dev/site/common'
| + export 'BUILD_CXXFLAGS=-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -fpermissive'
| + BUILD_CXXFLAGS='-isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -fpermissive'
| + export SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1802,unix/unix:/tmp/.ICE-unix/1802
| + SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1802,unix/unix:/tmp/.ICE-unix/1802
| + export HOME=/home/elvis
| + HOME=/home/elvis
| + export USERNAME=elvis
| + USERNAME=elvis
| + export TARGET_CPPFLAGS=-isystem/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/include
| + TARGET_CPPFLAGS=-isystem/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/include
| + export DESKTOP_SESSION=gnome
| + DESKTOP_SESSION=gnome
| + export exec_prefix=/tool/overo-oe/tmp/cross/armv7a
| + exec_prefix=/tool/overo-oe/tmp/cross/armv7a
| + export base_libdir=/tool/overo-oe/tmp/cross/armv7a/lib
| + base_libdir=/tool/overo-oe/tmp/cross/armv7a/lib
| + export STAGING_IDLDIR=/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/share/idl
| + STAGING_IDLDIR=/tool/overo-oe/tmp/staging/x86_64-linux/tool/overo-oe/tmp/cross/armv7a/share/idl
| + export OEBRANCH=/tool/overo-oe/org.openembedded.dev
| + OEBRANCH=/tool/overo-oe/org.openembedded.dev
| + export LOGNAME=elvis
| + LOGNAME=elvis
| + export PATH=/tool/overo-oe/tmp/staging/x86_64-linux/usr/bin/armv7a-linux:/tool/overo-oe/tmp/staging/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/tool/overo-oe/tmp/staging/x86_64-linux/usr/sbin:/tool/overo-oe/tmp/staging/x86_64-linux/usr/bin:/tool/overo-oe/tmp/cross/armv7a//bin:/tool/overo-oe/tmp/staging/x86_64-linux/sbin:/tool/overo-oe/tmp/staging/x86_64-linux/bin:/tool/script:/tool/android/out/host/linux-x86_64/bin:/tool/overo-oe/bitbake/bin:/tool/overo-oe/tmp/cross/armv7a/bin:/tool/script:/tool/android/out/host/linux-x86_64/bin:/tool/overo-oe/bitbake/bin:/tool/overo-oe/tmp/cross/armv7a/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/elvis/bin
| + PATH=/tool/overo-oe/tmp/staging/x86_64-linux/usr/bin/armv7a-linux:/tool/overo-oe/tmp/staging/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/tool/overo-oe/tmp/staging/x86_64-linux/usr/sbin:/tool/overo-oe/tmp/staging/x86_64-linux/usr/bin:/tool/overo-oe/tmp/cross/armv7a//bin:/tool/overo-oe/tmp/staging/x86_64-linux/sbin:/tool/overo-oe/tmp/staging/x86_64-linux/bin:/tool/script:/tool/android/out/host/linux-x86_64/bin:/tool/overo-oe/bitbake/bin:/tool/overo-oe/tmp/cross/armv7a/bin:/tool/script:/tool/android/out/host/linux-x86_64/bin:/tool/overo-oe/bitbake/bin:/tool/overo-oe/tmp/cross/armv7a/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/elvis/bin
| + export 'TARGET_CFLAGS=-isystem/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3'
| + TARGET_CFLAGS='-isystem/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/tool/overo-oe/tmp/cross/armv7a/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3'
| + unset MACHINE
| + export BUILD_AR=ar
| + BUILD_AR=ar
| + export sharedstatedir=/tool/overo-oe/tmp/cross/armv7a/com
| + sharedstatedir=/tool/overo-oe/tmp/cross/armv7a/com
| + export OBJDUMP=objdump
| + OBJDUMP=objdump
| + unset DISTRO
| + export libdir=/tool/overo-oe/tmp/cross/armv7a/lib
| + libdir=/tool/overo-oe/tmp/cross/armv7a/lib
| + export SHELL=/bin/bash
| + SHELL=/bin/bash
| + export palmqtdir=/tool/overo-oe/tmp/cross/armv7a/lib/opie
| + palmqtdir=/tool/overo-oe/tmp/cross/armv7a/lib/opie
| + export BUILD_STRIP=strip
| + BUILD_STRIP=strip
| + export XDG_SESSION_COOKIE=bbb897b3c1e2f19aa2d413234b596448-1264277923.86579-862250634
| + XDG_SESSION_COOKIE=bbb897b3c1e2f19aa2d413234b596448-1264277923.86579-862250634
| + export OVEROTOP=/tool/overo-oe
| + OVEROTOP=/tool/overo-oe
| + cd /tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/module-init-tools-cross-3.2.2-r5/module-init-tools-3.2.2
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile ']'
| + oe_runmake
| + '[' xmake = x ']'
| + oenote make -j 8
| + echo NOTE: 'make -j 8'
| NOTE: make -j 8
| + make -j 8
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT lsmod.o -MD -MP -MF .deps/lsmod.Tpo -c -o lsmod.o lsmod.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT insmod.o -MD -MP -MF .deps/insmod.Tpo -c -o insmod.o insmod.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT modprobe.o -MD -MP -MF .deps/modprobe.Tpo -c -o modprobe.o modprobe.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT zlibsupport.o -MD -MP -MF .deps/zlibsupport.Tpo -c -o zlibsupport.o zlibsupport.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT rmmod.o -MD -MP -MF .deps/rmmod.Tpo -c -o rmmod.o rmmod.c
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT depmod.o -MD -MP -MF .deps/depmod.Tpo -c -o depmod.o depmod.c
| mv -f .deps/lsmod.Tpo .deps/lsmod.Po
| mv -f .deps/insmod.Tpo .deps/insmod.Po
| mv -f .deps/rmmod.Tpo .deps/rmmod.Po
| modprobe.c: In function 'do_command':
| modprobe.c:786: warning: field precision should have type 'int', but argument 3 has type 'long int'
| mv -f .deps/modprobe.Tpo .deps/modprobe.Po
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT moduleops.o -MD -MP -MF .deps/moduleops.Tpo -c -o moduleops.o moduleops.c
| mv -f .deps/zlibsupport.Tpo .deps/zlibsupport.Po
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT tables.o -MD -MP -MF .deps/tables.Tpo -c -o tables.o tables.c
| mv -f .deps/tables.Tpo .deps/tables.Po
| ccache gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.2.2\" -I. -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -MT modinfo.o -MD -MP -MF .deps/modinfo.Tpo -c -o modinfo.o modinfo.c
| ccache gcc -isystem/tool/overo-oe/tmp/staging/x86_64-linux/usr/include -O2 -g -Wunused -Wall -static -L/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link,/tool/overo-oe/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath,/tool/overo-oe/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
| make: *** Waiting for unfinished jobs....
| mv -f .deps/depmod.Tpo .deps/depmod.Po
| mv -f .deps/moduleops.Tpo .deps/moduleops.Po
| modinfo.c: In function 'main':
| modinfo.c:338: warning: 'infosize' may be used uninitialized in this function
| mv -f .deps/modinfo.Tpo .deps/modinfo.Po
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: Task failed: /tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/module-init-tools-cross-3.2.2-r5/temp/log.do_compile.27805
ERROR: TaskFailed event exception, aborting
ERROR: Build of /tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb do_compile failed
ERROR: Task 9 (/tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 187 tasks of which 180 didn't need to be rerun and 1 failed.
ERROR: '/tool/overo-oe/org.openembedded.dev/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb' failed
Best regards,
Elvis Dowson
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64
2010-01-24 15:37 ` Elvis Dowson
@ 2010-01-24 15:43 ` Martin Jansa
2010-01-24 15:45 ` Robert P. J. Day
2010-01-24 15:47 ` Elvis Dowson
0 siblings, 2 replies; 9+ messages in thread
From: Martin Jansa @ 2010-01-24 15:43 UTC (permalink / raw)
To: openembedded-devel
On Sun, Jan 24, 2010 at 07:37:36PM +0400, Elvis Dowson wrote:
> Hi,
Hi
> | /usr/bin/ld: cannot find -lc
> | collect2: ld returned 1 exit status
> | make: *** [insmod.static] Error 1
Thomas White had the same problem and reported that:
in F12 there's a separate package for glibc static linking
ok, after installing the static package, it works
Not sure if it's correct fix (I would expect that static libc should be
in staging already for module-init-tools-cross), but you can give it a
try.
Cheers,
--
uin:136542059 jid:Martin.Jansa@gmail.com
Jansa Martin sip:jamasip@voip.wengo.fr
JaMa
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64
2010-01-24 15:43 ` Martin Jansa
@ 2010-01-24 15:45 ` Robert P. J. Day
2010-01-24 15:47 ` Elvis Dowson
1 sibling, 0 replies; 9+ messages in thread
From: Robert P. J. Day @ 2010-01-24 15:45 UTC (permalink / raw)
To: openembedded-devel
On Sun, 24 Jan 2010, Martin Jansa wrote:
> On Sun, Jan 24, 2010 at 07:37:36PM +0400, Elvis Dowson wrote:
> > Hi,
>
> Hi
>
> > | /usr/bin/ld: cannot find -lc
> > | collect2: ld returned 1 exit status
> > | make: *** [insmod.static] Error 1
>
> Thomas White had the same problem and reported that:
>
> in F12 there's a separate package for glibc static linking ok, after
> installing the static package, it works
>
> Not sure if it's correct fix (I would expect that static libc should
> be in staging already for module-init-tools-cross), but you can give
> it a try.
i'm guessing that's it:
# yum install glibc-static
given that i run f12, i ran across that issue some time back.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64
2010-01-24 15:43 ` Martin Jansa
2010-01-24 15:45 ` Robert P. J. Day
@ 2010-01-24 15:47 ` Elvis Dowson
2010-01-24 17:36 ` Robert P. J. Day
1 sibling, 1 reply; 9+ messages in thread
From: Elvis Dowson @ 2010-01-24 15:47 UTC (permalink / raw)
To: openembedded-devel
Hi Martin,
Yes, just found that solution. I'm installing glibc-static right now.
http://old.nabble.com/Error-Compiling-Gumstix-Image-On-Fedora-12-x86_64-td26776355.html#a26776355
Anyway, I'm updating my setup notes for Fedora 12 x86 64-bit, so it will help others doing this.
Best regards,
Elvis
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64
2010-01-24 15:29 Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64 Elvis Dowson
2010-01-24 15:37 ` Elvis Dowson
@ 2010-01-24 16:46 ` Robert P. J. Day
2010-01-24 18:46 ` Elvis Dowson
1 sibling, 1 reply; 9+ messages in thread
From: Robert P. J. Day @ 2010-01-24 16:46 UTC (permalink / raw)
To: OpenEmbedded Developer
On Sun, 24 Jan 2010, Elvis Dowson wrote:
> Hi,
> I am trying to build the overo-oe development environment on
> a new Fedora 12 x86_64 virtual machine image. I am trying to build
> omap3-console-image.
what branch are you working from that has that as a target? i have
no such task on the OE dev branch.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64
2010-01-24 15:47 ` Elvis Dowson
@ 2010-01-24 17:36 ` Robert P. J. Day
2010-01-24 18:54 ` Technote Overo-031: How to setup a development environment for the Overo platform using a Fedora-12 x86 64-bit VMware image Elvis Dowson
0 siblings, 1 reply; 9+ messages in thread
From: Robert P. J. Day @ 2010-01-24 17:36 UTC (permalink / raw)
To: openembedded-devel
On Sun, 24 Jan 2010, Elvis Dowson wrote:
> Hi Martin,
> Yes, just found that solution. I'm installing
> glibc-static right now.
>
> http://old.nabble.com/Error-Compiling-Gumstix-Image-On-Fedora-12-x86_64-td26776355.html#a26776355
>
> Anyway, I'm updating my setup notes for Fedora 12 x86 64-bit, so it
> will help others doing this.
once upon a time, i wrote much the same:
http://www.crashcourse.ca/wiki/index.php/Angstrom
perhaps we should exchange notes to come up with a single complete
set.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64
2010-01-24 16:46 ` Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64 Robert P. J. Day
@ 2010-01-24 18:46 ` Elvis Dowson
0 siblings, 0 replies; 9+ messages in thread
From: Elvis Dowson @ 2010-01-24 18:46 UTC (permalink / raw)
To: openembedded-devel
Hi Robert,
On Jan 24, 2010, at 8:46 PM, Robert P. J. Day wrote:
>
> what branch are you working from that has that as a target? i have
> no such task on the OE dev branch.
Its 1.8. Here is the command fragment that I used, once again.
$ git clone git://git.openembedded.org/bitbake.git
$ cd bitbake
$ git checkout -b 1.8 --track origin/1.8
$ cd ..
After I installed glibc-static, the build errors went away and I was able to do a full build of the omap3-console-image.
I'm now going to time a fresh build to see just how much performance speed up I get over my previous 32-bit Fedora 10 image. Will post the results shortly.
Best regards,
Elvis
^ permalink raw reply [flat|nested] 9+ messages in thread
* Technote Overo-031: How to setup a development environment for the Overo platform using a Fedora-12 x86 64-bit VMware image
2010-01-24 17:36 ` Robert P. J. Day
@ 2010-01-24 18:54 ` Elvis Dowson
0 siblings, 0 replies; 9+ messages in thread
From: Elvis Dowson @ 2010-01-24 18:54 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: OpenEmbedded Developer
Hi Robert,
On Jan 24, 2010, at 9:36 PM, Robert P. J. Day wrote:
>
> once upon a time, i wrote much the same:
>
> http://www.crashcourse.ca/wiki/index.php/Angstrom
>
> perhaps we should exchange notes to come up with a single complete
> set.
I really like documenting stuff. I end up working on so many different things, that I tend to forget stuff after a few weeks, so I make sure I document each and every step. And of course share all that back with the community. :-)
Here's what I've written so far.
Note that there are still some un-resolved errors, such as psyco not working for 64-bit environment, and that for android development, I think I will need to use sun-jdk-1.5.0
Overview
This document describes how to setup a development environment for the Overo platform using a Fedora-12 x86 64-bit VMware image.
Procedure
Step 01.00: Install Fedora 10 into a VMware image.
Ensure that you install the following packages
- development-libraries
- development-tools
Create a new user group called ‘developers’.
Change the primary group for all developers to the ‘developers’ group, e.g. for user ‘elvis’, change the primary group to ‘developers’.
Step 02.00: Enable root login.
Step 02.01: Login as a regular user
$ su
# vi /etc/pam.d/gdm
Click ‘A’ and remove user!=root from the following line
auth required pam_succeed_if.so user!=root quiet
Click Esc and then type the following command :wq!
Now modify the gdm-password file
# vi /etc/pam.d/gdm-password
Click ‘A’ and remove user!=root from the following line
auth required pam_succeed_if.so user!=root quiet
Click Esc and then type the following command :wq!
Step 02.03: Modify /etc/sysctl.conf to make vm.mmap_min_addr = 0.
# vi /etc/sysctl.conf
Add the following line to the sysctl.conf file
vm.mmap_min_addr = 0
Step 02.03: Relogin as root
Step 03.00: Install the vmware tools
$ su
# cd Download/vmware-tools-distrib
# ./vmware-install.pl
You can run the VMware Tools by invoking the following command:
# /usr/bin/vmware-toolbox
To enable advanced X features
1. Manually start /user/bin/vmware-user
2. Log out and log back into your desktop session
3. Restart your X session
Step 04.00: Install Sun JDK 1.5 (optional, only required for android development, not yet validated)
$ su
# cd Downloads/jdk-5u12-linux-i586
# ./jdk-5u12-linux-i586-rpm.bin
Step 05.00: Install Psyco JIT compiler (skip this step, doesn't work for 64-bits yet)
Step 05.01: Download Psyco JIT compiler sources from svn
$ svn co http://codespeak.net/svn/psyco/dist/ psyco-dist
Step 05.02: Run the python installation script as a super user
$ su python setup.py install
Step 06.00: Download, build and install kermit
$ cd /tool
$ wget ftp://www.columbia.edu/kermit/test/tar/x.tar.gz
$ tar zxvf x.tar.gz
$ cd ckermit-9.0
$ make linux
$ su
# make install
This will install kermit in /usr/local/bin/
Set the permissions for /dev/ttyUSB0, so that a developer can access the Overo USB console.
$ su
# chgrp developers /dev/ttyUSB0
Step 07.00: Setup the Overo build environment
Step 07.01: Check out the OpenEmbedded build system.
$ cd /tool
$ mkdir overo-oe
$ cd overo-oe
$ git clone git://gitorious.org/gumstix-oe/mainline.git org.openembedded.dev
$ cd org.openembedded.dev
$ git checkout --track -b overo origin/overo
Step 07.02: Checkout BitBake.
$ cd /tool/overo-oe
$ git clone git://git.openembedded.org/bitbake.git
$ cd bitbake
$ git checkout -b 1.8 --track origin/1.8
$ cd ..
Step 07.03: Creating the OE configuration files and profile.
We now will create a profile script and the configuration files required to tailor OE to our needs.
To make this a somewhat easier task, there is a template for the required files in the openembedded installation we just did.
Copy these files to your overo-oe directory:
$ cp -r org.openembedded.dev/contrib/gumstix/build .
If you have followed the example installation and placed the build system in overo-oe in your home directory, you are now ready to proceed to the next step. If you have installed the build system in a different location you will need to edit overo-oe/build/profile and change the definition of OVEROTOP as appropriate.
Step 07.04: Setup source code caching.
As part of the build process OpenEmbedded downloads source code tarballs for the linux kernel, compiler, and other software packages.
By default this source code cache will be placed in overo-oe/sources. If you would like this cache to be located elsewhere, now is the time to edit build/conf/site.conf and set DL_DIR as appropriate.
For example, if you would like to cache the sources in /usr/share/sources, perform the following steps:
Add new group for cache management and add operating user to this group.
$ sudo groupadd oe
$ sudo usermod -a -G oe {your_username}
Next make source code storing directory and set owner and permission appropriately.
$ sudo mkdir /usr/share/sources
$ sudo chgrp oe /usr/share/sources
$ sudo chmod 0775 /usr/share/sources
$ sudo chmod ug+s /usr/share/sources
Edit the buid/conf/site.conf and set DL_DIR to /usr/share/sources as follows:
DL_DIR = "/usr/share/sources"
Step 07.05: Improve build performance by modifying site.conf to use multiple cores
Edit build/conf/site.conf
PARALLEL_MAKE = "-j 6"
BB_NUMBER_THREADS = "6"
Step 07.06: Reduce disk space usage by modifying local.conf
If you don't need OE to keep around the package source files (and other work files), you can add the following entry to your local.conf:
INHERIT += "rm_work"
This will significantly reduce the amount of disk space used.
Step 07.07: Modify your .bashrc file.
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
#
# Environment setup for java
#
export JAVA_HOME="/usr/java/jdk1.5.0_12"
export PATH="${JAVA_HOME}/bin:$PATH"
#
# end java setup
#
#
# Environment setup for oe
#
export BB_ENV_EXTRAWHITE="MACHINE DISTRO ANGSTROM_MODE OVEROTOP OEBRANCH USERBRANCH"
export OVEROTOP="/tool/overo-oe"
export OEBRANCH="${OVEROTOP}/org.openembedded.dev"
export USERBRANCH="${OVEROTOP}/user.collection"
export CROSSCOMPILER="armv7a"
export PATH="${OVEROTOP}/bitbake/bin:${OVEROTOP}/tmp/cross/${CROSSCOMPILER}/bin:$PATH"
export BBPATH="${OVEROTOP}/build:${USERBRANCH}:${OEBRANCH}"
umask 0002
#
# end oe setup
#
#
# Environment setup for android
#
export REPOTOP="/tool/script"
export ANDROID_JAVA_HOME=$JAVA_HOME
export ANDROID_TOP="/tool/android"
export ANDROID_HOST="linux-x86"
export ANDROID_HOST_TOOLS="${ANDROID_TOP}/out/host/${ANDROID_HOST}/bin"
export PATH="${REPOTOP}:${ANDROID_HOST_TOOLS}:$PATH"
#
# end android setup
#
Step 08.00: Install additional packages required by BitBake.
$ su
# yum install help2man
# yum install texi2html
Step 09.00: Install additional packages required by Fedora 12 x86 64-bit.
$ su
# yum install glibc-static
#
Step 10.00: Build a basic kernel and a non-gui root file system image in one step using the following command
$ bitbake omap3-console-image
$ bitbake x-load
$ bitbake u-boot-omap3
Additional bitbake recipies can be found in org.openembedded.dev/packages/image
$ bitbake omap3-desktop-image
$ bitbake omap3-udesktop-image
If BitBake complains about the mmap_min_addr not being set to 0, type the following :
$ su
# echo “0” > /proc/sys/vm/mmap_min_addr
Step 11.00: Update the org.openembedded.dev sources at regular intervals by typing the following command
$ cd org.openembedded.dev
$ git pull
Related Topics
None
Related Links
01. How to install OpenEmbedded and Bitbake - PIXHAWK.
02. Quick Command Reference for OE - PIXHAWK.
03. Git cheat sheet - Zack Rusin.
Best regards,
Elvis
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-01-24 19:57 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-24 15:29 Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64 Elvis Dowson
2010-01-24 15:37 ` Elvis Dowson
2010-01-24 15:43 ` Martin Jansa
2010-01-24 15:45 ` Robert P. J. Day
2010-01-24 15:47 ` Elvis Dowson
2010-01-24 17:36 ` Robert P. J. Day
2010-01-24 18:54 ` Technote Overo-031: How to setup a development environment for the Overo platform using a Fedora-12 x86 64-bit VMware image Elvis Dowson
2010-01-24 16:46 ` Build failure module-init-tools-cross_3.2.2.bb on Fedora 12 x86_64 Robert P. J. Day
2010-01-24 18:46 ` Elvis Dowson
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.