Originally Posted by
D.J.Peters
Originally Posted by
Michael Hartlef
No, no go. Can't even link with it. Thanks anyway.
why not ?
I'm a VisualStudio Pro user and use *.lib not *.dll.a files.
please post the error message.
sorry wihtout it i can't help you
Joshy
Hi Joshi,
I am using Mingw with Code:Blocks. Here is the error list:
-------------- Build: Release in thinBasic ---------------
Linking dynamic library: bin\Release\thinBasic_myC.dll
Info: resolving _thinBasic_LoadSymbol by linking to __imp__thinBasic_LoadSymbol (auto-import)
Info: resolving _thinBasic_CheckCloseParens by linking to __imp__thinBasic_CheckCloseParens (auto-import)
Info: resolving _thinBasic_ParseString by linking to __imp__thinBasic_ParseString (auto-import)
Info: resolving _thinBasic_CheckOpenParens by linking to __imp__thinBasic_CheckOpenParens (auto-import)
Creating library file: bin\Release\libthinBasic_myC.a
C:\Programme\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
fu000001.o:(.idata$2+0xc): undefined reference to `__libthinCore_dll_a_iname'
fu000003.o:(.idata$2+0xc): undefined reference to `__libthinCore_dll_a_iname'
fu000004.o:(.idata$2+0xc): undefined reference to `__libthinCore_dll_a_iname'
fu000006.o:(.idata$2+0xc): undefined reference to `__libthinCore_dll_a_iname'
fu000007.o:(.idata$2+0xc): undefined reference to `__libthinCore_dll_a_iname'
fu000009.o:(.idata$2+0xc): more undefined references to `__libthinCore_dll_a_iname' follow
nmth000000.o:(.idata$4+0x0): undefined reference to `_nm__thinBasic_LoadSymbol'
nmth000002.o:(.idata$4+0x0): undefined reference to `_nm__thinBasic_CheckCloseParens'
nmth000005.o:(.idata$4+0x0): undefined reference to `_nm__thinBasic_ParseString'
nmth000008.o:(.idata$4+0x0): undefined reference to `_nm__thinBasic_CheckOpenParens'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
9 errors, 1 warnings
Bookmarks