listener.d
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Sun Jan 14 13:19:40 PST 2007
nobody_ wrote:
> I think I did something wrong :)
> D 1.0
>
> Command >>> Building Project: windows......
> C:\D\dm\bin\bud_win_3.04.exe
> listener.d -d -full -DCPATHC:\D\dmd\bin -Twindows.exe -odobjs
>
>
> OPTLINK (R) for Win32 Release 7.50B1
> Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
>
> C:\D\dmd\lib\phobos.lib(socket)
> Error 42: Symbol Undefined _getprotobyname at 4
[snip more missing winsock symbols]
To use winsock functions you need to link to a special library. IIRC
it's ws2_32.lib. Try adding it to the command line, or (since you're
using bud) adding 'version(build) { pragma(link, ws2_32); }' in a source
file.
More information about the Digitalmars-d-learn
mailing list