MinGW Release. D2.058 x86-64 20120428

Manu turkeyman at gmail.com
Mon Apr 30 12:49:58 PDT 2012


On 30 April 2012 21:24, Manu <turkeyman at gmail.com> wrote:
>
> I seem to be getting a lot of these with the latest build trying to build
> a windows project (Daniel: the same repo I referred to in that bug report)
>
> c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../lib32/libgphobos2.a(ti_Aint.o):
> In function `rt.typeinfo.ti_Aint._D2rt8typeinfo7ti_Aint9__modinitFZv':
> C:\crossdev\gdc64\v2\build\x86_64-w64-mingw32\32\libphobos\libdruntime/../../../../../gcc-4.6.1/libphobos/libdruntime/rt/typeinfo/ti_Aint.d:1:
> undefined reference to `_Dmodule_ref'
> C:\crossdev\gdc64\v2\build\x86_64-w64-mingw32\32\libphobos\libdruntime/../../../../../gcc-4.6.1/libphobos/libdruntime/rt/typeinfo/ti_Aint.d:1:
> undefined reference to `_Dmodule_ref'
> c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../lib32/libgphobos2.a(conv.o):
> In function `std.conv._D3std4conv9__modinitFZv':
> C:\crossdev\gdc64\v2\build\x86_64-w64-mingw32\32\libphobos/../../../../gcc-4.6.1/libphobos/std/conv.d:1:
> undefined reference to `_Dmodule_ref'
> C:\crossdev\gdc64\v2\build\x86_64-w64-mingw32\32\libphobos/../../../../gcc-4.6.1/libphobos/std/conv.d:1:
> undefined reference to `_Dmodule_ref'
> etc...
>
>
> I also built sqlite, but it's complaining with lots of:
>
> C:\Users\MANUEV~1\AppData\Local\Temp\cclkNCic.o: In function
> `D4demu5tools8sqlitedb8SQLiteDB6AttachMFAxaAxaZE4demu5tools5error9ErrorCode':
> D:\Projects\SuperEmu/Source/Tools/SQLiteDB.d:57: undefined reference to
> `sqlite3_exec'
> C:\Users\MANUEV~1\AppData\Local\Temp\cclkNCic.o: In function
> `D4demu5tools8sqlitedb8SQLiteDB5CloseMFZv':
> D:\Projects\SuperEmu/Source/Tools/SQLiteDB.d:46: undefined reference to
> `sqlite3_close'
> C:\Users\MANUEV~1\AppData\Local\Temp\cclkNCic.o: In function
> `D4demu5tools8sqlitedb8SQLiteDB4OpenMFAxaZE4demu5tools5error9ErrorCode':
> D:\Projects\SuperEmu/Source/Tools/SQLiteDB.d:34: undefined reference to
> `sqlite3_open'
> etc...
>
>
> Any ideas?
>
> Here's how I built sqlite, in case I did something wrong:
> gcc -c sqlite3.c -m64 -O3  -> sqlite3.o
> ar rs libsqlite.a sqlite3.o    -> sqlite.a
>

Actually, I just tried -m64 and the _Dmodule_ref errors were all gone...
switched back to -m32 and they were back again...
User error? What are they about?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20120430/34db7697/attachment.html>


More information about the D.gnu mailing list