digitalmars.D - htmlget.d
- Newbie (12/12) Aug 05 2004 Downloaded D and tried to compile "htmlget.d" (dmd\samples directory), b...
- J C Calvarese (11/24) Aug 05 2004 Add ws2_32.lib to the compile command:
- Newbie (1/1) Aug 06 2004 Thanks to you as well. (I have not checked the entire thread initially, ...
- bobef (3/15) Aug 05 2004 someone helped me once with the same problem...
- Newbie (1/1) Aug 06 2004 Thank you !
Downloaded D and tried to compile "htmlget.d" (dmd\samples directory), but got lots of linker errors: c:\Ab\DmD\dmd\bin\..\lib\phobos.lib(socket) Error 42: Symbol Undefined _gethostbyname 4 c:\Ab\DmD\dmd\bin\..\lib\phobos.lib(socket) Error 42: Symbol Undefined _gethostbyaddr 12 (..... several more errors in here ......) c:\Ab\DmD\dmd\bin\..\lib\phobos.lib(socket) Error 42: Symbol Undefined _WSACleanup 0 --- errorlevel 23 I am quite sure that all supplied samples are OK. So it's probbly me - but why ???
Aug 05 2004
Newbie wrote:Downloaded D and tried to compile "htmlget.d" (dmd\samples directory), but got lots of linker errors:Add ws2_32.lib to the compile command: dmd htmlget.d ws2_32.lib I'd be nice if Walter would add some batch files to "samples\d" directory to show the new people how they need to be compiled (such as the attached file).c:\Ab\DmD\dmd\bin\..\lib\phobos.lib(socket) Error 42: Symbol Undefined _gethostbyname 4 c:\Ab\DmD\dmd\bin\..\lib\phobos.lib(socket) Error 42: Symbol Undefined _gethostbyaddr 12 (..... several more errors in here ......) c:\Ab\DmD\dmd\bin\..\lib\phobos.lib(socket) Error 42: Symbol Undefined _WSACleanup 0 --- errorlevel 23 I am quite sure that all supplied samples are OK. So it's probbly me - but why ???That's not always true. Sometimes the samples contain deprecated features and stop compiling. (Oops.) -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Aug 05 2004
Thanks to you as well. (I have not checked the entire thread initially, sorry.)
Aug 06 2004
In article <ceucqk$29sv$1 digitaldaemon.com>, Newbie says...Downloaded D and tried to compile "htmlget.d" (dmd\samples directory), but got lots of linker errors: c:\Ab\DmD\dmd\bin\..\lib\phobos.lib(socket) Error 42: Symbol Undefined _gethostbyname 4 c:\Ab\DmD\dmd\bin\..\lib\phobos.lib(socket) Error 42: Symbol Undefined _gethostbyaddr 12 (..... several more errors in here ......) c:\Ab\DmD\dmd\bin\..\lib\phobos.lib(socket) Error 42: Symbol Undefined _WSACleanup 0 --- errorlevel 23 I am quite sure that all supplied samples are OK. So it's probbly me - but why ???someone helped me once with the same problem... compile with dmd htmlget.d ws2_32.lib
Aug 05 2004