Dale Walsh wrote:
On Mar 20, 2006, at 01:53 , Dennis Peterson wrote:
Except for a problem with gmp, the clamav 0.88 code compiled and runs
just fine. The gmp problem is a big one - in it's current state gmp
will not compile on a Mac OS X Intel system. I'll have to see if
DarwinPorts has anything on it.
Don't tell my Intel Mac it wont build.
How are you configuring gmp, what errors are you getting?
Anyone else seen this?
dp
-- Dale
in gmp-4.1.4
configure;make
...
/bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc
-c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_`echo dive_1 | sed 's/_$//'` -g -O2 -fomit-frame-pointer
-m486 -march=pentiumpro `test -f dive_1.asm || echo './'`dive_1.asm
../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_dive_1 -g -O2 -fomit-frame-pointer
-m486 -march=pentiumpro dive_1.asm -fno-common -DPIC -o .libs/dive_1.o
m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_dive_1 -DPIC
dive_1.asm >tmp-dive_1.s
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_dive_1 -g -O2 -fomit-frame-pointer -m486 -march=pentiumpro
tmp-dive_1.s -fno-common -DPIC -o .libs/dive_1.o
tmp-dive_1.s:98:invalid character '@' in first operand
make[2]: *** [dive_1.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Torbjorn Granlund, the author of gmp, is aware of the problem and has
stated he's not interested in a fix.
If you google the error "tmp-dive_1.s:98..." you will see core duo
owners are having the same problem.
dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html