Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8567 - emerging watchdog fails: ../include/sundries.h:54: previous declaration of `die'
Summary: emerging watchdog fails: ../include/sundries.h:54: previous declaration of `die'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-30 06:49 UTC by whirm
Modified: 2002-10-29 10:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
log In multiple Lines ^_^ (emerge watchdog.log,6.47 KB, text/plain)
2002-10-02 05:07 UTC, whirm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description whirm 2002-09-30 06:49:52 UTC
/home/whirm:  29 files 1.9Gb (> emerge watchdog   Calculating dependencies ...done!   >>> emerge app-admin/watchdog-5.2 to /   >>> md5 ;-) watchdog-5.2.tar.gz   >>> Unpacking source...   >>> Unpacking watchdog-5.2.tar.gz   >>> Source unpacked.   loading cache ./config.cache   checking for a BSD compatible install... (cached) /usr/bin/install -c   checking whether build environment is sane... yes   checking whether make sets ${MAKE}... (cached) yes   checking for working aclocal... found   checking for working autoconf... found   checking for working automake... found   checking for working autoheader... found   checking for working makeinfo... found   checking whether build environment is sane... yes   checking whether to enable maintainer-specific portions of Makefiles... no   checking for mawk... (cached) mawk   checking for gcc... (cached) gcc   checking whether the C compiler (gcc -march=athlon-mp -O3 -pipe   -fomit-frame-pointer ) works... yes   checking whether the C compiler (gcc -march=athlon-mp -O3 -pipe   -fomit-frame-pointer ) is a cross-compiler... no   checking whether we are using GNU C... (cached) yes   checking whether gcc accepts -g... (cached) yes   checking for a BSD compatible install... /usr/bin/install -c   checking for sendmail... (cached) /usr/sbin/sendmail   checking for dirent.h that defines DIR... (cached) yes   checking for opendir in -ldir... (cached) no   checking how to run the C preprocessor... (cached) gcc -E   checking for ANSI C header files... (cached) yes   checking for sys/wait.h that is POSIX.1 compatible... (cached) yes   checking for fcntl.h... (cached) yes   checking for limits.h... (cached) yes   checking for paths.h... (cached) yes   checking for sys/ioctl.h... (cached) yes   checking for sys/time.h... (cached) yes   checking for syslog.h... (cached) yes   checking for unistd.h... (cached) yes   checking for working const... (cached) yes   checking for inline... (cached) inline   checking for pid_t... (cached) yes   checking for size_t... (cached) yes   checking for st_rdev in struct stat... (cached) yes   checking for sys_siglist declaration in signal.h or unistd.h... (cached) yes   checking whether time.h and sys/time.h may both be included... (cached) yes   checking for working alloca.h... (cached) yes   checking for alloca... (cached) yes   checking whether gcc needs -traditional... (cached) no   checking return type of signal handlers... (cached) void   checking for vprintf... (cached) yes   checking for gethostname... (cached) yes   checking for select... (cached) yes   checking for socket... (cached) yes   checking for strcspn... (cached) yes   checking for strdup... (cached) yes   checking for strerror... (cached) yes   checking for strstr... (cached) yes   checking for strtoul... (cached) yes   checking for uname... (cached) yes   checking whether to log via syslog... yes   checking whether to include NFS support... yes   checking for minimum value accepted as reboot cause... 2   checking for timer margin used by kernel... 60   checking for config filename... /etc/watchdog/watchdog.conf   checking for config file line length... 80   checking for pid filename... /var/run/watchdog.pid   checking for random seed filename... /var/run/random-seed   creating ./config.status   creating Makefile   creating src/Makefile   creating include/config.h   Making all in src   make[1]: Entering directory   `/var/tmp/portage/watchdog-5.2/work/watchdog-5.2/src'   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c file_table.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c file_stat.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c fstab.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c iface.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c ifdown.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c keep_alive.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c load.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c lomount.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c memory.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c mntent.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c mount.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c net.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c nfsmount.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c nfsmount_clnt.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c nfsmount_xdr.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c pidfile.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c quotactl.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c shutdown.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c sundries.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c temp.c   gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -march=athlon-mp -O3   -pipe -fomit-frame-pointer -c test_binary.c   sundries.c:143: conflicting types for `die'   ../include/sundries.h:54: previous declaration of `die'   make[1]: *** [sundries.o] Error 1   make[1]: *** Waiting for unfinished jobs....   make[1]: *** Waiting for unfinished jobs....   make[1]: Leaving directory   `/var/tmp/portage/watchdog-5.2/work/watchdog-5.2/src'   make: *** [all-recursive] Error 1      !!! ERROR: The ebuild did not complete successfully.   !!! Function src_compile, Line -156, Exitcode 2   !!! (no error message)      root   /home/whirm:  29 files 1.9Gb (>       *****   system updated at the date of 30/09/02.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-10-02 01:26:34 UTC
this business of everything on one line due to konqueror is fairly hard to read.
 can you just attach a log please?
Comment 2 whirm 2002-10-02 05:07:18 UTC
Created attachment 4347 [details]
log In multiple Lines ^_^

ok here is it!
Comment 3 Sascha Silbe 2002-10-14 03:13:01 UTC
watchdog build works with gcc 2.95.x, but fails with gcc 3.2. HTH finding the problem.
Comment 4 Arcady Genkin (RETIRED) gentoo-dev 2002-10-19 15:38:46 UTC
This looks like a gcc 3.2 related issue; I still run 2.95 and don't plan to
switch, so I guess I'm a bad assignee for this bug.  Punting back to bug-wranglers.
Comment 5 Nick Hadaway 2002-10-29 10:49:28 UTC
I have added a patch to watchdog to allow it to compile properly.  Thanks for 
reporting the bug!