[Fedora-users-br] simscan compile

Jean Carlo jean.c.goncalves em gmail.com
Qua Ago 27 19:07:47 UTC 2008


I installed the qmail toaster, but when I compile the simscan of this error.

I'm using Fedora 8

./compile alloc.c
alloc.c:3: warning: conflicting types for built-in function 'malloc'
./makelib alloc.a alloc.o
make[2]: Leaving directory `/usr/src/redhat/BUILD/simscan-1.3.1/cdb'
make[2]: Entering directory `/usr/src/redhat/BUILD/simscan-1.3.1'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -c `test -f 'simscan.c' || echo
'./'`simscan.c
simscan.c: In function 'main':
simscan.c:802: warning: missing sentinel in function call
simscan.c:307: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c:411: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c:598: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c:681: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c:739: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c: In function 'check_spam':
simscan.c:1376: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
simscan.c: In function 'check_remote_host':
simscan.c:2414: warning: pointer targets in passing argument 1 of
'strcasecmp' differ in signedness
simscan.c: In function 'per_domain_lookup':
simscan.c:1780: warning: 'val' may be used uninitialized in this function
gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Wall   -o simscan
simscan.o cdb/cdb.a cdb/buffer.a cdb/unix.a cdb/byte.a cdb/alloc.a
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -Wall -c `test -f 'simscanmk.c' || echo
'./'`simscanmk.c
In function 'open',
    inlined from 'make_cdb' at simscanmk.c:379:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode'
declared with attribute error: open with O_CREAT in second argument
needs 3 arguments
make[2]: *** [simscanmk.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/simscan-1.3.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/simscan-1.3.1'
make: *** [all] Error 2
erro: Código de saída inválido do /var/tmp/rpm-tmp.42042 (%build)




Mais detalhes sobre a lista de discussão Fedora-users-br