Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 23:03:21 +0200
From:      Alexander Langer <alex@big.endian.de>
To:        Peter William Lount <peter@ActiveInfo.ca>
Cc:        ports@FreeBSD.org, gpalmer@FreeBSD.org, bonzini@gnu.org, Tomas Vanak <tomas@vanak.cz>
Subject:   Re: New Version of GNU Smalltalk, how to compile under freebsd?
Message-ID:  <20020721230321.B33220@fump.kawo2.rwth-aachen.de>
In-Reply-To: <505e01c230f2$4eda8d80$7000a8c0@STEALTH>; from peter@ActiveInfo.ca on Sun, Jul 21, 2002 at 01:07:57PM -0700
References:  <505e01c230f2$4eda8d80$7000a8c0@STEALTH>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Peter William Lount (peter@ActiveInfo.ca):

> I'm wondering how to have the new version (2.0.3) of GNU Smalltalk compile under freebsd? 

On a first try it seems our libm misses some functions that you are
using:

/usr/local/bin/bash ./libtool --mode=link cc  -O -pipe
-fstrict-aliasing -fno-gcse -Wall -Wpointer-arith -Wno-format
-Wno-switch -Wno-parentheses  -L/usr/local/lib -o gst -export-dynamic
main.o libgst/libgst.la  -lm 
cc -O -pipe -fstrict-aliasing -fno-gcse -Wall -Wpointer-arith
-Wno-format -Wno-switch -Wno-parentheses -o gst main.o
-Wl,--export-dynamic  -L/usr/local/lib libgst/.libs/libgst.a
-lreadline -lm
libgst/.libs/libgst.a(interp.o): In function `VMpr_FloatQ_fractionPart':
interp.o(.text+0x174e): undefined reference to `modfl'
interp.o(.text+0x1787): undefined reference to `modfl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_FloatQ_exponent':
interp.o(.text+0x1834): undefined reference to `frexpl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_FloatQ_timesTwoPower':
interp.o(.text+0x18a5): undefined reference to `ldexpl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_Float_sin':
interp.o(.text+0x4833): undefined reference to `sinl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_Float_cos':
interp.o(.text+0x4963): undefined reference to `cosl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_Float_tan':
interp.o(.text+0x4a93): undefined reference to `tanl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_Float_arcSin':
interp.o(.text+0x4bc7): undefined reference to `asinl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_Float_arcCos':
interp.o(.text+0x4cfb): undefined reference to `acosl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_Float_arcTan':
interp.o(.text+0x4e2f): undefined reference to `atanl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_Float_exp':
interp.o(.text+0x4f63): undefined reference to `expl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_Float_ln':
interp.o(.text+0x5097): undefined reference to `logl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_Float_pow':
interp.o(.text+0x52e0): undefined reference to `powl'
libgst/.libs/libgst.a(interp.o): In function `VMpr_Float_sqrt':
interp.o(.text+0x54bf): undefined reference to `sqrtl'
gmake[2]: *** [gst] Error 1
gmake[2]: Leaving directory `/storage/home/alex/work/smalltalk/work/smalltalk-2.0.3'

This is FreeBSD-CURRENT as of Mar 13th, this year.

I'll take a look again when I have more time.

Alex

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020721230321.B33220>