Summary: | readahead-list-0.20050323.0658 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arie Huijzer <aries.huijzer> |
Component: | [OLD] Core system | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | rohan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 83224 | ||
Bug Blocks: |
Description
Arie Huijzer
2005-03-23 10:39:48 UTC
use the new version in cvs now. Program still does not compile:
21:20:32 (46.92 KB/s) - `/usr/portage/distfiles/readahead-list-0.20050328.0142.tar.bz2' saved [106429/106429]
>>> md5 src_uri ;-) readahead-list-0.20050328.0142.tar.bz2
>>> Unpacking source...
>>> Unpacking readahead-list-0.20050328.0142.tar.bz2 to /var/tmp/portage/readahead-list-0.20050328.0142/work
>>> Source unpacked.
* econf: updating readahead-list-0.20050328.0142/config/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating readahead-list-0.20050328.0142/config/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 --sbindir=/sbin
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
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 for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for gawk... (cached) gawk
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... 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 for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for a BSD-compatible install... /bin/install -c
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for sed... /bin/sed
checking for cmp... /usr/bin/cmp
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether user wants warnings... no
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for egrep... grep -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 errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking whether i686-pc-linux-gnu-gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for ioctl... yes
checking for memchr... yes
checking for readahead... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating README
config.status: creating doc/Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/data/Makefile
config.status: creating contrib/init/Makefile
config.status: creating contrib/init/gentoo/Makefile
config.status: creating contrib/scripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142'
Making all in m4
make[2]: Entering directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142/m4'
Making all in src
make[2]: Entering directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142/src'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=pentium4 -O2 -pipe -fomit-frame-pointer -Wall -W -MT filelist-order.o -MD -MP -MF ".deps/filelist-order.Tpo" -c -o filelist-order.o filelist-order.cxx; \
then mv -f ".deps/filelist-order.Tpo" ".deps/filelist-order.Po"; else rm -f ".deps/filelist-order.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=pentium4 -O2 -pipe -fomit-frame-pointer -Wall -W -MT readahead-list.o -MD -MP -MF ".deps/readahead-list.Tpo" -c -o readahead-list.o readahead-list.c; \
then mv -f ".deps/readahead-list.Tpo" ".deps/readahead-list.Po"; else rm -f ".deps/readahead-list.Tpo"; exit 1; fi
readahead-list.c:37: warning: 'program_header' defined but not used
readahead-list.c:38: warning: 'program_id' defined but not used
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -fomit-frame-pointer -Wall -W -o readahead-list readahead-list.o
In file included from /usr/include/linux/fs.h:12,
from filelist-order.cxx:32:
/usr/include/linux/wait.h: In function `int waitqueue_active(wait_queue_head_t*)':
/usr/include/linux/wait.h:79: error: `list_empty' undeclared (first use this function)
/usr/include/linux/wait.h:79: error: (Each undeclared identifier is reported only once for each function it appears in.)
filelist-order.cxx: At global scope:
filelist-order.cxx:55: warning: 'program_header' defined but not used
filelist-order.cxx:56: warning: 'program_id' defined but not used
make[2]: *** [filelist-order.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142'
make: *** [all] Error 2
!!! ERROR: sys-apps/readahead-list-0.20050328.0142 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
1. tell me what version of linux-headers you have installed now. 2. emerge linux-header 3. emerge readahead-list again. 1. linux-headers-2.6.8.1-r2 2. emerged linux-headers-2.6.8.1-r4 3. emerged readahead-list-0.20050328.0142: make all-recursive make[1]: Entering directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142' Making all in m4 make[2]: Entering directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142/m4' Making all in src make[2]: Entering directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142/src' if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=pentium4 -O2 -pipe -fomit-frame-pointer -Wall -W -MT filelist-order.o -MD -MP -MF ".deps/filelist-order.Tpo" -c -o filelist-order.o filelist-order.cxx; \ then mv -f ".deps/filelist-order.Tpo" ".deps/filelist-order.Po"; else rm -f ".deps/filelist-order.Tpo"; exit 1; fi if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=pentium4 -O2 -pipe -fomit-frame-pointer -Wall -W -MT readahead-list.o -MD -MP -MF ".deps/readahead-list.Tpo" -c -o readahead-list.o readahead-list.c; \ then mv -f ".deps/readahead-list.Tpo" ".deps/readahead-list.Po"; else rm -f ".deps/readahead-list.Tpo"; exit 1; fi readahead-list.c:37: warning: 'program_header' defined but not used readahead-list.c:38: warning: 'program_id' defined but not used i686-pc-linux-gnu-gcc -march=pentium4 -O2 -pipe -fomit-frame-pointer -Wall -W -o readahead-list readahead-list.o In file included from /usr/include/linux/fs.h:12, from filelist-order.cxx:32: /usr/include/linux/wait.h: In function `int waitqueue_active(wait_queue_head_t*)': /usr/include/linux/wait.h:79: error: `list_empty' undeclared (first use this function) /usr/include/linux/wait.h:79: error: (Each undeclared identifier is reported only once for each function it appears in.) filelist-order.cxx: At global scope: filelist-order.cxx:55: warning: 'program_header' defined but not used filelist-order.cxx:56: warning: 'program_id' defined but not used make[2]: *** [filelist-order.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/readahead-list-0.20050328.0142/work/readahead-list-0.20050328.0142' make: *** [all] Error 2 !!! ERROR: sys-apps/readahead-list-0.20050328.0142 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Same thing as http://bugs.gentoo.org/show_bug.cgi?id=86968 should be marked as duplicate *** This bug has been marked as a duplicate of 86968 *** |