Code: Select all
uhura ~ # emerge -av cpio
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] app-arch/cpio-2.9-r2 USE="nls" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-arch/cpio-2.9-r2
* cpio-2.9.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking cpio-2.9.tar.bz2 to /var/tmp/portage/app-arch/cpio-2.9-r2/work
* Applying cpio-2.9-CVE-2007-4476.patch ... [ ok ]
* Applying cpio-2.9-gnu-inline.patch ... [ ok ]
* Applying cpio-2.9-restore-perms-owners.patch ... [ ok ]
>>> Source unpacked in /var/tmp/portage/app-arch/cpio-2.9-r2/work
>>> Compiling source in /var/tmp/portage/app-arch/cpio-2.9-r2/work/cpio-2.9 ...
* econf: updating cpio-2.9/build-aux/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating cpio-2.9/build-aux/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 --enable-nls --bindir=/bin --with-rmt=/usr/sbin/rmt --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-arch/cpio-2.9-r2/work/cpio-2.9/config.log
*
* ERROR: app-arch/cpio-2.9-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2100: Called econf '--enable-nls' '--bindir=/bin' '--with-rmt=/usr/sbin/rmt'
* ebuild.sh, line 543: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf 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-arch/cpio-2.9-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-arch/cpio-2.9-r2/temp/environment'.Code: Select all
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU cpio configure 2.9, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls --bindir=/bin --with-rmt=/usr/sbin/rmt --build=i686-pc-linux-gnu
## --------- ##
## Platform. ##
## --------- ##
hostname = uhura
uname -m = i686
uname -r = 2.6.28-gentoo-r2
uname -s = Linux
uname -v = #1 SMP Tue Feb 17 21:13:36 CET 2009
/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.1.2
PATH: /usr/qt/3/bin
PATH: /opt/vmware/server/console/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2074: checking for a BSD-compatible install
configure:2130: result: /usr/bin/install -c
configure:2141: checking whether build environment is sane
configure:2184: result: yes
configure:2249: checking for gawk
configure:2265: found /bin/gawk
configure:2276: result: gawk
configure:2287: checking whether make sets $(MAKE)
configure:2308: result: yes
configure:2515: checking for style of include used by make
configure:2543: result: GNU
configure:2576: checking for i686-pc-linux-gnu-gcc
configure:2592: found /usr/bin/i686-pc-linux-gnu-gcc
configure:2603: result: i686-pc-linux-gnu-gcc
configure:2881: checking for C compiler version
configure:2888: i686-pc-linux-gnu-gcc --version >&5
i686-pc-linux-gnu-gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2891: $? = 0
configure:2898: i686-pc-linux-gnu-gcc -v >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-java-awt=gtk --with-arch=i686 --enable-languages=c,c++,java,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 (Gentoo 4.1.2 p1.3)
configure:2901: $? = 0
configure:2908: i686-pc-linux-gnu-gcc -V >&5
i686-pc-linux-gnu-gcc: '-V' option must have argument
configure:2911: $? = 1
configure:2934: checking for C compiler default output file name
configure:2961: i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe -Wl,-O1 conftest.c >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000080480c0
configure:2964: $? = 0
configure:3010: result: a.out
configure:3015: checking whether the C compiler works
configure:3025: ./a.out
[33;01mQA: Static ELF[0m ./a.out
./configure: line 3026: 21120 Segmentation fault ./$ac_file
configure:3028: $? = 139
configure:3037: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=nocona -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_DEFAULT_RMT_DIR_set=
ac_cv_env_DEFAULT_RMT_DIR_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-O1
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=i686-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /var/tmp/portage/app-arch/cpio-2.9-r2/work/cpio-2.9/build-aux/missing --run aclocal-1.9'
ALLOCA=''
ALLOCA_H=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/app-arch/cpio-2.9-r2/work/cpio-2.9/build-aux/missing --run tar'
AUTOCONF='${SHELL} /var/tmp/portage/app-arch/cpio-2.9-r2/work/cpio-2.9/build-aux/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/app-arch/cpio-2.9-r2/work/cpio-2.9/build-aux/missing --run autoheader'
AUTOM4TE=''
AUTOMAKE='${SHELL} /var/tmp/portage/app-arch/cpio-2.9-r2/work/cpio-2.9/build-aux/missing --run automake-1.9'
AWK='gawk'
BITSIZEOF_PTRDIFF_T=''
BITSIZEOF_SIG_ATOMIC_T=''
BITSIZEOF_SIZE_T=''
BITSIZEOF_WCHAR_T=''
BITSIZEOF_WINT_T=''
CC='i686-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-O2 -march=nocona -pipe'
CPIO_MT_PROG=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFAULT_RMT_COMMAND=''
DEFAULT_RMT_DIR=''
DEFS=''
DEPDIR='.deps'
DIRENT_H=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EOVERFLOW=''
EXEEXT=''
FCNTL_H=''
FLOAT_H=''
FNMATCH_H=''
GETOPT_H=''
GL_COND_LIBTOOL_FALSE=''
GL_COND_LIBTOOL_TRUE=''
GMSGFMT=''
GMSGFMT_015=''
GNULIB_CHOWN=''
GNULIB_DUP2=''
GNULIB_FCHDIR=''
GNULIB_FFLUSH=''
GNULIB_FPRINTF_POSIX=''
GNULIB_FSEEK=''
GNULIB_FSEEKO=''
GNULIB_FTELL=''
GNULIB_FTELLO=''
GNULIB_FTRUNCATE=''
GNULIB_GETCWD=''
GNULIB_GETLOGIN_R=''
GNULIB_GETSUBOPT=''
GNULIB_IMAXABS=''
GNULIB_IMAXDIV=''
GNULIB_LCHOWN=''
GNULIB_LSEEK=''
GNULIB_MBSCASECMP=''
GNULIB_MBSCASESTR=''
GNULIB_MBSCHR=''
GNULIB_MBSCSPN=''
GNULIB_MBSLEN=''
GNULIB_MBSNCASECMP=''
GNULIB_MBSNLEN=''
GNULIB_MBSPBRK=''
GNULIB_MBSPCASECMP=''
GNULIB_MBSRCHR=''
GNULIB_MBSSEP=''
GNULIB_MBSSPN=''
GNULIB_MBSSTR=''
GNULIB_MBSTOK_R=''
GNULIB_MEMMEM=''
GNULIB_MEMPCPY=''
GNULIB_MEMRCHR=''
GNULIB_MKDTEMP=''
GNULIB_MKSTEMP=''
GNULIB_PRINTF_POSIX=''
GNULIB_READLINK=''
GNULIB_SLEEP=''
GNULIB_SNPRINTF=''
GNULIB_SPRINTF_POSIX=''
GNULIB_STPCPY=''
GNULIB_STPNCPY=''
GNULIB_STRCASESTR=''
GNULIB_STRCHRNUL=''
GNULIB_STRDUP=''
GNULIB_STRNDUP=''
GNULIB_STRNLEN=''
GNULIB_STRPBRK=''
GNULIB_STRSEP=''
GNULIB_STRTOIMAX=''
GNULIB_STRTOK_R=''
GNULIB_STRTOUMAX=''
GNULIB_VASPRINTF=''
GNULIB_VFPRINTF_POSIX=''
GNULIB_VPRINTF_POSIX=''
GNULIB_VSNPRINTF=''
GNULIB_VSPRINTF_POSIX=''
GREP=''
HAVE_DECL_GETLOGIN_R=''
HAVE_DECL_IMAXABS=''
HAVE_DECL_IMAXDIV=''
HAVE_DECL_MEMMEM=''
HAVE_DECL_MEMRCHR=''
HAVE_DECL_MKDIR=''
HAVE_DECL_SNPRINTF=''
HAVE_DECL_STRDUP=''
HAVE_DECL_STRNCASECMP=''
HAVE_DECL_STRNDUP=''
HAVE_DECL_STRNLEN=''
HAVE_DECL_STRTOIMAX=''
HAVE_DECL_STRTOK_R=''
HAVE_DECL_STRTOUMAX=''
HAVE_DECL_VSNPRINTF=''
HAVE_DUP2=''
HAVE_FSEEKO=''
HAVE_FTELLO=''
HAVE_FTRUNCATE=''
HAVE_GETSUBOPT=''
HAVE_INTTYPES_H=''
HAVE_IO_H=''
HAVE_ISWCNTRL=''
HAVE_LONG_LONG_INT=''
HAVE_LSTAT=''
HAVE_MEMPCPY=''
HAVE_MKDTEMP=''
HAVE_READLINK=''
HAVE_SIGNED_SIG_ATOMIC_T=''
HAVE_SIGNED_WCHAR_T=''
HAVE_SIGNED_WINT_T=''
HAVE_SLEEP=''
HAVE_STDINT_H=''
HAVE_STPCPY=''
HAVE_STPNCPY=''
HAVE_STRCASECMP=''
HAVE_STRCASESTR=''
HAVE_STRCHRNUL=''
HAVE_STRNDUP=''
HAVE_STRPBRK=''
HAVE_STRSEP=''
HAVE_STRUCT_TIMEVAL=''
HAVE_SYSEXITS_H=''
HAVE_SYS_BITYPES_H=''
HAVE_SYS_INTTYPES_H=''
HAVE_SYS_TIME_H=''
HAVE_SYS_TYPES_H=''
HAVE_UNISTD_H=''
HAVE_UNSIGNED_LONG_LONG_INT=''
HAVE_VASPRINTF=''
HAVE_WCHAR_H=''
HAVE_WCTYPE_H=''
HAVE_WINT_T=''
HAVE__BOOL=''
INCLUDE_NEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
INTTYPES_H=''
LDFLAGS='-Wl,-O1'
LIBCPIO_LIBDEPS=''
LIBCPIO_LTLIBDEPS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIB_CLOCK_GETTIME=''
LIB_SETSOCKOPT=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/app-arch/cpio-2.9-r2/work/cpio-2.9/build-aux/missing --run makeinfo'
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
NEXT_DIRENT_H=''
NEXT_FCNTL_H=''
NEXT_FLOAT_H=''
NEXT_INTTYPES_H=''
NEXT_STDINT_H=''
NEXT_STDIO_H=''
NEXT_STDLIB_H=''
NEXT_STRING_H=''
NEXT_SYSEXITS_H=''
NEXT_SYS_STAT_H=''
NEXT_SYS_TIME_H=''
NEXT_TIME_H=''
NEXT_UNISTD_H=''
NEXT_WCHAR_H=''
NEXT_WCTYPE_H=''
OBJEXT=''
PACKAGE='cpio'
PACKAGE_BUGREPORT='bug-cpio@gnu.org'
PACKAGE_NAME='GNU cpio'
PACKAGE_STRING='GNU cpio 2.9'
PACKAGE_TARNAME='cpio'
PACKAGE_VERSION='2.9'
PATH_SEPARATOR=':'
POSUB=''
PRIPTR_PREFIX=''
PRI_MACROS_BROKEN=''
PTRDIFF_T_SUFFIX=''
PU_RMT_PROG=''
RANLIB=''
REPLACE_CHOWN=''
REPLACE_FCHDIR=''
REPLACE_FFLUSH=''
REPLACE_FPRINTF=''
REPLACE_FSEEK=''
REPLACE_FSEEKO=''
REPLACE_FTELL=''
REPLACE_FTELLO=''
REPLACE_GETCWD=''
REPLACE_GETTIMEOFDAY=''
REPLACE_LCHOWN=''
REPLACE_LOCALTIME_R=''
REPLACE_LSEEK=''
REPLACE_MKSTEMP=''
REPLACE_NANOSLEEP=''
REPLACE_PRINTF=''
REPLACE_SNPRINTF=''
REPLACE_SPRINTF=''
REPLACE_STRPTIME=''
REPLACE_TIMEGM=''
REPLACE_VASPRINTF=''
REPLACE_VFPRINTF=''
REPLACE_VPRINTF=''
REPLACE_VSNPRINTF=''
REPLACE_VSPRINTF=''
SET_MAKE=''
SHELL='/bin/sh'
SIG_ATOMIC_T_SUFFIX=''
SIZE_T_SUFFIX=''
STDBOOL_H=''
STDINT_H=''
STRIP=''
SYSEXITS_H=''
SYS_STAT_H=''
SYS_TIME_H=''
SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=''
TIME_H_DEFINES_STRUCT_TIMESPEC=''
USE_NLS=''
VERSION='2.9'
WCHAR_H=''
WCHAR_T_SUFFIX=''
WCTYPE_H=''
WINT_T_SUFFIX=''
XGETTEXT=''
XGETTEXT_015=''
YACC=''
YFLAGS=''
ac_ct_CC=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gl_LIBOBJS=''
gl_LTLIBOBJS=''
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/app-arch/cpio-2.9-r2/work/cpio-2.9/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "GNU cpio"
#define PACKAGE_TARNAME "cpio"
#define PACKAGE_VERSION "2.9"
#define PACKAGE_STRING "GNU cpio 2.9"
#define PACKAGE_BUGREPORT "bug-cpio@gnu.org"
#define PACKAGE "cpio"
#define VERSION "2.9"
#define _GNU_SOURCE 1
configure: exit 1
Code: Select all
Mar 9 07:45:21 uhura [ 1178.299487] a.out[20470]: segfault at 1 ip 00000001 sp bff67914 error 14 in a.out[8048000+1000]Code: Select all
uhura ~ # gcc-config -l
[1] i686-pc-linux-gnu-3.4.6Code: Select all
uhura ~ # gcc-config -l
[1] i686-pc-linux-gnu-4.1.2Code: Select all
uhura ~ # emerge -av powertop
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-power/powertop-1.9 USE="unicode" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-power/powertop-1.9
* powertop-1.9.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking powertop-1.9.tar.gz to /var/tmp/portage/sys-power/powertop-1.9/work
>>> Source unpacked in /var/tmp/portage/sys-power/powertop-1.9/work
>>> Compiling source in /var/tmp/portage/sys-power/powertop-1.9/work/powertop-1.9 ...
make -j3
i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe -c -o powertop.o powertop.c
i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe -c -o config.o config.c
In file included from powertop.c:39:
powertop.h:101: error: expected declaration specifiers or '...' before 'time_t'
powertop.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'start_usage'
powertop.c:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'last_usage'
powertop.c:59: error: expected specifier-qualifier-list before 'uint64_t'
powertop.c:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'last_bat_time'
powertop.c:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'prev_bat_time'
powertop.c: In function 'push_line':
powertop.c:87: error: 'NULL' undeclared (first use in this function)
powertop.c:87: error: (Each undeclared identifier is reported only once
powertop.c:87: error: for each function it appears in.)
powertop.c:94: warning: assignment makes pointer from integer without a cast
powertop.c:95: warning: incompatible implicit declaration of built-in function 'strdup'
powertop.c: In function 'clear_lines':
powertop.c:107: error: 'NULL' undeclared (first use in this function)
powertop.c: In function 'count_lines':
powertop.c:112: error: 'uint64_t' undeclared (first use in this function)
powertop.c:112: error: expected ';' before 'q'
powertop.c:115: error: 'q' undeclared (first use in this function)
powertop.c: At top level:
powertop.c:119: error: expected declaration specifiers or '...' before 'uint64_t'
powertop.c: In function 'update_irq':
powertop.c:129: error: 'uint64_t' undeclared (first use in this function)
powertop.c:129: error: expected ';' before 'oldcount'
powertop.c:130: error: 'oldcount' undeclared (first use in this function)
powertop.c:130: error: 'struct irqdata' has no member named 'count'
powertop.c:131: error: 'struct irqdata' has no member named 'count'
powertop.c:131: error: 'count' undeclared (first use in this function)
powertop.c:139: error: 'struct irqdata' has no member named 'count'
powertop.c:141: warning: incompatible implicit declaration of built-in function 'strcpy'
powertop.c:141: error: 'struct irqdata' has no member named 'description'
powertop.c:143: error: 'struct irqdata' has no member named 'description'
powertop.c:143: warning: incompatible implicit declaration of built-in function 'gettext'
powertop.c: In function 'do_proc_irq':
powertop.c:149: error: 'FILE' undeclared (first use in this function)
powertop.c:149: error: 'file' undeclared (first use in this function)
powertop.c:153: error: 'uint64_t' undeclared (first use in this function)
powertop.c:153: error: expected ';' before 'delta'
powertop.c:164: error: expected ';' before 'count'
powertop.c:166: warning: incompatible implicit declaration of built-in function 'memset'
powertop.c:167: error: 'NULL' undeclared (first use in this function)
powertop.c:169: warning: incompatible implicit declaration of built-in function 'strchr'
powertop.c:196: warning: incompatible implicit declaration of built-in function 'strlen'
powertop.c:198: error: 'count' undeclared (first use in this function)
powertop.c:216: error: 'delta' undeclared (first use in this function)
powertop.c:216: error: too many arguments to function 'update_irq'
powertop.c:222: warning: incompatible implicit declaration of built-in function 'sprintf'
powertop.c:222: warning: incompatible implicit declaration of built-in function 'gettext'
powertop.c:227: warning: incompatible implicit declaration of built-in function 'sprintf'
powertop.c:227: warning: incompatible implicit declaration of built-in function 'gettext'
powertop.c: At top level:
powertop.c:239: error: expected ')' before '*' token
powertop.c: In function 'stop_timerstats':
powertop.c:291: error: 'FILE' undeclared (first use in this function)
powertop.c:291: error: 'file' undeclared (first use in this function)
powertop.c:297: warning: incompatible implicit declaration of built-in function 'fprintf'
powertop.c: In function 'start_timerstats':
powertop.c:302: error: 'FILE' undeclared (first use in this function)
powertop.c:302: error: 'file' undeclared (first use in this function)
powertop.c:308: warning: incompatible implicit declaration of built-in function 'fprintf'
powertop.c: In function 'print_battery':
powertop.c:325: error: 'DIR' undeclared (first use in this function)
powertop.c:325: error: 'dir' undeclared (first use in this function)
powertop.c:327: error: 'FILE' undeclared (first use in this function)
powertop.c:327: error: 'file' undeclared (first use in this function)
powertop.c:337: warning: assignment makes pointer from integer without a cast
powertop.c:346: warning: incompatible implicit declaration of built-in function 'strlen'
powertop.c:346: error: dereferencing pointer to incomplete type
powertop.c:349: warning: incompatible implicit declaration of built-in function 'sprintf'
powertop.c:349: error: dereferencing pointer to incomplete type
powertop.c:353: warning: incompatible implicit declaration of built-in function 'memset'
powertop.c:354: error: 'NULL' undeclared (first use in this function)
powertop.c:356: warning: incompatible implicit declaration of built-in function 'strstr'
powertop.c:362: warning: incompatible implicit declaration of built-in function 'strchr'
powertop.c:394: error: 'last_bat_time' undeclared (first use in this function)
powertop.c:396: error: 'prev_bat_time' undeclared (first use in this function)
powertop.c:406: error: too many arguments to function 'show_acpi_power_line'
powertop.c: In function 'usage':
powertop.c:413: warning: incompatible implicit declaration of built-in function 'printf'
powertop.c:413: warning: incompatible implicit declaration of built-in function 'gettext'
powertop.c:417: warning: incompatible implicit declaration of built-in function 'exit'
powertop.c: In function 'main':
powertop.c:424: error: 'FILE' undeclared (first use in this function)
powertop.c:424: error: 'file' undeclared (first use in this function)
powertop.c:424: error: 'NULL' undeclared (first use in this function)
powertop.c:425: error: 'uint64_t' undeclared (first use in this function)
powertop.c:425: error: expected ';' before 'cur_usage'
powertop.c:428: error: 'LC_ALL' undeclared (first use in this function)
powertop.c:433: error: array type has incomplete element type
powertop.c:449: error: 'optarg' undeclared (first use in this function)
powertop.c:463: error: 'start_usage' undeclared (first use in this function)
powertop.c:463: error: 'start_duration' undeclared (first use in this function)
powertop.c:466: warning: incompatible implicit declaration of built-in function 'memcpy'
powertop.c:466: error: 'last_usage' undeclared (first use in this function)
powertop.c:467: error: 'last_duration' undeclared (first use in this function)
powertop.c:474: warning: incompatible implicit declaration of built-in function 'memset'
powertop.c:474: error: 'cur_usage' undeclared (first use in this function)
powertop.c:475: error: 'cur_duration' undeclared (first use in this function)
powertop.c:476: warning: incompatible implicit declaration of built-in function 'printf'
powertop.c:478: warning: incompatible implicit declaration of built-in function 'gettext'
powertop.c:484: error: 'int64_t' undeclared (first use in this function)
powertop.c:484: error: expected ';' before 'totalticks'
powertop.c:485: error: expected ';' before 'totalevents'
powertop.c:486: error: 'fd_set' undeclared (first use in this function)
powertop.c:486: error: expected ';' before 'rfds'
powertop.c:487: error: storage size of 'tv' isn't known
powertop.c:495: error: 'rfds' undeclared (first use in this function)
powertop.c:513: error: 'totalticks' undeclared (first use in this function)
powertop.c:514: error: 'totalevents' undeclared (first use in this function)
powertop.c:533: warning: incompatible implicit declaration of built-in function 'sprintf'
powertop.c:536: error: '_SC_NPROCESSORS_ONLN' undeclared (first use in this function)
powertop.c:539: warning: incompatible implicit declaration of built-in function 'sprintf'
powertop.c:578: warning: incompatible implicit declaration of built-in function 'strstr'
powertop.c:581: warning: incompatible implicit declaration of built-in function 'strchr'
powertop.c:627: warning: incompatible implicit declaration of built-in function 'sprintf'
powertop.c:633: warning: incompatible implicit declaration of built-in function 'strstr'
powertop.c:673: error: 'stdin' undeclared (first use in this function)
powertop.c:675: warning: incompatible implicit declaration of built-in function 'exit'
powertop.c:675: error: 'EXIT_SUCCESS' undeclared (first use in this function)
powertop.c:701: error: 'F_OK' undeclared (first use in this function)
In file included from config.c:33:
powertop.h:101: error: expected declaration specifiers or '...' before 'time_t'
config.c: In function 'read_kernel_config':
config.c:41: error: 'FILE' undeclared (first use in this function)
config.c:41: error: (Each undeclared identifier is reported only once
config.c:41: error: for each function it appears in.)
config.c:41: error: 'file' undeclared (first use in this function)
config.c:46: error: 'R_OK' undeclared (first use in this function)
config.c:50: error: 'NULL' undeclared (first use in this function)
config.c:52: warning: incompatible implicit declaration of built-in function 'strcpy'
config.c:65: warning: incompatible implicit declaration of built-in function 'strchr'
config.c:68: warning: incompatible implicit declaration of built-in function 'sprintf'
config.c:80: warning: incompatible implicit declaration of built-in function 'strcpy'
config.c: In function 'suggest_kernel_config':
config.c:98: warning: incompatible implicit declaration of built-in function 'sprintf'
config.c:102: warning: incompatible implicit declaration of built-in function 'strstr'
config.c:110: error: 'NULL' undeclared (first use in this function)
config.c:111: error: 'stdout' undeclared (first use in this function)
powertop.c:775: warning: incompatible implicit declaration of built-in function 'exit'
powertop.c:782: error: 'stdout' undeclared (first use in this function)
i686-pc-linux-gnu-gcc -O2 -march=nocona -pipe -c -o process.o process.c
make: *** [powertop.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [config.o] Error 1
In file included from process.c:35:
powertop.h:101: error: expected declaration specifiers or '...' before 'time_t'
process.c: In function 'fancy_kill':
process.c:41: error: 'FILE' undeclared (first use in this function)
process.c:41: error: (Each undeclared identifier is reported only once
process.c:41: error: for each function it appears in.)
process.c:41: error: 'file' undeclared (first use in this function)
process.c:51: warning: incompatible implicit declaration of built-in function 'memset'
process.c:52: error: 'NULL' undeclared (first use in this function)
process.c:54: warning: incompatible implicit declaration of built-in function 'strstr'
process.c:62: error: 'SIGTERM' undeclared (first use in this function)
process.c: In function 'do_kill':
process.c:72: warning: incompatible implicit declaration of built-in function 'sprintf'
process.c: In function 'suggest_process_death':
process.c:82: warning: incompatible implicit declaration of built-in function 'strstr'
process.c:84: warning: incompatible implicit declaration of built-in function 'sprintf'
process.c:84: warning: incompatible implicit declaration of built-in function 'gettext'
process.c:85: warning: incompatible implicit declaration of built-in function 'strcpy'
process.c:91: error: 'stdout' undeclared (first use in this function)
make: *** [process.o] Error 1
*
* ERROR: sys-power/powertop-1.9 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2097: Called die
* The specific snippet of code:
* emake || die
* The die message:
* (no error message)
*
* 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-power/powertop-1.9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-power/powertop-1.9/temp/environment'.
*
Code: Select all
uhura ~ # emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.0
Timestamp of tree: Mon, 09 Mar 2009 06:15:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: 2.6.3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.4
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
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.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apache2 arts bash-completion berkdb bluetooth bzip2 cairo cdparanoia cdr clamav cli cracklib crypt cups curl dbus dri dv dvb dvd dvdr dvdread eds encode esd ethereal evo exif expat faad fam ffmpeg firefox flac fortran gcj gd gdbm gif glitz gnome gnutls gpm gstreamer gtk hal iconv ieee1394 imagemagick ipv6 isdnlog jpeg kde kerberos libg++ lirc lm_sensors mad matroska mbox midi mikmod mjpeg mono mp3 mpeg mudflap nas ncurses nls nptl nptlonly ogg opengl openmp oss pam pcmcia pcre pdf perl png posix postgres pppd python qt3 qt3support quicktime readline reflection ruby samba sasl scanner sdl session spell spl sse2 ssl streamzap svg sysfs tcpd theora tidy tiff truetype unicode usb v4l vcd vorbis wifi win32codecs wmf wxwindows x86 xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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_ownerauthz_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 mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga v4l fbdev"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTSThanks for any hints!

