enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Enigma-devel] mingw32 cross-compilation fails


From: Martin Hawlisch
Subject: [Enigma-devel] mingw32 cross-compilation fails
Date: Mon, 13 Jan 2003 15:21:20 +0100 (MET)

Hello Daniel,

your latest additions to CVS make my mingw32 cross-compilation fail when
linking:

(...)
i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../lib-src/libtolua 
-I/usr/local/cross-tools/i386-mingw32msvc/include
-I/usr/local/cross-tools/i386-mingw32msvc/include/SDL -Dmain=SDL_main  -g -O2 
-c SDL_gfxPrimitives.c
(...)
i586-mingw32msvc-g++ -DHAVE_CONFIG_H -I. -I. -I. -I../lib-src/libtolua 
-I/usr/local/cross-tools/i386-mingw32msvc/include
-I/usr/local/cross-tools/i386-mingw32msvc/include/SDL -Dmain=SDL_main  -g -O2 
-fno-exceptions
-I/usr/local/cross-tools/i386-mingw32msvc/include
-I/usr/local/cross-tools/i386-mingw32msvc/include/SDL -Dmain=SDL_main -g -c 
display.cc
(...)
i586-mingw32msvc-g++  -g -O2 -fno-exceptions
-I/usr/local/cross-tools/i386-mingw32msvc/include 
-I/usr/local/cross-tools/i386-mingw32msvc/include/SDL
-Dmain=SDL_main -g  -o enigma  enigma-lua.o px-lua.o SDL_gfxPrimitives.o 
actors.o
d_models.o display.o editor.o enigma.o getopt.o getopt1.o gui.o items.o
laser.o lua.o menus.o network.o objects.o options.o player.o sound.o
system_unix.o tools.o video.o world.o px/libpx.a enigma_ico.o -llua -llualib
../lib-src/libtolua/libtolua.a  -L/usr/local/cross-tools/i386-mingw32msvc/lib 
-lmingw32
-lSDLmain -lSDL -mwindows -lSDL_image -lSDL_mixer
SDL_gfxPrimitives.o: In function `aacircleColor':
/home/mhawlisch/devel/enigma_mingw/src/SDL_gfxPrimitives.c:2192: undefined
reference to `_imp__aaellipseColor'
SDL_gfxPrimitives.o: In function `aacircleRGBA':
/home/mhawlisch/devel/enigma_mingw/src/SDL_gfxPrimitives.c:2200: undefined
reference to `_imp__aaellipseColor'
SDL_gfxPrimitives.o: In function `filledpieColor':
/home/mhawlisch/devel/enigma_mingw/src/SDL_gfxPrimitives.c:3033: undefined
reference to `_imp__filledPolygonColor'
display.o: In function `draw_rubbers(px::GC &)':
/home/mhawlisch/devel/enigma_mingw/src/display.cc:1402: undefined reference
to `_imp__lineRGBA'
make[3]: *** [enigma] Fehler 1

I'm using $ i586-mingw32msvc-g++ --version
2.95.3-7
on debian unstable.
Does it work for you?

The latet mingw32 (3.2) still fails with an other error (reported some time
ago).


Btw. it compiles fine on Linux. The new rubberbands are great and mouse
movement is really improved now!


 

-- 
Cheers, Martin.
http://loshawlos.homeip.net/cgi-bin/twiki/view/Enigma

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]