>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ... >>> Unpacking source... >>> Unpacking samhain_signed-2.1.3.tar.gz to /var/tmp/portage/app-forensics/samhain-2.1.3/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-forensics/samhain-2.1.3/work/samhain-2.1.3 ... * econf: updating samhain-2.1.3/config.guess with /usr/share/gnuconfig/config.guess * econf: updating samhain-2.1.3/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 --with-gpg=/usr/bin/gpg --with-checksum=no --localstatedir=/var --build=i686-pc-linux-gnu WARNING: infodir will be ignored WARNING: datadir will be ignored checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-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... 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 how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... no, using checking for gawk... gawk checking for hostname... /bin/hostname checking whether i686-pc-linux-gnu-gcc accepts -fstack-protector... yes 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 sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for host-specific issues... LINUX use ioctl to get e2fs flags checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether sys/types.h defines makedev... yes checking whether time.h and sys/time.h may both be included... yes checking whether stat file-mode macros are broken... no checking whether sys_siglist is declared... yes checking for stddef.h... yes checking for libgen.h... yes checking for sched.h... yes checking for sys/vfs.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for regex.h... yes checking for glob.h... yes checking for linux/ext2_fs.h... yes checking for ext2fs/ext2_fs.h... yes checking for paths.h... yes checking for arpa/nameser.h... yes checking for arpa/nameser_compat.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking for struct statfs.f_flags... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGE_FILES value needed for large files... no checking whether _POSIX_SOURCE is necessary... no checking for strftime... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for getpwent... yes checking for endpwent... yes checking for gettimeofday... yes checking for strlcat... no checking for strlcpy... no checking for strstr... yes checking for strchr... yes checking for strerror... yes checking for strsignal... yes checking for seteuid... yes checking for setreuid... yes checking for setresuid... yes checking for lstat... yes checking for getwd... yes checking for getcwd... yes checking for ptrace... yes checking for usleep... yes checking for setpriority... yes checking for getpeereid... no checking for nanosleep... yes checking for strptime... yes checking for basename... yes checking for sched_yield... yes checking for inet_aton... yes checking for gethostbyname... yes checking for setutent... yes checking for setrlimit... yes checking for gethostname... yes checking for uname... yes checking for initgroups... yes checking for getpagesize... yes checking for ttyname... yes checking for fchmod... yes checking for statfs... yes checking for va_copy()... yes checking for __va_copy()... yes checking whether va_lists can be copied by value... yes checking for vsnprintf... yes checking for working vsnprintf... (cached) yes checking for mlock... yes checking whether mlock is broken... no checking how to get filesystem type... 4.3BSD checking for gethostbyname in -lnsl... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... (cached) yes checking for res_search in -lsocket... no checking for res_search in -lresolv... yes checking for socklen_t... yes checking for working long double with more range or precision than double... yes checking for long long typedef... yes checking for unsigned long long... yes checking size of unsigned long long... 8 checking for ptrdiff_t... yes checking for size_t... yes checking for char *... yes checking size of char *... 4 checking for size_t... (cached) yes checking size of size_t... 4 checking for unsigned long... yes checking size of unsigned long... 4 checking for unsigned int ... yes checking size of unsigned int ... 4 checking for unsigned short... yes checking size of unsigned short... 2 checking whether struct tm is in sys/time.h or time.h... time.h checking whether struct stat has a st_flags field... no checking for struct cmsgcred... no checking for struct fcred... no checking for struct sockcred... no checking for SO_PEERCRED... yes checking for inline... inline checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for SI_USER in signal.h... yes checking for SA_SIGINFO in signal.h... yes checking whether sa_sigaction is supported... no checking for __gmpz_init in -lgmp... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking whether to use libwrap... no checking whether to use prelude... no checking which random module to use... default checking whether /dev/random exists... yes checking for user samhain... no checking for user daemon... yes checking base key setting .. collecting entropy... 543719545 1084366634 checking key position... 1 configure: creating ./config.status config.status: creating Makefile config.status: creating samhain-install.sh config.status: creating init/samhain.startLSB config.status: creating init/samhain.startLinux config.status: creating init/samhain.startGentoo config.status: creating init/samhain.startFreeBSD config.status: creating init/samhain.startSolaris config.status: creating init/samhain.startHPUX config.status: creating init/samhain.startIRIX config.status: creating samhain.spec config.status: creating rules.deb config.status: creating rules.deb-light config.status: creating hp_ux.psf config.status: creating scripts/samhain.spec config.status: creating scripts/redhat_i386.client.spec config.status: creating scripts/samhain.ebuild config.status: creating scripts/samhain.ebuild-light config.status: creating scripts/samhainadmin.pl config.status: creating scripts/check_samhain.pl config.status: creating deploy.sh config.status: creating config.h config.status: executing default commands samhain has been configured as follows: System binaries: /usr/sbin Configuration file: /etc/samhainrc Manual pages: /usr/share/man Data: /var/lib/samhain PID file: /var/run/samhain.pid Log file: /var/log/samhain_log Base key: 543719545,1084366634 Selected rc file: samhainrc.linux i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -o depend-gen ./src/depend-gen.c update depend.dep ... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -o mkhdr ./src/mkhdr.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -o encode ./src/encode.c encode 0 config.h creating sh_MK.h ./encode 0 ./src/samhain.c --> x_samhain.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o samhain.o -c x_samhain.c ./encode 0 ./src/sh_unix.c --> x_sh_unix.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_unix.o -c x_sh_unix.c ./encode 0 ./src/sh_utils.c --> x_sh_utils.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_utils.o -c x_sh_utils.c ./encode 0 ./src/sh_error.c --> x_sh_error.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_error.o -c x_sh_error.c ./encode 0 ./src/sh_files.c --> x_sh_files.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_files.o -c x_sh_files.c x_sh_files.c: In function 'sh_files_chk': x_sh_files.c:237: warning: dereferencing type-punned pointer will break strict-aliasing rules ./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c ./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_readconf.o -c x_sh_readconf.c ./encode 0 ./src/sh_tiger0.c --> x_sh_tiger0.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_tiger0.o -c x_sh_tiger0.c ./encode 0 ./src/sh_tiger1.c --> x_sh_tiger1.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_tiger1.o -c x_sh_tiger1.c ./encode 0 ./src/sh_tiger2.c --> x_sh_tiger2.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.c ./encode 0 ./src/sh_tiger1_64.c --> x_sh_tiger1_64.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_tiger1_64.o -c x_sh_tiger1_64.c ./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c ./encode 0 ./src/sh_hash.c --> x_sh_hash.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_hash.o -c x_sh_hash.c ./encode 0 ./src/sh_mail.c --> x_sh_mail.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_mail.o -c x_sh_mail.c ./encode 0 ./src/sh_mem.c --> x_sh_mem.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_mem.o -c x_sh_mem.c ./encode 0 ./src/sh_entropy.c --> x_sh_entropy.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_entropy.o -c x_sh_entropy.c ./encode 0 ./src/sh_forward.c --> x_sh_forward.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_forward.o -c x_sh_forward.c ./encode 0 ./src/sh_modules.c --> x_sh_modules.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c ./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_utmp.o -c x_sh_utmp.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSYSTEMMAP="/boot/System.map" -o kern_head ./src/kern_head.c encode 0 sh_ks.h ./encode 0 ./src/sh_kern.c --> x_sh_kern.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_kern.o -c x_sh_kern.c ./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_suidchk.o -c x_sh_suidchk.c ./encode 0 ./src/sh_srp.c --> x_sh_srp.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_srp.o -c x_sh_srp.c ./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_fifo.o -c x_sh_fifo.c ./encode 0 ./src/sh_tools.c --> x_sh_tools.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_tools.o -c x_sh_tools.c ./encode 0 ./src/sh_html.c --> x_sh_html.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_html.o -c x_sh_html.c ./encode 0 ./src/sh_gpg.c --> x_sh_gpg.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_gpg.o -c x_sh_gpg.c ./encode 0 ./src/sh_cat.c --> x_sh_cat.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_cat.o -c x_sh_cat.c ./encode 0 ./src/sh_calls.c --> x_sh_calls.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_calls.o -c x_sh_calls.c ./encode 0 ./src/sh_extern.c --> x_sh_extern.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_extern.o -c x_sh_extern.c ./encode 0 ./src/sh_database.c --> x_sh_database.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_database.o -c x_sh_database.c ./encode 0 ./src/sh_err_log.c --> x_sh_err_log.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_err_log.o -c x_sh_err_log.c ./encode 0 ./src/sh_err_console.c --> x_sh_err_console.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_err_console.o -c x_sh_err_console.c ./encode 0 ./src/sh_err_syslog.c --> x_sh_err_syslog.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_err_syslog.o -c x_sh_err_syslog.c ./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_schedule.o -c x_sh_schedule.c ./encode 0 ./src/bignum.c --> x_bignum.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o bignum.o -c x_bignum.c ./encode 0 ./src/trustfile.c --> x_trustfile.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o trustfile.o -c x_trustfile.c ./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o rijndael-alg-fst.o -c x_rijndael-alg-fst.c ./encode 0 ./src/rijndael-api-fst.c --> x_rijndael-api-fst.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o rijndael-api-fst.o -c x_rijndael-api-fst.c ./encode 0 ./src/slib.c --> x_slib.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o slib.o -c x_slib.c ./encode 0 ./src/zAVLTree.c --> x_zAVLTree.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o zAVLTree.o -c x_zAVLTree.c ./encode 0 ./src/sh_socket.c --> x_sh_socket.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_socket.o -c x_sh_socket.c ./encode 0 ./src/sh_ignore.c --> x_sh_ignore.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_ignore.o -c x_sh_ignore.c ./encode 0 ./src/sh_prelude.c --> x_sh_prelude.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_prelude.o -c x_sh_prelude.c ./encode 0 ./src/sh_mounts.c --> x_sh_mounts.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_mounts.o -c x_sh_mounts.c ./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_userfiles.o -c x_sh_userfiles.c ./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_prelink.o -c x_sh_prelink.c ./encode 0 ./src/sh_static.c --> x_sh_static.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_static.o -c x_sh_static.c ./encode 0 ./src/sh_prelude_old.c --> x_sh_prelude_old.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -DSH_STANDALONE -o sh_prelude_old.o -c x_sh_prelude_old.c i686-pc-linux-gnu-gcc -O -Wl,-O1 -o samhain samhain.o sh_unix.o sh_utils.o sh_error.o sh_files.o sh_getopt.o sh_readconf.o sh_tiger0.o sh_tiger1.o sh_tiger2.o sh_tiger1_64.o sh_tiger2_64.o sh_hash.o sh_mail.o sh_mem.o sh_entropy.o sh_forward.o sh_modules.o sh_utmp.o sh_kern.o sh_suidchk.o sh_srp.o sh_fifo.o sh_tools.o sh_html.o sh_gpg.o sh_cat.o sh_calls.o sh_extern.o sh_database.o sh_err_log.o sh_err_console.o sh_err_syslog.o sh_schedule.o bignum.o trustfile.o rijndael-alg-fst.o rijndael-api-fst.o slib.o zAVLTree.o sh_socket.o sh_ignore.o sh_prelude.o sh_mounts.o sh_userfiles.o sh_prelink.o sh_static.o sh_prelude_old.o -lnsl -lnsl -lresolv i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -O2 -march=athlon-xp -pipe -fomit-frame-pointer -fstack-protector -Wall -W -fno-strength-reduce -o sstrip ./src/sstrip.c ./src/sstrip.c:22:30: error: linux/elf.h: No such file or directory ./src/sstrip.c:67: error: expected declaration specifiers or '...' before 'Elf32_Ehdr' ./src/sstrip.c: In function 'readelfheader': ./src/sstrip.c:70: error: 'ehdr' undeclared (first use in this function) ./src/sstrip.c:70: error: (Each undeclared identifier is reported only once ./src/sstrip.c:70: error: for each function it appears in.) ./src/sstrip.c:75: error: 'EI_MAG0' undeclared (first use in this function) ./src/sstrip.c:75: error: 'ELFMAG0' undeclared (first use in this function) ./src/sstrip.c:76: error: 'EI_MAG1' undeclared (first use in this function) ./src/sstrip.c:76: error: 'ELFMAG1' undeclared (first use in this function) ./src/sstrip.c:77: error: 'EI_MAG2' undeclared (first use in this function) ./src/sstrip.c:77: error: 'ELFMAG2' undeclared (first use in this function) ./src/sstrip.c:78: error: 'EI_MAG3' undeclared (first use in this function) ./src/sstrip.c:78: error: 'ELFMAG3' undeclared (first use in this function) ./src/sstrip.c:83: error: 'EI_DATA' undeclared (first use in this function) ./src/sstrip.c:83: error: 'ELF_DATA' undeclared (first use in this function) ./src/sstrip.c:85: error: 'EI_CLASS' undeclared (first use in this function) ./src/sstrip.c:85: error: 'ELF_CLASS' undeclared (first use in this function) ./src/sstrip.c:90: error: 'ELF_ARCH' undeclared (first use in this function) ./src/sstrip.c:96: error: 'Elf32_Ehdr' undeclared (first use in this function) ./src/sstrip.c:98: error: 'Elf32_Phdr' undeclared (first use in this function) ./src/sstrip.c:103: error: 'ET_EXEC' undeclared (first use in this function) ./src/sstrip.c:103: error: 'ET_DYN' undeclared (first use in this function) ./src/sstrip.c: At top level: ./src/sstrip.c:111: error: expected declaration specifiers or '...' before 'Elf32_Ehdr' ./src/sstrip.c:111: error: expected declaration specifiers or '...' before 'Elf32_Phdr' ./src/sstrip.c: In function 'readphdrtable': ./src/sstrip.c:115: error: 'ehdr' undeclared (first use in this function) ./src/sstrip.c:118: error: 'phdrs' undeclared (first use in this function) ./src/sstrip.c: At top level: ./src/sstrip.c:134: error: expected ')' before 'const' ./src/sstrip.c:198: error: expected ')' before '*' token ./src/sstrip.c:233: error: expected declaration specifiers or '...' before 'Elf32_Ehdr' ./src/sstrip.c:233: error: expected declaration specifiers or '...' before 'Elf32_Phdr' ./src/sstrip.c: In function 'commitchanges': ./src/sstrip.c:243: error: 'ehdr' undeclared (first use in this function) ./src/sstrip.c:252: error: 'phdrs' undeclared (first use in this function) ./src/sstrip.c: In function 'main': ./src/sstrip.c:283: error: 'Elf32_Ehdr' undeclared (first use in this function) ./src/sstrip.c:283: error: expected ';' before 'ehdr' ./src/sstrip.c:284: error: 'Elf32_Phdr' undeclared (first use in this function) ./src/sstrip.c:284: error: 'phdrs' undeclared (first use in this function) ./src/sstrip.c:310: error: 'ehdr' undeclared (first use in this function) ./src/sstrip.c:310: error: too many arguments to function 'readelfheader' ./src/sstrip.c:311: error: too many arguments to function 'readphdrtable' ./src/sstrip.c:312: warning: implicit declaration of function 'getmemorysize' ./src/sstrip.c:314: warning: implicit declaration of function 'modifyheaders' ./src/sstrip.c:315: error: too many arguments to function 'commitchanges' make: *** [sstrip] Error 1 * * ERROR: app-forensics/samhain-2.1.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 221: Called die * The specific snippet of code: * make || die "compile failed" * The die message: * compile 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-forensics/samhain-2.1.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-forensics/samhain-2.1.3/temp/environment'. *