Closed fscomm closed 10 years ago
Can you update toolchains (gcc, binutils, glibc-devel and so on) and retry building? I've seen the similar problem with older toolchains on Sientific Linux 6.x.
Same thing on another machine, also CentOS 6.4 x86_64. Ok, I want try to update, may be this helps.
I can reproduce your problem with gcc-4.4.6-4.el6.x86_64 and others on Scientific Linux 6.1. But with gcc-4.4.7-3.el6.x86_64, no problems.
Hello!
I tried to compile your software on CentOS 6.4 x86_64. I downloaded master.zip, unzip it, then run build/autogen.sh; configure --with-samba-source=/root/rpmbuild/BUILD/samba-3.6.9/ (where samba 3 sources currently stored). And got error:
make[1]: Entering directory
/root/samba-virusfilter-master/utils' make[1]: Leaving directory
/root/samba-virusfilter-master/utils' make[1]: Entering directory/root/samba-virusfilter-master/clamav' gcc -O2 -g -D_GNU_SOURCE -DLDAP_DEPRECATED -fno-strict-aliasing -I/root/rpmbuild/BUILD/samba-3.6.9//source3 -I/root/rpmbuild/BUILD/samba-3.6.9//source3 -I/root/rpmbuild/BUILD/samba-3.6.9//source3/../lib/iniparser/src -Iinclude -I/root/rpmbuild/BUILD/samba-3.6.9//source3/include -I/root/rpmbuild/BUILD/samba-3.6.9//source3 -I/root/rpmbuild/BUILD/samba-3.6.9//source3 -I/root/rpmbuild/BUILD/samba-3.6.9//lib/replace -I/root/rpmbuild/BUILD/samba-3.6.9//lib/tevent -I/root/rpmbuild/BUILD/samba-3.6.9//source3/librpc -I/root/rpmbuild/BUILD/samba-3.6.9//source3/.. -I../include -DVARDIR='"/var/lib/samba"' -DSAMBA_VERSION_NUMBER='30609' -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I/root/rpmbuild/BUILD/samba-3.6.9//source3/include -I/root/rpmbuild/BUILD/samba-3.6.9//source3 -I/root/rpmbuild/BUILD/samba-3.6.9//source3 -I/root/rpmbuild/BUILD/samba-3.6.9//lib/replace -I/root/rpmbuild/BUILD/samba-3.6.9//lib/tevent -I/root/rpmbuild/BUILD/samba-3.6.9//source3/librpc -I/root/rpmbuild/BUILD/samba-3.6.9//source3/.. -I/root/rpmbuild/BUILD/samba-3.6.9//lib/popt -DLDAP_DEPRECATED -I/root/rpmbuild/BUILD/samba-3.6.9//source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c svf-clamav.c -o svf-clamav.o В функции ‘svf_clamav_scan_init’: cc1: внутренняя ошибка компилятора: Ошибка сегментирования Отправьте подробное сообщение об ошибке с препроцессированным исходным кодом. Смотрите инструкции в <http://bugzilla.redhat.com/bugzilla>. Preprocessed source stored into /tmp/ccqzUCmx.out file, please attach this to your bugreport. make[1]: *** [svf-clamav.o] Ошибка 1 make[1]: Leaving directory
/root/samba-virusfilter-master/clamav' make: *\ [build] Ошибка 1It said "cc1: internal compiler error: segmentation fault" while compiling svf-clamav.c file. How I can resolve this issue ? Thanks.