It did. I wrote the test using a different set of patches which let it compile with wine. I will look up how to cross compile it and do that next time. Sorry for the inconvenience.
On Thu, Aug 21, 2008 at 2:36 AM, Austin English austinenglish@gmail.com wrote:
On Wed, Aug 20, 2008 at 12:34 PM, Scott Lindeneau slindeneau@gmail.com wrote:
I don't think so? I've never written a conformance test before. I did implement AcceptEx in wine, but it shouldn't need that patch to compile for windows should it? Or maybe I need to load it into memory instead of just calling it first... Terribly sorry. I'm making myself a nuisance. I will try writing it using the windows WSAIoctl call to load it into memory first. MSDN does say I need that.
-Scott
On Thu, Aug 21, 2008 at 2:29 AM, Austin English austinenglish@gmail.com wrote:
On Wed, Aug 20, 2008 at 12:23 PM, Scott Lindeneau slindeneau@gmail.com wrote:
I would like to submit the following AcceptEx conformance test to wine-patches, but I don't have a windows box (and i haven't got qemu setup(correctly) yet). Would someone run this and let me know how/if it failes (or succeeds... it should succeed).
Thanks
- Scott
Does it depend on another patch:
austin@SERVER1:~/wine-git/dlls/ws2_32/tests$ make crosstest i586-mingw32msvc-gcc protocol.cross.o sock.cross.o testlist.cross.o -o ws2_32_crosstest.exe -L../../../dlls -L../../../dlls/ws2_32 -L../../../dlls/kernel32 -lws2_32 -lkernel32 sock.cross.o: In function `overlapped_server':/home/austin/wine-git/dlls/ws2_32/tests/sock.c:633: undefined reference to `_AcceptEx@32' :/home/austin/wine-git/dlls/ws2_32/tests/sock.c:677: undefined reference to `_GetAcceptExSockaddrs@32' collect2: ld returned 1 exit status make: *** [ws2_32_crosstest.exe] Error 1
Please bottom post on wine-devel.
In the future, sending a compiled exe is helpful, saves time. Does it even past make test for you?
austin@SERVER1:~/wine-git/dlls/ws2_32/tests$ make test ccache gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o protocol.o protocol.c ccache gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o sock.o sock.c sock.c: In function âoverlapped_serverâ: sock.c:670: warning: pointer targets in passing argument 3 of âGetOverlappedResultâ differ in signedness ccache gcc -c -I. -I. -I../../../include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o testlist.o testlist.c ../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole protocol.o sock.o testlist.o -o ws2_32_test.exe.so ../../../libs/port/libwine_port.a -lws2_32 -lkernel32 sock.o: In function `overlapped_server': /home/austin/wine-git/dlls/ws2_32/tests/sock.c:633: undefined reference to `AcceptEx' /home/austin/wine-git/dlls/ws2_32/tests/sock.c:677: undefined reference to `GetAcceptExSockaddrs' collect2: ld returned 1 exit status winegcc: ccache failed make: *** [ws2_32_test.exe.so] Error 2