I ran the following command:
F:\wxLua\build\msw>mingw32-make -f makefile.gcc BUILD=release UNICODE=1
WX_SHARED=1 SHARED=1
And I got this error:
gcc -fPIC -o ..\..\..\lib\gcc_dll\lua5.1.dll gccmswu_dll\lua_dll_lapi.o gccmswu
_dll\lua_dll_lcode.o gccmswu_dll\lua_dll_ldebug.o gccmswu_dll\lua_dll_ldo.o gccm
swu_dll\lua_dll_ldump.o gccmswu_dll\lua_dll_lfunc.o gccmswu_dll\lua_dll_lgc.o gc
cmswu_dll\lua_dll_llex.o gccmswu_dll\lua_dll_lmem.o gccmswu_dll\lua_dll_lobject.
o gccmswu_dll\lua_dll_lopcodes.o gccmswu_dll\lua_dll_lparser.o gccmswu_dll\lua_d
ll_lstate.o gccmswu_dll\lua_dll_lstring.o gccmswu_dll\lua_dll_ltable.o gccmswu_d
ll\lua_dll_ltm.o gccmswu_dll\lua_dll_lundump.o gccmswu_dll\lua_dll_lvm.o gccmswu
_dll\lua_dll_lzio.o gccmswu_dll\lua_dll_lauxlib.o gccmswu_dll\lua_dll_lbaselib.o
gccmswu_dll\lua_dll_ldblib.o gccmswu_dll\lua_dll_liolib.o gccmswu_dll\lua_dll_l
mathlib.o gccmswu_dll\lua_dll_loslib.o gccmswu_dll\lua_dll_ltablib.o gccmswu_dll
\lua_dll_lstrlib.o gccmswu_dll\lua_dll_loadlib.o gccmswu_dll\lua_dll_linit.o -
Wl,--out-implib=..\..\..\lib\gcc_dll\liblua5.1.a
Creating library file: ..\..\..\lib\gcc_dll\liblua5.1.a
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../libmingw32.a(main.o):main.c:(.tex
t+0x104): undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [..\..\..\lib\gcc_dll\lua5.1.dll] Error 1
mingw32-make[1]: Leaving directory `F:/wxLua/modules/build/msw'
mingw32-make: *** [modules] Error 2
I've tried some other configurations, it turned out that there allways be a
error when linking the first DLL. Any idea how this happen?
在2008-07-30,"John Labenski" <[EMAIL PROTECTED]> 写道:
>On Sat, Jul 26, 2008 at 8:29 AM, kinming2003
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users