SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Mon Oct 29, 2007 11:04 am Post subject: zsh && gpm - błędy kompilacji. [libpcre?] |
|
|
Witam, mam jakieś dziwne problemy z emergowaniem gpm i zsh.
Zsh zwraca:
Code: | x86_64-pc-linux-gnu-gcc -shared -o parameter.so parameter..o -L/usr/lib64 /usr/lib64/libpcre.a -ldl -lnsl -lncurses -lm -lc
x86_64-pc-linux-gnu-gcc -c -I. -DHAVE_CONFIG_H -DMODULE -march=k8 -msse3 -Os -pipe -fPIC -o pcre..o pcre.c
( echo '#!'; cat pcre.syms | sed -n '/^X/{s/^X//;p;}' | sort -u ) > pcre.export
rm -f pcre.so
x86_64-pc-linux-gnu-gcc -shared -o pcre.so pcre..o -L/usr/lib64 /usr/lib64/libpcre.a -ldl -lnsl -lncurses -lm -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libpcre.a(pcre_compile.o): relocation R_X86_64_32S against `_pcre_utf8_table4' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libpcre.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [pcre.so] Błąd 1
make[3]: Opuszczenie katalogu `/var/tmp/portage/app-shells/zsh-4.3.4/work/zsh-4.3.4/Src/Modules'
make[2]: *** [modules] Błąd 1
make[2]: Opuszczenie katalogu `/var/tmp/portage/app-shells/zsh-4.3.4/work/zsh-4.3.4/Src'
make[1]: *** [modules] Błąd 2
make[1]: Opuszczenie katalogu `/var/tmp/portage/app-shells/zsh-4.3.4/work/zsh-4.3.4/Src'
make: *** [all] Błąd 1
*
* ERROR: app-shells/zsh-4.3.4 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* zsh-4.3.4.ebuild, line 80: Called die
* The specific snippet of code:
* emake || die "make failed"
* The die message:
* make failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-shells/zsh-4.3.4/temp/build.log'.
*
* Messages for package app-shells/zsh-4.3.4:
*
* ERROR: app-shells/zsh-4.3.4 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* zsh-4.3.4.ebuild, line 80: Called die
* The specific snippet of code:
* emake || die "make failed"
* The die message:
* make failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-shells/zsh-4.3.4/temp/build.log'.
*
betrayed ~ # |
Natomiast gpm
Code: | x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -march=k8 -msse3 -Os -pipe -march=k8 -msse3 -Os -pipe -c -o mice.o mice.c
gpm.c: In function ‘getMouseData’:
gpm.c:380: warning: pointer targets in initialization differ in signedness
gpm.c:399: warning: pointer targets in return differ in signedness
gpm.c:430: warning: pointer targets in return differ in signedness
gpm.c: In function ‘processMouse’:
gpm.c:482: warning: pointer targets in passing argument 2 of ‘which_mouse->m_type->fun’ differ in signedness
gpm.c: In function ‘processConn’:
gpm.c:812: warning: passing argument 3 of ‘accept’ from incompatible pointer type
gpm.c: In function ‘old_main’:
gpm.c:1123: warning: value computed is not used
gpm.c:1177: warning: no return statement in function returning non-void
gpm.c: In function ‘open_console’:
gpm.c:172: warning: control reaches end of non-void function
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -march=k8 -msse3 -Os -pipe -march=k8 -msse3 -Os -pipe -c -o special.o special.c
mice.c:170: warning: type qualifiers ignored on function return type
mice.c: In function ‘option_modem_lines’:
mice.c:185: warning: pointer targets in initialization differ in signedness
mice.c:186: warning: pointer targets in initialization differ in signedness
mice.c:187: warning: pointer targets in initialization differ in signedness
mice.c: In function ‘M_gunze’:
mice.c:1323: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness
gpm.c:165: warning: ‘si.line’ is used uninitialized in this function
special.c: In function ‘processSpecial’:
special.c:158: error: ‘OPEN_MAX’ undeclared (first use in this function)
special.c:158: error: (Each undeclared identifier is reported only once
special.c:158: error: for each function it appears in.)
make[1]: *** [special.o] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
make[1]: Opuszczenie katalogu `/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src'
make: *** [do-all] Błąd 1
*
* ERROR: sys-libs/gpm-1.20.1-r6 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* gpm-1.20.1-r6.ebuild, line 44: Called die
* The specific snippet of code:
* emake \
* CC=$(tc-getCC) \
* AR=$(tc-getAR) \
* RANLIB=$(tc-getRANLIB) \
* EMACS=: \
* || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-libs/gpm-1.20.1-r6/temp/build.log'.
*
* Messages for package sys-libs/gpm-1.20.1-r6:
*
* ERROR: sys-libs/gpm-1.20.1-r6 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* gpm-1.20.1-r6.ebuild, line 44: Called die
* The specific snippet of code:
* emake \
* CC=$(tc-getCC) \
* AR=$(tc-getAR) \
* RANLIB=$(tc-getRANLIB) \
* EMACS=: \
* || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-libs/gpm-1.20.1-r6/temp/build.log'.
*
betrayed ~ # |
emerge --info
Code: | Portage 2.1.3.16 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-hardened x86_64)
=================================================================
System uname: 2.6.23-hardened x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+
Timestamp of tree: Sun, 28 Oct 2007 14:30:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python: 2.5.1-r3
sys-apps/baselayout: 2.0.0_rc5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -msse3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.prz.rzeszow.pl"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/mozilla /usr/local/overlays/myownoverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dbus dri dvd dvdr encode flac fortran gdbm gif gpm iconv isdnlog jpeg midi mmx mmxext mp3 mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre perl png pppd python readline reflection sdl session slang spl sse sse2 ssl tcpd threads truetype truetype-fonts type1-fonts unicode vorbis x264 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
Pewnie to wina libpcre ale nie bardzo kminie co zrobić.
Drodzy parafianie, pomocy. |
|