<div class="gmail_extra"><div class="gmail_quote">On 30 April 2012 18:40, Iain Buclaw <span dir="ltr"><<a href="mailto:ibuclaw@ubuntu.com" target="_blank">ibuclaw@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 30 April 2012 16:33, Daniel Green <<a href="mailto:venix1@gmail.com">venix1@gmail.com</a>> wrote:<br>
> On 4/30/2012 6:18 AM, Manu wrote:<br>
>><br>
>> I guess the etc.c... libs didn't make the cut :(<br>
><br>
><br>
> It was sort of an intermittent release, to get it out and tested.<br>
><br>
> To update the lib status, zlib is already part of libgphobos2.a.  If you<br>
> inspect the library you'll see it's object files.  If you're having specific<br>
> zlib errors, you should share them.<br>
><br>
> sqlite.o is easy enough to build and can be put into libgphobos.a. Being<br>
> public domain helps, I'll add it to the build process.<br>
><br>
> Curl is the only tricky one.  It actually has configuration options and<br>
> probably dependencies.  Is there a list of what features D requires curl to<br>
> support?<br>
<br>
</div></div>SQLite comes as a single source file if I recall correctly, and could<br>
be added to the libphobos build folder under libphobos/sqlite.<br>
<br>
In future when (or if) shared libraries are supported, can remove the<br>
source file and have these as dependencies for building libphobos,<br>
which are linked in during compilation of libgphobos.so<br></blockquote><div><br></div><div>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)</div>
<div><br></div><div><div>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':</div><div>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'</div>
<div>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'</div><div>c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../lib32/libgphobos2.a(conv.o): In function `std.conv._D3std4conv9__modinitFZv':</div>
<div>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'</div><div>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'</div>
</div><div>etc...</div><div><br></div><div><br></div><div>I also built sqlite, but it's complaining with lots of:</div><div><br></div><div><div>C:\Users\MANUEV~1\AppData\Local\Temp\cclkNCic.o: In function `D4demu5tools8sqlitedb8SQLiteDB6AttachMFAxaAxaZE4demu5tools5error9ErrorCode':</div>
<div>D:\Projects\SuperEmu/Source/Tools/SQLiteDB.d:57: undefined reference to `sqlite3_exec'</div><div>C:\Users\MANUEV~1\AppData\Local\Temp\cclkNCic.o: In function `D4demu5tools8sqlitedb8SQLiteDB5CloseMFZv':</div><div>
D:\Projects\SuperEmu/Source/Tools/SQLiteDB.d:46: undefined reference to `sqlite3_close'</div><div>C:\Users\MANUEV~1\AppData\Local\Temp\cclkNCic.o: In function `D4demu5tools8sqlitedb8SQLiteDB4OpenMFAxaZE4demu5tools5error9ErrorCode':</div>
<div>D:\Projects\SuperEmu/Source/Tools/SQLiteDB.d:34: undefined reference to `sqlite3_open'</div></div><div>etc...</div><div><br></div><div><br></div><div>Any ideas?</div><div><br></div><div>Here's how I built sqlite, in case I did something wrong:</div>
<div>gcc -c sqlite3.c -m64 -O3  -> sqlite3.o</div><div>ar rs libsqlite.a sqlite3.o    -> sqlite.a</div></div></div>