<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/87905>87905</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Building from source error: lld-link: error: undefined symbol
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          appleplectic
      </td>
    </tr>
</table>

<pre>
    While building from source on Windows 11 22H2 using clang and the following commands, I get the error here: https://pastebin.com/sbyfk0mB

Searching online, it appears to be a CMakeLists.txt issue with winsock, although I am not sure. 

Thanks in advance!
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskU-P2yAQxT8NvoxiAbHj-OBDsquoK7WnVtrzGCaGBoPFn03z7St7V6tW2gugYebNe_phSnbyRANrz6x9rrBkE-KAy-JocaSyVdUY9GN4NdYRjMU6bf0E1xhmSKFERRA8vFqvwz2BECDlNwklrU3KoZ8AvYZsCK7BuXDf6mGe0evE5BO8wER5-6cYQwRDkdj-BCbnJbH9ickLk5cFU6bR-lqFmclLGh_XG5_PjD8zfno_fxJGZVb54J31tIrbDLgshDFBDjASIDz9wBt9tymnOv_JYFMqBHebDdytT0Hd1jl02YQyGXgBnMGHDKlEquHffb8M-lsC6wH1G3pFTIpKD3vd73usaBCdkM1BNt2xMkNLutUK-30nOkLinAi5xqPsuRKCi8oOksuGN7zjDRfiWHN-aFrBe2pafUChWMNpRutq597mOsSp2qwPx67nbeVwJJc2iFJ6ur_nYlKuTOOwzuzGMiXWcLdl_1TJNjsazl9x3YCsLJzTO2f9bX1_FovXdLWeNKTHPAZXleiG_6lNNpsyfjBbN35cuyWG36Qyk5fNZ2LysuX4GwAA___dfdZ5">