2009/6/17 Török Edwin <[email protected]>: > On 2009-06-17 01:58, Renato Botelho wrote: >> Hi, >> >> After upgrade clamav on FreeBSD ports collection i recieved this email >> from a user, talking about this problem building on 6.3. >> >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >> configure:3597: $? = 0 >> configure:3604: cc -v >&5 >> Using built-in specs. >> Configured with: FreeBSD/i386 system compiler >> Thread model: posix >> gcc version 3.4.6 [FreeBSD] 20060305 >> configure:3608: $? = 0 >> configure:3615: cc -V >&5 >> cc: `-V' option must have argument >> configure:3619: $? = 1 >> configure:3642: checking for C compiler default output file name >> configure:3664: cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include >> -L/usr/local/lib -pthread conftest.c >&5 >> /usr/lib/libpthread.so: undefined reference to `__fcntl_compat' >> > > > Can you try compiling this program with various flags: > int main() { return 0; } > > cc -O2 -fno-strict-aliasing -pipe -L/usr/local/lib -pthread test.c > cc -O2 -pipe -L/usr/local/lib -pthread test.c > cc -O2 -pipe -L/usr/local/lib test.c > cc -pipe -L/usr/local/lib -pthread test.c > > And tell us which one worked.
I don't have a 6.3 machine, but I tested it on 6.1, 6.2 and 6.4 and all built fine. I'll make more tests and try to reproduce it locally. -- Renato Botelho _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
