View previous topic :: View next topic |
Author |
Message |
vorte[x] n00b
Joined: 12 Oct 2004 Posts: 3
|
Posted: Tue Oct 12, 2004 10:46 pm Post subject: 2004.2 / gentoo-dev-sources / modutils failed? |
|
|
Here's what I got:
Code: |
--- snip ---
a - lsmod.o
ar rv libmodutils.a ksyms.o
In file included from modinfo.c:50:
../include/util.h:42: warning: built-in function `log' declared as non-function
a - ksyms.o
ar rv libmodutils.a kallsyms.o
a - kallsyms.o
gcc -march=k6-2 -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0 -DCOMMON_3264 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -DTAINT_URL='"http://www.tux.org/lkml/#export-tainted"' -DONLY_32 -DCOMBINE_rmmod -DCOMBINE_modprobe -DCOMBINE_lsmod -DCOMBINE_ksyms -DCOMBINE_kallsyms -Dmain=combined_insmod_main -c -o combined_insmod.o insmod.c
In file included from insmod.c:79:
../include/util.h:42: warning: built-in function `log' declared as non-function
insmod.c: In function `add_symbols_from':
insmod.c:278: warning: use of cast expressions as lvalues is deprecated
gcc -march=k6-2 -O3 -pipe -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0 -DCOMMON_3264 -DELF_MACHINE_H='"elf_x86_64.h"' -DARCH_x86_64 -DONLY_64 -malign-double -DTAINT_URL='"http://www.tux.org/lkml/#export-tainted"' -DCOMBINE_rmmod -DCOMBINE_modprobe -DCOMBINE_lsmod -DCOMBINE_ksyms -DCOMBINE_kallsyms -Dmain=combined_insmod_main -c -o combined_insmod_64.o insmod.c
In file included from insmod.c:79:
../include/util.h:42: warning: built-in function `log' declared as non-function
insmod.c: In function `add_symbols_from':
insmod.c:278: warning: use of cast expressions as lvalues is deprecated
gcc -march=k6-2 -O3 -pipe -fomit-frame-pointer -o insmod insmod.o insmod_64.o kallsyms_64.o rmmod.o modprobe.o lsmod.o ksyms.o kallsyms.o ../obj/libobj.a ../util/libutil.a -Wl,-Bstatic -Wl,-Bdynamic
gcc -march=k6-2 -O3 -pipe -fomit-frame-pointer -o modinfo modinfo.o modinfo_64.o ../obj/libobj.a ../util/libutil.a -Wl,-Bstatic -Wl,-Bdynamic
gcc -static -march=k6-2 -O3 -pipe -fomit-frame-pointer -o insmod.static insmod.o insmod_64.o kallsyms_64.o rmmod.o modprobe.o lsmod.o ksyms.o kallsyms.o ../obj/libobj.a ../util/libutil.a
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.4/../../../../i586-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[1]: *** [insmod.static] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/module-init-tools-3.0-r2/work/modutils-2.4.27/insmod'
make: *** [all] Error 2
!!! ERROR: sys-apps/module-init-tools-3.0-r2 failed.
!!! Function src_compile, Line 79, Exitcode 2
!!! emake modutils failed
|
Already tried re-syncing via 'emerge sync' - No go. Became quite confused with the last line referencing modutils...
Appreciate any help anyone can provide, in advance! |
|
Back to top |
|
|
vorte[x] n00b
Joined: 12 Oct 2004 Posts: 3
|
Posted: Tue Oct 12, 2004 10:47 pm Post subject: |
|
|
And here's the output of emerge --info, just in case it'll be of any help.
Code: |
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.16
Autoconf:
Automake:
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://gentoo.binarycompass.org http://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts crypt cups encode f77 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
|
|
|
Back to top |
|
|
vorte[x] n00b
Joined: 12 Oct 2004 Posts: 3
|
Posted: Tue Oct 12, 2004 11:10 pm Post subject: |
|
|
Noticed collect2 is a component of CC/GCC so I reckon the bootstrap didn't complete as intended - Starting over now, will report back with results |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|