[Hugs-bugs] Help building on Mac OS X
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Wed Jan 12 12:04:12 EST 2005
Adam <selfhealer at bigfoot.com> writes:
> I'm trying to build hugs on Mac OS X 10.3.7. The configure script runs ok,
> then when I do 'make' I get the following:
>
> /usr/bin/ld: Undefined symbols:
> _doubleFromParts
> _part1Double
> _part2Double
> make: *** [hugs] Error 1
The configure script is (wrongly) determining that the MacOS X C
compiler does not support Floats/Doubles. Ideally, the autoconf magic
which determined this setting should be fixed, but in the meantime,
you can work around it by:
(1) Edit src/config.h, replacing the line
/* #undef HAVE_LIBM */
with
#define HAVE_LIBM 1
(2) rm src/*.o
(3) cd src; make
Regards,
Malcolm
More information about the Hugs-Bugs
mailing list