Yesterday I compiled fossil on a 32 bits vista machine and I got
cannot link/find WinMain@16.

Did I do something wrong?

And yes also building it on linux gives:
usr/lib/gcc/i486-mingw32/4.7.2/../../../../i486-mingw32/lib/libmingw32.a(main.o):(.text+0xf3): undefined reference to `WinMain@16'
and see below under the line(BUT I think this is an other problem)

Hopwever this
make -f win/Makefile.mingw PREFIX=i486-mingw32-




-----------------------------------------------------------------------------------------
/home/renez/src/fossil/sshwin/./src/cgi.c:1201: undefined reference to `getpeername@12' /home/renez/src/fossil/sshwin/./src/cgi.c:1204: undefined reference to `inet_ntoa@4'
bld/http_socket.o: In function `socket_global_init':
/home/renez/src/fossil/sshwin/./src/http_socket.c:90: undefined reference to `WSAStartup@8'
bld/http_socket.o: In function `socket_global_shutdown':
/home/renez/src/fossil/sshwin/./src/http_socket.c:105: undefined reference to `WSACleanup@0'
bld/http_socket.o: In function `socket_close':
/home/renez/src/fossil/sshwin/./src/http_socket.c:119: undefined reference to `closesocket@4'
bld/http_socket.o: In function `socket_open':
/home/renez/src/fossil/sshwin/./src/http_socket.c:143: undefined reference to `htons@4' /home/renez/src/fossil/sshwin/./src/http_socket.c:144: undefined reference to `inet_addr@4' /home/renez/src/fossil/sshwin/./src/http_socket.c:164: undefined reference to `inet_ntoa@4' /home/renez/src/fossil/sshwin/./src/http_socket.c:166: undefined reference to `socket@12' /home/renez/src/fossil/sshwin/./src/http_socket.c:171: undefined reference to `connect@12' /home/renez/src/fossil/sshwin/./src/http_socket.c:148: undefined reference to `gethostbyname@4'
bld/http_socket.o: In function `socket_send':
/home/renez/src/fossil/sshwin/./src/http_socket.c:189: undefined reference to `send@16'
bld/http_socket.o: In function `socket_receive':
/home/renez/src/fossil/sshwin/./src/http_socket.c:206: undefined reference to `recv@16'
bld/winhttp.o: In function `win32_process_one_http_request':
/home/renez/src/fossil/sshwin/./src/winhttp.c:83: undefined reference to `recv@16' /home/renez/src/fossil/sshwin/./src/winhttp.c:128: undefined reference to `closesocket@4' /home/renez/src/fossil/sshwin/./src/winhttp.c:102: undefined reference to `recv@16' /home/renez/src/fossil/sshwin/./src/winhttp.c:113: undefined reference to `inet_ntoa@4' /home/renez/src/fossil/sshwin/./src/winhttp.c:121: undefined reference to `send@16'
bld/winhttp.o: In function `win32_http_service_ctrl':
/home/renez/src/fossil/sshwin/./src/winhttp.c:366: undefined reference to `closesocket@4'
bld/winhttp.o: In function `win32_http_server':
/home/renez/src/fossil/sshwin/./src/winhttp.c:166: undefined reference to `WSAStartup@8' /home/renez/src/fossil/sshwin/./src/winhttp.c:170: undefined reference to `socket@12' /home/renez/src/fossil/sshwin/./src/winhttp.c:175: undefined reference to `htons@4' /home/renez/src/fossil/sshwin/./src/winhttp.c:177: undefined reference to `inet_addr@4' /home/renez/src/fossil/sshwin/./src/winhttp.c:186: undefined reference to `bind@12' /home/renez/src/fossil/sshwin/./src/winhttp.c:191: undefined reference to `listen@8' /home/renez/src/fossil/sshwin/./src/winhttp.c:228: undefined reference to `accept@12' /home/renez/src/fossil/sshwin/./src/winhttp.c:232: undefined reference to `WSAGetLastError@0' /home/renez/src/fossil/sshwin/./src/winhttp.c:252: undefined reference to `WSACleanup@0' /home/renez/src/fossil/sshwin/./src/winhttp.c:192: undefined reference to `closesocket@4' /home/renez/src/fossil/sshwin/./src/winhttp.c:182: undefined reference to `htonl@4' /home/renez/src/fossil/sshwin/./src/winhttp.c:184: undefined reference to `htonl@4' /home/renez/src/fossil/sshwin/./src/winhttp.c:251: undefined reference to `closesocket@4' /home/renez/src/fossil/sshwin/./src/winhttp.c:252: undefined reference to `WSACleanup@0' /home/renez/src/fossil/sshwin/./src/winhttp.c:237: undefined reference to `closesocket@4' /home/renez/src/fossil/sshwin/./src/winhttp.c:238: undefined reference to `WSACleanup@0'

--
Rene
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to