View previous topic :: View next topic |
Author |
Message |
Boris Wang
Joined: 08 Apr 2006 Posts: 3
|
Posted: Mon May 22, 2006 12:11 am Post subject: Problem of DMD 157 + DFL 0.92 |
|
|
make the example, the Error message:
Error 42: Symbol Undefined _D3std6thread6Thread5_ctorFDFZiZC3std6thread6Thread
--- errorlevel 1 |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Mon May 22, 2006 9:46 am Post subject: Re: Problem of DMD 157 + DFL 0.92 |
|
|
Sounds like you're using a version of DFL designed for another DMD version. As stated on the DFL download page "Other versions may not work!"; this is due to changes in DMD's code generation, causing lib files to not be very compatible among compiler versions.
What you could do is check for newer DFL versions or snapshots (there is a snapshot for your DMD version), or just regenerate DFL's lib files (not guaranteed to work if language changes) via makelib.bat in your \dmd\import\dfl directory and then move the generated libs to the \dmd\lib directory. I just posted DFL 0.9.2 with updated lib files for DMD 0.157 if you'd like to just download that.
- Chris |
|
Back to top |
|
|
Boris Wang
Joined: 08 Apr 2006 Posts: 3
|
Posted: Mon May 22, 2006 7:54 pm Post subject: |
|
|
Thanks! |
|
Back to top |
|
|
parrot
Joined: 01 Jun 2006 Posts: 1
|
Posted: Thu Jun 01, 2006 6:22 am Post subject: |
|
|
I have the same problem. I have updated dmd to version 0.157 and dfl to the version that should fit. Now get the following errors, when compiling with dfl.exe :
Error 42: Symbol Undefined _D3std6thread6Thread5_ctorFDFZiZC3std6thread6Thread
Error 42: Symbol Undefined _D3std6socket6...... |
|
Back to top |
|
|
larsivi Site Admin
Joined: 27 Mar 2004 Posts: 453 Location: Trondheim, Norway
|
Posted: Thu Jun 01, 2006 8:45 am Post subject: |
|
|
There have been some updates to std.Thread and the GC in later versions that might be the reason for this. When upgrading the compiler, remember to install the new phobos.lib, and sources, there might have been an API change somewhere that affects an imported symbol. |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Fri Jun 02, 2006 10:29 am Post subject: |
|
|
parrot wrote: | I have the same problem. I have updated dmd to version 0.157 and dfl to the version that should fit. Now get the following errors, when compiling with dfl.exe :
Error 42: Symbol Undefined _D3std6thread6Thread5_ctorFDFZiZC3std6thread6Thread
Error 42: Symbol Undefined _D3std6socket6...... |
It could be another (unrelated) outdated lib or obj causing that, or perhaps you don't have the versions you think. Try the makelib suggestion mentioned previously? |
|
Back to top |
|
|
|