Portál AbcLinuxu, 14. července 2025 21:04
Chyba při kompilaci Firefox:
nsinstall.c: In function `mkdirs': nsinstall.c:127: error: `EEXIST' undeclared (first use in this function) nsinstall.c:127: error: (Each undeclared identifier is reported only once nsinstall.c:127: error: for each function it appears in.) gmake[1]: *** [host_nsinstall.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: *** [host_pathsub.o] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.4/work/mozilla/ config' make: *** [default] Error 2
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r6/work/narrowc/include' cd ncurses && make DESTDIR="" sources make[1]: Entering directory `/var/tmp/portage/ncurses-5.4-r6/work/narrowc/ncurses' sh /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/base/MKlib_gen.sh "i686-pc-linux-gnu-gcc -E -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG" "gawk" generated <../include/curses.h | \ fgrep undef >../include/nomacros.h gawk -f /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tinfo/MKnames.awk /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/../include/Caps cat namehdr boolnames boolfnames numnames numfnames strnames strfnames nameftr >names.c cat namehdr boolcodes numcodes strcodes codeftr >codes.c rm -f namehdr nameftr codeftr boolnames boolfnames boolcodes numnames numfnames numcodes strnames strfnames strcodes gcc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG -O3 -fomit-frame-pointer -pipe -march=pentium4 -DMAIN_PROGRAM /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tinfo/comp_hash.c In file included from /usr/include/errno.h:36, from /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/curses.priv.h:94, from /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tinfo/comp_hash.c:40: /usr/include/bits/errno.h:25:26: linux/errno.h: není souborem ani adresářem In file included from /usr/include/signal.h:328, from /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/curses.priv.h:115, from /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tinfo/comp_hash.c:40: /usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: není souborem ani adresářem In file included from /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tinfo/comp_hash.c:68: /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tinfo/doalloc.c: In function `_nc_doalloc': /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tinfo/doalloc.c:52: error: `ENOMEM' undeclared (first use in this function) /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tinfo/doalloc.c:52: error: (Each undeclared identifier is reported only once /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tinfo/doalloc.c:52: error: for each function it appears in.) make[1]: *** [make_hash] Error 1 make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r6/work/narrowc/ncurses' make: *** [sources] Error 2
checking how to run the C preprocessor... /lib/cpp configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details.config.log
CFLAGS="-O3 -fomit-frame-pointer -pipe -march=pentium4"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-O3 -fomit-frame-pointer -pipe -march=pentium4"
MAKEOPTS="-j2"
USE="x86 X sdl samba usb xmms a52 aac aalib acpi aim alsa arts audiofile avi cdr cups qt pcmcia directfb divx4linux dvd dvdr dvdread encode ffmpeg kde jpeg pda ogg oggvorbis openal opengl mpeg kdexdeltas matroska mikmod mmx mmx2 mp4 sse sse2 -apm
-gnome -svga"
LINGUAS="cs"
# qpkg -fp linux/errno.h sys-kernel/ck-sources * sys-kernel/linux-headers *vychazi mi jako nadejne reseni # emerge --ask --verbose --oneshot linux-headers
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.