Hi People,

Could someone please advise on the best way to overcome this issue.

I have installed all the QmailToaster packages except for
simscan-toaster-1.3.1-1.3.6.src.rpm which fails with the following error.

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
In function 'open',
    inlined from 'make_version_cdb' at simscanmk.c:133:
/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
error: Bad exit status from /var/tmp/rpm-tmp.82414 (%build)

I think the compilation error is due to the function declaration and the
number of arguments that are passed to it and a compatibility issue in the
latest version of gcc.

If there isn't a easy fix or work around I was thinking of compiling
simscan 1.4.0 and was interested in what parameters I should use with
configure ?

I see in the failed install the following :-

./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --enable-user=clamav
--enable-attach --enable-ripmime=/usr/bin/ripmime --enable-per-domain
--enable-spam --enable-spam-hits=20 --enable-received
--enable-clamavdb-path=/usr/share/clamav --enable-custom-smtp-reject

Is this all I would need to use, and then do a make && make install ?

Cheers.

Lee.


---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to