"don't know how to make 'src\unittest.d'" error while rebuilding Phobos
Jesse Phillips
Jessekphillips+D at gmail.com
Thu Mar 29 10:08:30 PDT 2012
On Thursday, 29 March 2012 at 16:51:24 UTC, Gleb wrote:
> OPTLINK (R) for Win32 Release 8.00.12
> Copyright (C) Digital Mars 1989-2010 All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> D:\UserFiles\D\dmd2\windows\bin\..\lib\phobos.lib(file)
> Error 42: Symbol Undefined _D3std10__fileinit9useWfuncsOb
> D:\UserFiles\D\dmd2\windows\bin\..\lib\phobos.lib(file)
> Error 42: Symbol Undefined _D3std10__fileinit12__ModuleInfoZ
> --- errorlevel 2
>
> I have commented out all the code related with curl, so it is
> not because of curl . It looks like my new phobos.lib is
> somehow bad.
> I have no idea what does this error mean. Google didn't help.
> So I was trying to use unittests to find out what's wrong.
This is a linker error, it can't find phobos.lib.
You can pass phobos2.lib on the commandline, I don't know the
linker flags for optlink to find it. sc.ini is the configuration
for it though.
More information about the Digitalmars-d-learn
mailing list