On 8/26/2009 09:31, Sisyphus wrote:
>
> With mpc-0.6 I get an error building the mpc_set tests (tset.o):
>
> x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -I../src
> -I/usr/local/include -g -O2 -MT tset.o -MD -MP -MF .deps/tset.Tpo -c -o
> tset.o tset.c
> In file included from ../src/mpc-impl.h:27:0,
> from mpc-tests.h:25,
> from tset.c:37:
> ../src/config.h:1:0: warning: "PACKAGE_STRING" redefined
> ../config.h:71:0: note: this is the location of the previous definition
> mv -f .deps/tset.Tpo .deps/tset.Po
> /bin/sh ../libtool --tag=CC --mode=link 86_64-w64-mingw32-gcc -g -O2
> -L/usr/local/lib -o tset.exe tset.o libmpc-tests.la ../src/libmpc.la
> -lmpfr -lgmp
> x86_64-w64-mingw32-gcc -g -O2 -o tset.exe tset.o -L/usr/local/lib
> ./.libs/libmpc-tests.a ../src/.libs/libmpc.a /usr/local/lib/libmpfr.a
> /usr/local/lib/libgmp.a
> tset.o: In function `check_set':
> c:\_32\comp\mpc-0.6\tests/tset.c:235: undefined reference to `mpc_set_uj'
> c:\_32\comp\mpc-0.6\tests/tset.c:240: undefined reference to `mpc_set_sj'
> c:\_32\comp\mpc-0.6\tests/tset.c:245: undefined reference to
> `mpc_set_uj_uj'
> c:\_32\comp\mpc-0.6\tests/tset.c:250: undefined reference to
> `mpc_set_sj_sj'
> c:\_32\comp\mpc-0.6\tests/tset.c:259: undefined reference to `mpc_set_sj'
> c:\_32\comp\mpc-0.6\tests/tset.c:264: undefined reference to
> `mpc_set_sj_sj'
> collect2: ld returned 1 exit status
> make[2]: *** [tset.exe] Error 1
>
> This a little more serious - those references are, indeed, not defined
> in libmpc.a. This smells to me like a bug in mpc itself. (Again, I'll
> have to take a closer look when time permits.)
>

Hi,
this looks like a real problem, I haven't encountered it before.

I'll investigate further once I get the time; or until xeno shows up on 
irc, he's been doing trying to make a win64 toolchain too. I'm sure he 
has something to say.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to