On Fri, Oct 31, 2003, John Angelmo wrote:
But still after importing e_scalb.c or e_scalbf.c and rebuilding gives me this:
cc -fpic -DPIC -O -pipe -march=pentium3 -D_IEEE_LIBM -D_ARCH_INDIRECT=i387_ -c i387_s_tan.S -o i387_s_tan.So building shared library libm.so.2 e_scalb.So: In function `__ieee754_scalbf': e_scalb.So(.text+0x0): multiple definition of `__ieee754_scalbf' e_scalbf.So(.text+0x0): first defined here *** Error code 1
Sounds like you might have accidentally imported e_scalbf.c twice---once as e_scalbf.c and once as e_scalb.c.
I used this: http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/lib/msun/src/e_scalb.c?rev=1.10&content-type=text/plain&only_with_tag=HEAD
and this:
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/lib/msun/src/e_scalbf.c?rev=1.8&content-type=text/plain&only_with_tag=HEAD
for the diffrent files, and I checked/tested multiple times now, the files are imported correcty (simple copy paste)
I'm using 5.1-p10 and get that error
/John
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"