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. - Dan
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
I am also having the exact same problem so you are not alone. I did the same thing as you to get around it at the moment.
Dan Kegel wrote:
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
Dan Kegel dank@kegel.com writes:
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
It should be fixed now.
Alexandre Julliard wrote:
Dan Kegel dank@kegel.com writes:
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
It should be fixed now.
Thanks! - Dan