Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
November 19, 2016 what is mean? ( Offset 78887H Record Type 00C3) | ||||
---|---|---|---|---|
| ||||
hello. i got a problem when i build my source code(windows7 x64 / DMD32 D Compiler v2.072.0), here: ============================================================ OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html main.obj(main) Offset 78887H Record Type 00C3 Error 1: Previous Definition Different : _D4Xaru8logArrayFAyaAAyaZv Error: linker exited with status 337446008 ============================================================ what is mean? i don't understand. |
November 19, 2016 Re: what is mean? ( Offset 78887H Record Type 00C3) | ||||
---|---|---|---|---|
| ||||
Posted in reply to xky | On Saturday, 19 November 2016 at 06:54:37 UTC, xky wrote:
> hello.
>
> i got a problem when i build my source code(windows7 x64 / DMD32 D Compiler v2.072.0), here:
>
> ============================================================
> OPTLINK (R) for Win32 Release 8.00.17
> Copyright (C) Digital Mars 1989-2013 All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> main.obj(main) Offset 78887H Record Type 00C3
> Error 1: Previous Definition Different : _D4Xaru8logArrayFAyaAAyaZv
> Error: linker exited with status 337446008
> ============================================================
>
> what is mean? i don't understand.
Idk.
If you're using x64 then you should be using the microsoft linker.
are you invoking the linker manually?
are
|
November 19, 2016 Re: what is mean? ( Offset 78887H Record Type 00C3) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nicholas Wilson | On Saturday, 19 November 2016 at 07:12:49 UTC, Nicholas Wilson wrote:
> If you're using x64 then you should be using the microsoft linker.
>
> are you invoking the linker manually?
I would guess that some files are old and compiled separately, and the source was changed at some point. But we don't have source or anything to compare against.
|
November 19, 2016 Re: what is mean? ( Offset 78887H Record Type 00C3) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nicholas Wilson | On Saturday, 19 November 2016 at 07:12:49 UTC, Nicholas Wilson wrote: > If you're using x64 then you should be using the microsoft linker. ok > are you invoking the linker manually? > no... So, I got msbuild.zip from another website and found link.exe. Can I replace this with "C:\D\dmd2\windows\bin\link.exe"? Please let me know more. |
November 19, 2016 Re: what is mean? ( Offset 78887H Record Type 00C3) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Era Scarecrow | On Saturday, 19 November 2016 at 08:29:08 UTC, Era Scarecrow wrote:
> On Saturday, 19 November 2016 at 07:12:49 UTC, Nicholas Wilson wrote:
>> If you're using x64 then you should be using the microsoft linker.
>>
>> are you invoking the linker manually?
>
> I would guess that some files are old and compiled separately, and the source was changed at some point. But we don't have source or anything to compare against.
In fact, we have been using DMDs for some time, and this has happened since we installed the new DMD.
|
November 19, 2016 Re: what is mean? ( Offset 78887H Record Type 00C3) | ||||
---|---|---|---|---|
| ||||
Posted in reply to xky | On Saturday, 19 November 2016 at 08:59:36 UTC, xky wrote:
> On Saturday, 19 November 2016 at 07:12:49 UTC, Nicholas Wilson wrote:
>> If you're using x64 then you should be using the microsoft linker.
> ok
>
>> are you invoking the linker manually?
>>
> no...
>
> So, I got msbuild.zip from another website and found link.exe. Can I replace this with "C:\D\dmd2\windows\bin\link.exe"?
>
> Please let me know more.
No, OPTLINK is the right linker for DMD32 (because of the object format, OMF), unless you use the -mscoff32 switch (which has for effect to produce another object format, that OPTLINK doesn't know to link). Your issue is likely not a linker issue.
Is the message is about double definition ?
|
November 19, 2016 Re: what is mean? ( Offset 78887H Record Type 00C3) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Saturday, 19 November 2016 at 09:35:33 UTC, Basile B. wrote: > No, OPTLINK is the right linker for DMD32 (because of the object format, OMF), unless you use the -mscoff32 switch (which has for effect to produce another object format, that OPTLINK doesn't know to link). Your issue is likely not a linker issue. > > Is the message is about double definition ? I do not think so. When i using dmd for directly("dmd code.d"), get this message. and using with dub, get here message: ============================================================ Linking... Can't run '\bin\link.exe', check PATH dmd failed with exit code -1. ============================================================ I think I made a mistake, but I do not know what it is... |
November 20, 2016 Re: what is mean? ( Offset 78887H Record Type 00C3) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Saturday, 19 November 2016 at 09:35:33 UTC, Basile B. wrote:
> Is the message is about double definition ?
I knew the cause. You were right. It is my mistake.
I'm really sorry.
|
Copyright © 1999-2021 by the D Language Foundation