Opened 14 years ago

Closed 14 years ago

Last modified 6 years ago

#86 closed defect (fixed)

Compile failure with --enable-static

Reported by: anonymous Owned by: rainer
Priority: major Milestone: 2.4.2
Component: main Version: 2.4.1a
Keywords: Cc:

Description

I'm not able to build samhain 2.4.1a with the configure option --enable-static. See attached log-file.

Change History (2)

comment:1 Changed 14 years ago by anonymous

Hmm, got a error while trying to attach a file to this ticket, so it's here:

+ tar xfz samhain-2.4.1a.tar.gz
+ cd samhain-2.4.1a
+ ./configure --prefix=/usr --mandir=/usr/man --localstatedir=/var --sysconfdir=/etc --with-log-file=/var/log/samhain.log --enable-static --enable-login-watch --enable-suidcheck
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 gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... gawk
checking for hostname... /bin/hostname
checking whether libssp exists... yes
checking whether 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 mntent.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 linux/fs.h... yes
checking for ext2fs/ext2_fs.h... yes
checking for elf.h... yes
checking for linux/elf.h... yes
checking for paths.h... yes
checking for arpa/nameser.h... yes
checking for arpa/nameser_compat.h... yes
checking for rpc/rpcent.h... no
checking for sys/statvfs.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 hasmntopt... 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 getsid... yes
checking for getpriority... yes
checking for getpgid... yes
checking for statvfs... yes
checking for strerror_r... yes
checking for getgrgid_r... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for rand_r... yes
checking for readdir_r... yes
checking for strtok_r... 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 attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
checking sys/acl.h usability... no
checking sys/acl.h presence... no
checking for sys/acl.h... no
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 for a known 64 bit programming environment... none
checking for non-apple non-cygwin i386... yes
checking for 64 bit environment... no
checking for tiger source to use... sh_tiger1.s
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 for C/C++ restrict keyword... __restrict
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... no
checking for mpz_init in -lgmp... no
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
checking for ps... /bin/ps
checking how to use ps... /bin/ps ax
checking whether to use libwrap... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for recursive mutexes... yes
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... 6987780 9985803
checking key position... 6
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 init/samhain.startMACOSX
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/yuleadmin.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/man
                Data: /var/lib/samhain
            PID file: /var/run/samhain.pid
            Log file: /var/log/samhain.log
            Base key: 6987780,9985803

    Selected rc file: samhainrc.linux
