Missä nyt mättää, kun yritän kääntää yle-dl:n uusinta 1.4.0-versiota MinGW:llä, saan seuraavanlaisen virheilmoituksen:
Jani@Kone4 ~/rtmpdump-yle-1.4.0
$ make SYS=mingw
make[1]: Entering directory `/home/Jani/rtmpdump-yle-1.4.0/librtmp'
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o rtmp.o rtmp.c
rtmp.c:1:0: warning: -fPIC ignored for target (all code is position independent)
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o log.o log.c
log.c:1:0: warning: -fPIC ignored for target (all code is position independent)
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o amf.o amf.c
amf.c:1:0: warning: -fPIC ignored for target (all code is position independent)
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o hashswf.o hashswf.c
hashswf.c:1:0: warning: -fPIC ignored for target (all code is position independent)
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o parseurl.o parseurl.c
parseurl.c:1:0: warning: -fPIC ignored for target (all code is position independent)
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
D:\MinGW\bin\ar.exe: creating librtmp.a
gcc -o librtmp.dll rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz -lws2_32 -lwinmm -lgdi32
d:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
make[1]: *** [librtmp.dll] Error 1
make[1]: Leaving directory `/home/Jani/rtmpdump-yle-1.4.0/librtmp'
make: *** [librtmp/librtmp.a] Error 2
Osaisikohan joku auttaa?