Help with simple winelib dll
André Hentschel
nerv at dawncrow.de
Wed Jun 16 11:27:55 CDT 2010
Am 16.06.2010 15:50, schrieb Seth Burleigh:
> Thanks, the example helped, i added in the dll main part. But im still
> getting the WinMain error and im convinced it has something to do with
> how im executing winemaker.
>
> winemaker . --nosource-fix --dll --single-target MyWin --nomfc -I"."
> -L"." -iMyLinuxFunc
>
> The new command line result of make is
> winegcc -c -I. -I. -o MyLinuxFunc.o MyLinuxFunc.c
> winegcc -c -I. -I. -o MyWin.o MyWin.c
> winegcc -o MyWin.so MyLinuxFunc.o MyWin.o -L. -lMyLinuxFunc
> /usr/lib/wine/libwinecrt0.a(exe_main.o): In function `main':
> (.text+0xa0): undefined reference to `WinMain'
> collect2: ld returned 1 exit status
> winegcc: i486-linux-gnu-gcc failed
> make: *** [MyWin.so] Error 2
>
The winemaker problem is something for me, i will look into it these days...
--
Best Regards, André Hentschel
More information about the wine-devel
mailing list