FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem of DMD 157 + DFL 0.92

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
Boris Wang



Joined: 08 Apr 2006
Posts: 3

PostPosted: Mon May 22, 2006 12:11 am    Post subject: Problem of DMD 157 + DFL 0.92 Reply with quote

make the example, the Error message:

Error 42: Symbol Undefined _D3std6thread6Thread5_ctorFDFZiZC3std6thread6Thread
--- errorlevel 1
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Mon May 22, 2006 9:46 am    Post subject: Re: Problem of DMD 157 + DFL 0.92 Reply with quote

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
View user's profile Send private message
Boris Wang



Joined: 08 Apr 2006
Posts: 3

PostPosted: Mon May 22, 2006 7:54 pm    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message
parrot



Joined: 01 Jun 2006
Posts: 1

PostPosted: Thu Jun 01, 2006 6:22 am    Post subject: Reply with quote

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
View user's profile Send private message
larsivi
Site Admin


Joined: 27 Mar 2004
Posts: 453
Location: Trondheim, Norway

PostPosted: Thu Jun 01, 2006 8:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Fri Jun 02, 2006 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group