Jump to page: 1 2
Thread overview
std.experimental.allocator optlink error
Nov 09, 2015
ref2401
Nov 09, 2015
ref2401
Nov 10, 2015
uiop
Nov 10, 2015
Xiaoxi
Nov 10, 2015
ref2401
Nov 10, 2015
ref2401
Nov 10, 2015
uiop
Nov 10, 2015
Rikki Cattermole
Nov 20, 2015
Tofu Ninja
Nov 20, 2015
Rikki Cattermole
Nov 20, 2015
Tofu Ninja
Nov 20, 2015
Ilya Yaroshenko
Nov 11, 2015
Dustin Walker
Nov 11, 2015
Rikki Cattermole
November 09, 2015
Hello

I wrote a small hello world app and imported the `std.experimental.allocator` module.
I'm getting the following optlink error:
---------------------------------------------------
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
console-app.obj(console-app)
Error 42: Symbol Undefined _D3std12experimental9allocator12__ModuleInfoZ
--- errorlevel 1
---------------------------------------------------
os: 		Windows 8.1 Enterprise
dmd: 		2.069.0
build sript: 	dmd main.d -ofconsole-app.exe -debug -unittest -wi

Thank you.
November 09, 2015
On Monday, 9 November 2015 at 14:42:01 UTC, ref2401 wrote:
> Hello
>
> I wrote a small hello world app and imported the `std.experimental.allocator` module.
> I'm getting the following optlink error:
> ---------------------------------------------------
> OPTLINK (R) for Win32  Release 8.00.17
> Copyright (C) Digital Mars 1989-2013  All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> console-app.obj(console-app)
> Error 42: Symbol Undefined _D3std12experimental9allocator12__ModuleInfoZ
> --- errorlevel 1
> ---------------------------------------------------
> os: 		Windows 8.1 Enterprise
> dmd: 		2.069.0
> build sript: 	dmd main.d -ofconsole-app.exe -debug -unittest -wi
>
> Thank you.

I tested it with my home laptop(Win 8.1 Pro). Same error.
If I change `std.experimental.allocator` to `std.experimental.logger` then it builds fine.
November 10, 2015
On Monday, 9 November 2015 at 18:07:39 UTC, ref2401 wrote:
> On Monday, 9 November 2015 at 14:42:01 UTC, ref2401 wrote:
>> Hello
>>
>> I wrote a small hello world app and imported the `std.experimental.allocator` module.
>> I'm getting the following optlink error:
>> ---------------------------------------------------
>> OPTLINK (R) for Win32  Release 8.00.17
>> Copyright (C) Digital Mars 1989-2013  All rights reserved.
>> http://www.digitalmars.com/ctg/optlink.html
>> console-app.obj(console-app)
>> Error 42: Symbol Undefined _D3std12experimental9allocator12__ModuleInfoZ
>> --- errorlevel 1
>> ---------------------------------------------------
>> os: 		Windows 8.1 Enterprise
>> dmd: 		2.069.0
>> build sript: 	dmd main.d -ofconsole-app.exe -debug -unittest -wi
>>
>> Thank you.
>
> I tested it with my home laptop(Win 8.1 Pro). Same error.
> If I change `std.experimental.allocator` to `std.experimental.logger` then it builds fine.

Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ? When you setup dmd 2.069, did you use the 7z or installer ?
November 10, 2015
On Tuesday, 10 November 2015 at 01:04:16 UTC, uiop wrote:
> Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ? When you setup dmd 2.069, did you use the 7z or installer ?

i have the same issue. i used the installer. i only have one d installation...
November 10, 2015
On Tuesday, 10 November 2015 at 01:04:16 UTC, uiop wrote:
> Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ?

How can I do that?

> When you setup dmd 2.069, did you use the 7z or installer ?

Installer always

btw. Thanks for response. I started thinking nobody cares.
November 10, 2015
On Tuesday, 10 November 2015 at 08:48:37 UTC, ref2401 wrote:
> On Tuesday, 10 November 2015 at 01:04:16 UTC, uiop wrote:
>> Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ?
>
> How can I do that?
>
>> When you setup dmd 2.069, did you use the 7z or installer ?
>
> Installer always
>
> btw. Thanks for response. I started thinking nobody cares.

I downloaded the `dmd.2.069.0.windows.7z` file and replaced `phobos.lib` with one from the 7z package. Still getting the error.
November 10, 2015
On Tuesday, 10 November 2015 at 10:34:56 UTC, ref2401 wrote:
> On Tuesday, 10 November 2015 at 08:48:37 UTC, ref2401 wrote:
>> On Tuesday, 10 November 2015 at 01:04:16 UTC, uiop wrote:
>>> Can you find the sources in your setup ? Any chance that that phobos.lib is still the the one distributed with dmd 2.068 ?
>>
>> How can I do that?
>>
>>> When you setup dmd 2.069, did you use the 7z or installer ?
>>
>> Installer always
>>
>> btw. Thanks for response. I started thinking nobody cares.
>
> I downloaded the `dmd.2.069.0.windows.7z` file and replaced `phobos.lib` with one from the 7z package. Still getting the error.

