On Mar 20, 2006, at 09:03 , Dennis Peterson wrote:

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

the first 6 lines would have been helpful/useful infomration.

...
/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

You'll have to disable shared libs.

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.

Yes, I ran into this as well, but it does build if you disable shared.

If you want to generate a proper fix, I'm sure that it would be appreciated but one thing to note, I've been unable to build it as a dual architecture and this would be good to achieve as well.

dp

-- Dale
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to