+ make
gcc -I. -o depend-gen ./src/depend-gen.c
gcc -I. -o encode ./src/encode.c
gcc -I. -o mkhdr ./src/mkhdr.c
creating sh_MK.h
gcc -I. -I./include -DSYSTEMMAP="/boot/System.map" -o kern_head ./src/kern_head.c 
./encode 0 ./src/zAVLTree.c --> x_zAVLTree.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o zAVLTree.o -c x_zAVLTree.c
gcc -I.  -o sstrip ./src/sstrip.c
update depend.dep ...
encode 0 config.h
./encode 0 ./src/sh_files.c --> x_sh_files.c
./encode 0 ./src/sh_tiger0.c --> x_sh_tiger0.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_files.o -c x_sh_files.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_tiger0.o -c x_sh_tiger0.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_tiger2.o -c x_sh_tiger2.c
./encode 0 ./src/sh_tiger2_64.c --> x_sh_tiger2_64.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_tiger2_64.o -c x_sh_tiger2_64.c
./encode 0 ./src/samhain.c --> x_samhain.c
./encode 0 ./src/sh_unix.c --> x_sh_unix.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o samhain.o -c x_samhain.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_unix.o -c x_sh_unix.c
x_samhain.c: In function 'procdirSamhain':
x_samhain.c:820: warning: assignment discards qualifiers from pointer target type
x_samhain.c:829: warning: assignment discards qualifiers from pointer target type
x_samhain.c:860: warning: return discards qualifiers from pointer target type
./encode 0 ./src/sh_utils.c --> x_sh_utils.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_utils.o -c x_sh_utils.c
./encode 0 ./src/sh_error.c --> x_sh_error.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_error.o -c x_sh_error.c
./encode 0 ./src/sh_getopt.c --> x_sh_getopt.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_getopt.o -c x_sh_getopt.c
./encode 0 ./src/sh_readconf.c --> x_sh_readconf.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_readconf.o -c x_sh_readconf.c
./encode 0 ./src/sh_hash.c --> x_sh_hash.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_hash.o -c x_sh_hash.c
./encode 0 ./src/sh_mail.c --> x_sh_mail.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_mail.o -c x_sh_mail.c
./encode 0 ./src/sh_mem.c --> x_sh_mem.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_mem.o -c x_sh_mem.c
./encode 0 ./src/sh_entropy.c --> x_sh_entropy.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_entropy.o -c x_sh_entropy.c
./encode 0 ./src/sh_forward.c --> x_sh_forward.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_forward.o -c x_sh_forward.c
./encode 0 ./src/sh_modules.c --> x_sh_modules.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_modules.o -c x_sh_modules.c
./encode 0 ./src/sh_utmp.c --> x_sh_utmp.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_utmp.o -c x_sh_utmp.c
encode 0 sh_ks.h
./encode 0 ./src/sh_suidchk.c --> x_sh_suidchk.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_suidchk.o -c x_sh_suidchk.c
x_sh_utmp.c: In function 'sh_utmp_addlogin':
x_sh_utmp.c:767: warning: variable 'userold' might be clobbered by 'longjmp' or 'vfork'
x_sh_utmp.c:774: warning: variable 'status' might be clobbered by 'longjmp' or 'vfork'
./encode 0 ./src/sh_srp.c --> x_sh_srp.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_srp.o -c x_sh_srp.c
./encode 0 ./src/sh_fifo.c --> x_sh_fifo.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_fifo.o -c x_sh_fifo.c
./encode 0 ./src/sh_tools.c --> x_sh_tools.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_tools.o -c x_sh_tools.c
./encode 0 ./src/sh_html.c --> x_sh_html.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_html.o -c x_sh_html.c
./encode 0 ./src/sh_gpg.c --> x_sh_gpg.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_gpg.o -c x_sh_gpg.c
./encode 0 ./src/sh_cat.c --> x_sh_cat.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_cat.o -c x_sh_cat.c
./encode 0 ./src/sh_calls.c --> x_sh_calls.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_calls.o -c x_sh_calls.c
./encode 0 ./src/sh_extern.c --> x_sh_extern.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_extern.o -c x_sh_extern.c
./encode 0 ./src/sh_database.c --> x_sh_database.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_database.o -c x_sh_database.c
./encode 0 ./src/sh_err_log.c --> x_sh_err_log.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -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
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -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
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_err_syslog.o -c x_sh_err_syslog.c
./encode 0 ./src/sh_schedule.c --> x_sh_schedule.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_schedule.o -c x_sh_schedule.c
./encode 0 ./src/bignum.c --> x_bignum.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o bignum.o -c x_bignum.c
./encode 0 ./src/trustfile.c --> x_trustfile.c
./encode 0 ./src/rijndael-alg-fst.c --> x_rijndael-alg-fst.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o trustfile.o -c x_trustfile.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -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
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o rijndael-api-fst.o -c x_rijndael-api-fst.c
./encode 0 ./src/slib.c --> x_slib.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o slib.o -c x_slib.c
./encode 0 ./src/sh_socket.c --> x_sh_socket.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_socket.o -c x_sh_socket.c
./encode 0 ./src/sh_ignore.c --> x_sh_ignore.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_ignore.o -c x_sh_ignore.c
./encode 0 ./src/sh_prelude.c --> x_sh_prelude.c
./encode 0 ./src/sh_mounts.c --> x_sh_mounts.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_prelude.o -c x_sh_prelude.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_mounts.o -c x_sh_mounts.c
./encode 0 ./src/sh_userfiles.c --> x_sh_userfiles.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_userfiles.o -c x_sh_userfiles.c
./encode 0 ./src/sh_prelink.c --> x_sh_prelink.c
./encode 0 ./src/sh_static.c --> x_sh_static.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_prelink.o -c x_sh_prelink.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_static.o -c x_sh_static.c
./encode 0 ./src/sh_processcheck.c --> x_sh_processcheck.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_processcheck.o -c x_sh_processcheck.c
x_sh_static.c: In function 'sh_getpwent_r':
x_sh_static.c:365: error: label at end of compound statement
x_sh_static.c: #In function 'sh_getgrent_r':
x_sh_static.c:417: error: label at end of compound statement
./encode 0 ./src/sh_portcheck.c --> x_sh_portcheck.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_portcheck.o -c x_sh_portcheck.c
x_sh_static.c: In function '__open_nameservers':
x_sh_static.c:1616: error: label at end of compound statement
./encode 0 ./src/sh_prelude_old.c --> x_sh_prelude_old.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_prelude_old.o -c x_sh_prelude_old.c
./encode 0 ./src/sh_pthread.c --> x_sh_pthread.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_pthread.o -c x_sh_pthread.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_tiger_i.o -c ./src/sh_tiger1.s
./encode 0 ./src/sh_kern.c --> x_sh_kern.c
gcc  -DHAVE_CONFIG_H -I. -I./include   -O2 -march=i686 -pipe -fstack-protector -pthread -Wall -W  -fno-strength-reduce -fno-omit-frame-pointer  -DSH_STANDALONE -o sh_kern.o -c x_sh_kern.c
gcc  -O -pthread  -static -o samhain sh_tiger_i.o sh_files.o sh_tiger0.o sh_tiger2.o sh_tiger2_64.o samhain.o sh_unix.o sh_utils.o sh_error.o sh_getopt.o sh_readconf.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_processcheck.o sh_portcheck.o sh_prelude_old.o sh_pthread.o -lnsl  -lssp -lnsl -lresolv
gcc: sh_static.o: No such file or directory
make: *** [samhain] Error 1

comment:2 Changed 14 years ago by rainer

Milestone: 2.4.2
Resolution: fixed
Status: newclosed

Fixed in changeset [150]. Btw, trac has no filter to disallow certain uploads, therefore attachments are disabled.

Note: See TracTickets for help on using tickets.