Wow, that would be an incredible error in the distribution ! Waiting for more confirmation to open a bugzilla issue. Otherwise if you are really sure open a ticket yourself.
November 10, 2015
On 11/11/15 12:05 AM, uiop wrote:
> On Tuesday, 10 November 2015 at 10:34:56 UTC, ref2401 wrote:
>> On Tuesday, 10 November 2015 at 08:48:37 UTC, ref2401 wrote:
>>> On Tuesday, 10 November 2015 at 01:04:16 UTC, uiop wrote:
>>>> Can you find the sources in your setup ? Any chance that that
>>>> phobos.lib is still the the one distributed with dmd 2.068 ?
>>>
>>> How can I do that?
>>>
>>>> When you setup dmd 2.069, did you use the 7z or installer ?
>>>
>>> Installer always
>>>
>>> btw. Thanks for response. I started thinking nobody cares.
>>
>> I downloaded the `dmd.2.069.0.windows.7z` file and replaced
>> `phobos.lib` with one from the 7z package. Still getting the error.
>
> Wow, that would be an incredible error in the distribution ! Waiting for
> more confirmation to open a bugzilla issue. Otherwise if you are really
> sure open a ticket yourself.

One already exists.
I've confirmed it in the build scripts. It only effects Windows.
November 11, 2015
On Monday, 9 November 2015 at 14:42:01 UTC, ref2401 wrote:
> Hello
>
> I wrote a small hello world app and imported the `std.experimental.allocator` module.
> I'm getting the following optlink error:
> ---------------------------------------------------
> OPTLINK (R) for Win32  Release 8.00.17
> Copyright (C) Digital Mars 1989-2013  All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> console-app.obj(console-app)
> Error 42: Symbol Undefined _D3std12experimental9allocator12__ModuleInfoZ
> --- errorlevel 1
> ---------------------------------------------------
> os: 		Windows 8.1 Enterprise
> dmd: 		2.069.0
> build sript: 	dmd main.d -ofconsole-app.exe -debug -unittest -wi
>
> Thank you.

I am having this issue as well. Just used the Windows DMD installer 1 hour ago. Tried this:

>dmd jmtg\src\Permanent.d jmtg\src\Color.d

OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Warning 23: No Stack
Permanent.obj(Permanent)
 Error 42: Symbol Undefined _D14TypeInfo_Class6__vtblZ
Permanent.obj(Permanent)
 Error 42: Symbol Undefined _D6Object7__ClassZ
Permanent.obj(Permanent)
 Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectZb
Permanent.obj(Permanent)
 Error 42: Symbol Undefined _D6object6Object5opCmpMFC6ObjectZi
Permanent.obj(Permanent)
 Error 42: Symbol Undefined _D6object6Object8toStringMFZAya
Permanent.obj(Permanent)
 Error 42: Symbol Undefined _D6object6Object6toHashMFNbNeZk
OPTLINK : Warning 134: No Start Address
--- errorlevel 6
November 11, 2015
On 11/11/15 5:17 PM, Dustin Walker wrote:
> On Monday, 9 November 2015 at 14:42:01 UTC, ref2401 wrote:
>> Hello
>>
>> I wrote a small hello world app and imported the
>> `std.experimental.allocator` module.
>> I'm getting the following optlink error:
>> ---------------------------------------------------
>> OPTLINK (R) for Win32  Release 8.00.17
>> Copyright (C) Digital Mars 1989-2013  All rights reserved.
>> http://www.digitalmars.com/ctg/optlink.html
>> console-app.obj(console-app)
>> Error 42: Symbol Undefined _D3std12experimental9allocator12__ModuleInfoZ
>> --- errorlevel 1
>> ---------------------------------------------------
>> os:         Windows 8.1 Enterprise
>> dmd:         2.069.0
>> build sript:     dmd main.d -ofconsole-app.exe -debug -unittest -wi
>>
>> Thank you.
>
> I am having this issue as well. Just used the Windows DMD installer 1
> hour ago. Tried this:
>
>> dmd jmtg\src\Permanent.d jmtg\src\Color.d
>
> OPTLINK (R) for Win32  Release 8.00.17
> Copyright (C) Digital Mars 1989-2013  All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> OPTLINK : Warning 23: No Stack
> Permanent.obj(Permanent)
>   Error 42: Symbol Undefined _D14TypeInfo_Class6__vtblZ
> Permanent.obj(Permanent)
>   Error 42: Symbol Undefined _D6Object7__ClassZ
> Permanent.obj(Permanent)
>   Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectZb
> Permanent.obj(Permanent)
>   Error 42: Symbol Undefined _D6object6Object5opCmpMFC6ObjectZi
> Permanent.obj(Permanent)
>   Error 42: Symbol Undefined _D6object6Object8toStringMFZAya
> Permanent.obj(Permanent)
>   Error 42: Symbol Undefined _D6object6Object6toHashMFNbNeZk
> OPTLINK : Warning 134: No Start Address
> --- errorlevel 6

Different issue. You are missing the main function.
« First   ‹ Prev
1 2