* Package: net-analyzer/snortsam-2.70 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying snortsam-2.70-gentoo.patch ... [ ok ] ------------------------------------------------------------------------------- Building SnortSam (release) ------------------------------------------------------------------------------- x86_64-pc-linux-gnu-gcc -march=native -Wformat -Werror=format-security -g0 -O2 -DLinux -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -lpthread snortsam.c twofish.c ssp_ciscoacl.c ssp_cisco_nullroute.c ssp_cisco_nullroute2.c ssp_email.c ssp_forward.c ssp_fwexec.c ssp_fwsam.c ssp_netscreen.c ssp_opsec.c ssp_pix.c ssp_snmp_interface_down.c ssp_wgrd.c ssp_ipchains.c ssp_iptables.c ssp_ebtables.c -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o ../snortsam snortsam.c: In function ‘reloadhistory’: snortsam.c:2302:12: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] { fread(buf,6,1,fp); /* ...read first 6 bytes and check. */ ^ ssp_ciscoacl.c: In function ‘CISCOACLBlock’: ssp_ciscoacl.c:447:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(ace, sizeof(ace) - 1, readfile); ^ ssp_ciscoacl.c:557:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(ace, sizeof(ace) - 1, readftpfile); ^ ssp_ciscoacl.c: In function ‘CISCOACLCheck’: ssp_ciscoacl.c:647:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(ace, sizeof(ace) - 1, readfile); ^ ssp_fwexec.c: In function ‘FWExecBlock’: ssp_fwexec.c:120:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(cmd); /* or maybe use spawnlp */ ^ /var/tmp/portage/net-analyzer/snortsam-2.70/temp/ccHus7yt.o: In function `getout.part.4': snortsam.c:(.text+0x1d84): undefined reference to `pthread_cancel' /var/tmp/portage/net-analyzer/snortsam-2.70/temp/ccHus7yt.o: In function `queuehandler': snortsam.c:(.text+0x3d00): undefined reference to `pthread_create' snortsam.c:(.text+0x3dbb): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status * ERROR: net-analyzer/snortsam-2.70::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2223: Called die * The specific snippet of code: * sh makesnortsam.sh || die * * If you need support, post the output of `emerge --info '=net-analyzer/snortsam-2.70::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/snortsam-2.70::gentoo'`. * The complete build log is located at '/var/log/log/build/net-analyzer/snortsam-2.70:20141227-165428.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/snortsam-2.70/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/snortsam-2.70/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/snortsam-2.70/work/snortsam' * S: '/var/tmp/portage/net-analyzer/snortsam-2.70/work/snortsam'