View previous topic :: View next topic |
Author |
Message |
-rulez- n00b
Joined: 02 Nov 2005 Posts: 15
|
Posted: Sun Nov 27, 2005 6:29 pm Post subject: emerge sysfsutiles fehler [gelöst] |
|
|
Hi,
ich wollte nun nach dem HOWTO von http://de.gentoo-wiki.com/HOWTO_Udev Udev einrichten, doch leider bekomm ich schon beim emerge von sysfsutils einen fehler
Code: | emerge sysfsutils
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-fs/sysfsutils-1.3.0 to /
>>> md5 files ;-) sysfsutils-0.3.0.ebuild
>>> md5 files ;-) sysfsutils-1.2.0-r3.ebuild
>>> md5 files ;-) sysfsutils-1.3.0.ebuild
>>> md5 files ;-) sysfsutils-0.4.0.ebuild
>>> md5 files ;-) sysfsutils-1.0.0.ebuild
>>> md5 files ;-) sysfsutils-1.2.0-r2.ebuild
>>> md5 files ;-) sysfsutils-0.2.0.ebuild
>>> md5 files ;-) sysfsutils-1.2.0-r1.ebuild
>>> md5 files ;-) sysfsutils-1.2.0.ebuild
>>> md5 files ;-) files/sysfsutils-1.2.0-write-attribute.patch
>>> md5 files ;-) files/digest-sysfsutils-1.2.0-r1
>>> md5 files ;-) files/digest-sysfsutils-1.2.0-r2
>>> md5 files ;-) files/digest-sysfsutils-1.2.0-r3
>>> md5 files ;-) files/digest-sysfsutils-0.2.0
>>> md5 files ;-) files/digest-sysfsutils-0.3.0
>>> md5 files ;-) files/digest-sysfsutils-0.4.0
>>> md5 files ;-) files/digest-sysfsutils-1.0.0
>>> md5 files ;-) files/digest-sysfsutils-1.2.0
>>> md5 files ;-) files/digest-sysfsutils-1.3.0
>>> md5 files ;-) files/sysfsutils-1.0.0-dont-check-for-libsysfs.patch
>>> md5 src_uri ;-) sysfsutils-1.3.0.tar.gz
>>> Unpacking source...
>>> Unpacking sysfsutils-1.3.0.tar.gz to /var/tmp/portage/sysfsutils-1.3.0/work
* Running elibtoolize in: sysfsutils-1.3.0
* Applying portage-1.4.1.patch ...
* Applying sed-1.4.0.patch ...
* Applying uclibc-conf-1.2.0.patch ...
>>> Source unpacked.
* econf: updating sysfsutils-1.3.0/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating sysfsutils-1.3.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for objdir... .libs
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... (cached) gawk
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether lstat accepts an empty string... no
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking whether stat accepts an empty string... no
checking for bzero... yes
checking for getmntent... yes
checking for isascii... yes
checking for memset... yes
checking for strchr... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cmd/Makefile
config.status: creating lib/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/var/tmp/portage/sysfsutils-1.3.0/work/sysfsutils-1.3.0'
Making all in lib
make[2]: Entering directory `/var/tmp/portage/sysfsutils-1.3.0/work/sysfsutils-1.3.0/lib'
source='sysfs_utils.c' object='libsysfs_la-sysfs_utils.lo' libtool=yes \
depfile='.deps/libsysfs_la-sysfs_utils.Plo' tmpdepfile='.deps/libsysfs_la-sysfs_utils.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -W -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -march=athlon-xp -02 -pipe -c -o libsysfs_la-sysfs_utils.lo `test -f 'sysfs_utils.c' || echo './'`sysfs_utils.c
source='sysfs_dir.c' object='libsysfs_la-sysfs_dir.lo' libtool=yes \
depfile='.deps/libsysfs_la-sysfs_dir.Plo' tmpdepfile='.deps/libsysfs_la-sysfs_dir.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -W -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -march=athlon-xp -02 -pipe -c -o libsysfs_la-sysfs_dir.lo `test -f 'sysfs_dir.c' || echo './'`sysfs_dir.c
mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -W -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -march=athlon-xp -02 -pipe -c sysfs_utils.c -MT libsysfs_la-sysfs_utils.lo -MD -MP -MF .deps/libsysfs_la-sysfs_utils.TPlo -fPIC -DPIC
i686-pc-linux-gnu-gcc: unrecognized option `-02'
i686-pc-linux-gnu-gcc: unrecognized option `-02'
mv -f libsysfs_la-sysfs_utils.o .libs/libsysfs_la-sysfs_utils.lo
mv: cannot stat `libsysfs_la-sysfs_utils.o': No such file or directory
make[2]: *** [libsysfs_la-sysfs_utils.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
rm -f .libs/libsysfs_la-sysfs_dir.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -W -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -march=athlon-xp -02 -pipe -c sysfs_dir.c -MT libsysfs_la-sysfs_dir.lo -MD -MP -MF .deps/libsysfs_la-sysfs_dir.TPlo -fPIC -DPIC
i686-pc-linux-gnu-gcc: unrecognized option `-02'
i686-pc-linux-gnu-gcc: unrecognized option `-02'
mv -f libsysfs_la-sysfs_dir.o .libs/libsysfs_la-sysfs_dir.lo
mv: cannot stat `libsysfs_la-sysfs_dir.o': No such file or directory
make[2]: *** [libsysfs_la-sysfs_dir.lo] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/sysfsutils-1.3.0/work/sysfsutils-1.3.0/lib'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/sysfsutils-1.3.0/work/sysfsutils-1.3.0'
make: *** [all] Fehler 2
!!! ERROR: sys-fs/sysfsutils-1.3.0 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
| und dieses Thread hat mir auch nicht weiter geholfen.
Code: | emerge info
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r3 i686)
=================================================================
System uname: 2.6.14-gentoo-r3 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.0_pre11
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.13
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20-r1
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -02 -pipe -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -02 -pipe -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo "
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdb cdr crypt cups curl dvd eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java jpeg kde lcms libg++ libwww mad mikmod mjpeg mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline recode samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wxwindows xine xml2 xmms xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LDFLAGS
| und ich hab es mit den 3 CFLAGS optionen versucht
Code: | CFLAGS="-march=athlon-xp -02 -pipe -march=i686 -fomit-frame-pointer"
CFLAGS="-march=athlon-xp -02 -pipe -march=i686 "
CFLAGS="-march=athlon-xp -02 -pipe" | jedoch ohne erfolg.
Wer hat nen Tipp wie ich den fehler weg bekomm
mfg
Last edited by -rulez- on Mon Nov 28, 2005 9:10 am; edited 1 time in total |
|
Back to top |
|
|
noergeli Apprentice
Joined: 05 Oct 2004 Posts: 205 Location: Hamburg, Gemany
|
Posted: Sun Nov 27, 2005 11:13 pm Post subject: |
|
|
moin,
1. Wenn ich das richtig seh, hast du deine Optimierung in den CFlags falsch angegeben. Code: | unrecognized option `-02 | Dürfte dein Problem zwar nicht lösen, aber wenn du in den Genuss des Flags kommen möchtest, solltest du daraus ein -O2 machen, also den Buchstaben "O", nicht die Zahl 0 (null).
Außerdem sollte es reichen, -march nur einmal zu benutzen.
2. In dem von dir erwähnten thread und dem dort erwähnten Bug-report wird als Lösung vorgeschlagen, das Paket ohne CFLAGS, bzw. mit CFLAGS="" zu emergen. Hast du das auch probiert? Wenn ja, bleibt die Fehlermeldung die gleiche? |
|
Back to top |
|
|
-rulez- n00b
Joined: 02 Nov 2005 Posts: 15
|
Posted: Mon Nov 28, 2005 9:09 am Post subject: |
|
|
noergeli wrote: | aber wenn du in den Genuss des Flags kommen möchtest, solltest du daraus ein -O2 machen, also den Buchstaben "O", nicht die Zahl 0 (null). |
Joa super danke. das war mein dummer fehler.
vielen dank |
|
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
|
|