|
|
>>> Emerging (1 of 1) app-laptop/tp_smapi-0.37
* tp_smapi-0.37.tgz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.25-gentoo-r7hdaps
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking tp_smapi-0.37.tgz to /var/tmp/portage/app-laptop/tp_smapi-0.37/work
* Applying thinkpad_ec_semaphore.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37 ...
* Preparing thinkpad_ec module
make -C /usr/src/linux M=/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37 O=/usr/src/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r7'
CC [M] /var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.o
CC [M] /var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/tp_smapi.o
CC [M] /var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/hdaps.o
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:39:29: error: linux/semaphore.h: No such file or directory
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:86: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX'
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:86: warning: parameter names (without types) in function declaration
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c: In function 'thinkpad_ec_lock':
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:97: error: implicit declaration of function 'down_interruptible'
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:97: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:97: error: (Each undeclared identifier is reported only once
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:97: error: for each function it appears in.)
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c: In function 'thinkpad_ec_try_lock':
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:111: error: implicit declaration of function 'down_trylock'
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:111: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c: In function 'thinkpad_ec_unlock':
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:123: error: implicit declaration of function 'up'
/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.c:123: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
make[3]: *** [/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37/thinkpad_ec.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/app-laptop/tp_smapi-0.37/work/tp_smapi-0.37] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r7'
make: *** [modules] Error 2
*
* ERROR: app-laptop/tp_smapi-0.37 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3169: Called linux-mod_src_compile
* environment, line 2433: Called die
* The specific snippet of code:
* eval "emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= KSRC=/usr/src/linux KBUILD=/usr/src/linux HDAPS=1 default
*
* 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-laptop/tp_smapi-0.37/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-laptop/tp_smapi-0.37/temp/environment'.
*
>>> Failed to emerge app-laptop/tp_smapi-0.37, Log file:
>>> '/var/tmp/portage/app-laptop/tp_smapi-0.37/temp/build.log'
* Messages for package app-laptop/tp_smapi-0.37:
*
* ERROR: app-laptop/tp_smapi-0.37 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3169: Called linux-mod_src_compile
* environment, line 2433: Called die
* The specific snippet of code:
* eval "emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS= KSRC=/usr/src/linux KBUILD=/usr/src/linux HDAPS=1 default
*
* 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-laptop/tp_smapi-0.37/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-laptop/tp_smapi-0.37/temp/environment'.
*
below is emerge --info
laptop ~ # emerge --info
Portage 2.2_rc11 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7hdaps i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r7hdaps-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0
Timestamp of tree: Fri, 03 Oct 2008 09:05:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.5.2-r7
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r2
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.lecl.net/pub/gentoo/ "
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en zh zh_CN zh_TW"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china /usr/portage/local/layman/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa asf avahi avi bash-completion berkdb bitmap-fonts blas bzip2 cdparanoia cdr chm cjk cli cracklib crypt cups dbus divx4linux dri dv dvd dvdread emacs encode examples exif ffmpeg firefox flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gtk hal hdaps iconv isdnlog java jpeg lame lm_sensors mad midi mjpeg mp3 mp4 mpeg msn mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qq quicktime rar readline real reflection session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype type1 unicode usb vcd vim-syntax vorbis win32codecs wmv x86 xcb xft xine xinerama xml xorg xscreensaver xv xvid zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh zh_CN zh_TW" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
|