digitalmars.D - htmlget.d
- Newbie <Newbie_member pathlink.com> Aug 05 2004
- J C Calvarese <jcc7 cox.net> Aug 05 2004
- Newbie <Newbie_member pathlink.com> Aug 06 2004
- bobef <bobef_member pathlink.com> Aug 05 2004
- Newbie <Newbie_member pathlink.com> Aug 06 2004
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
Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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









Newbie <Newbie_member pathlink.com> 