MinGW Release. D2.058 x86-64 20120428

Manu turkeyman at gmail.com
Mon Apr 30 11:24:06 PDT 2012


On 30 April 2012 18:40, Iain Buclaw <ibuclaw at ubuntu.com> wrote:

> On 30 April 2012 16:33, Daniel Green <venix1 at gmail.com> wrote:
> > On 4/30/2012 6:18 AM, Manu wrote:
> >>
> >> I guess the etc.c... libs didn't make the cut :(
> >
> >
> > It was sort of an intermittent release, to get it out and tested.
> >
> > To update the lib status, zlib is already part of libgphobos2.a.  If you
> > inspect the library you'll see it's object files.  If you're having
> specific
> > zlib errors, you should share them.
> >
> > sqlite.o is easy enough to build and can be put into libgphobos.a. Being
> > public domain helps, I'll add it to the build process.
> >
> > Curl is the only tricky one.  It actually has configuration options and
> > probably dependencies.  Is there a list of what features D requires curl
> to
> > support?
>
> SQLite comes as a single source file if I recall correctly, and could
> be added to the libphobos build folder under libphobos/sqlite.
>
> In future when (or if) shared libraries are supported, can remove the
> source file and have these as dependencies for building libphobos,
> which are linked in during compilation of libgphobos.so
>

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20120430/23908236/attachment.html>


More information about the D.gnu mailing list