tests for winsock and msvcrt won't link

Dan Kegel dank at kegel.com
Wed Mar 3 10:41:54 CST 2004

Dan Kegel wrote:
> I updated to CVS yesterday, and now I get an error
> when building wine, namely: winsock and msvcrt tests
> won't link because they can't find accept and feof,
> respectively.  Commenting out the SUBDIRS= lines in
> those two DLLs' Makefiles got me past it (I think;
> it's still building).
> This problem was not present in the most recent snapshot.

It's worse: notepad won't link (can't find printf).

Here's the first error:

WINEBUILD=../../../tools/winebuild/winebuild ../../../tools/winegcc/winegcc -mconsole sock.o testlist.o  -o ws2_32_test.exe.so -L../../../dlls -lws2_32 -L../../../libs/wine -lwine  -L../../../libs/port -lwine_port  -lm  -lc
/usr/bin/ld: ws2_32_test.exe.so: undefined versioned symbol name accept@@GLIBC_2.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
Error: gcc failed.
make[3]: *** [ws2_32_test.exe.so] Error 2
make[3]: Leaving directory `/home/dank/wine/dlls/winsock/tests'

A quick incremental 'cvs update; make' didn't fix it just now.
- Dan

My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

More information about the wine-devel mailing list