Hi Nik,
I found out that include/wincrypt.h needs to include winbase.h (because it holds the typedef of FILETIME) -- so to fix this issue, simply add this line near the beginning of include/wincrypt.h : #include <winbase.h>
Except that MS's headers don't do that. You need to fix the files that include wincrypt.h instead. Does Mike's patch fix your problem? http://www.winehq.org/pipermail/wine-patches/2005-November/022350.html
--Juan
__________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
Juan Lang wrote:
Hi Nik,
I found out that include/wincrypt.h needs to include winbase.h (because it holds the typedef of FILETIME) -- so to fix this issue, simply add this line near the beginning of include/wincrypt.h : #include <winbase.h>
Except that MS's headers don't do that. You need to fix the files that include wincrypt.h instead. Does Mike's patch fix your problem? http://www.winehq.org/pipermail/wine-patches/2005-November/022350.html
--Juan
__________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
Hello Juan,
thanks for your response. The patch seemed to have worked for this issue and the stdarg.h issue but now theres another compilation error :
make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/nik_89/extra/wine.bak/wine2/programs/winepath' make[2]: Entering directory `/home/nik_89/extra/wine.bak/wine2/programs/winetest' ../../tools/winegcc/winegcc -B../../tools/winebuild -mconsole gui.o main.o send.o util.o winetest.res -o winetest.exe.so -L../../dlls -L../../dlls/comctl32 -L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/wsock32 -L../../dlls/kernel32 -lcomctl32 -luser32 -lgdi32 -lwsock32 -lkernel32 -L../../libs/wine -lwine -L../../libs/port -lwine_port winetest.Ayu6Za.s: Assembler messages: winetest.Ayu6Za.s:251949: Warning: end of file not at end of a line; newline inserted winetest.Ayu6Za.s:251987: Fatal error: cannot write to output file winebuild: as failed with status 256 winegcc: ../../tools/winebuild/winebuild failed. make[2]: *** [winetest.exe.so] Error 2 make[2]: Leaving directory `/home/nik_89/extra/wine.bak/wine2/programs/winetest' make[1]: *** [winetest] Error 2 make[1]: Leaving directory `/home/nik_89/extra/wine.bak/wine2/programs' make: *** [programs] Error 2
I didnt update my local cvs repository yet though, doing so might fix this issue. Thanks,
Nik
* On Thu, 24 Nov 2005, Nicholas Niro wrote:
- Juan Lang wrote:
Except that MS's headers don't do that. You need to fix the files that include wincrypt.h instead. Does Mike's patch fix your problem?
thanks for your response. The patch seemed to have worked for this issue and the stdarg.h issue but now theres another compilation error :
`/home/nik_89/extra/wine.bak/wine2/programs/winetest' ../../tools/winegcc/winegcc -B../../tools/winebuild -mconsole gui.o main.o send.o util.o winetest.res -o winetest.exe.so -L../../dlls -L../../dlls/comctl32 -L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/wsock32 -L../../dlls/kernel32 -lcomctl32 -luser32 -lgdi32 -lwsock32 -lkernel32 -L../../libs/wine -lwine -L../../libs/port -lwine_port winetest.Ayu6Za.s: Assembler messages: winetest.Ayu6Za.s:251949: Warning: end of file not at end of a line; newline inserted winetest.Ayu6Za.s:251987: Fatal error: cannot write to output file winebuild: as failed with status 256
Hehehe, this is an error I get frequently. I gues you've run out of disk space on this partition. Check this for example by running:
$ df -h .
I need about 50 MBs of free space to make 'make' inside programs/winetest happy.
Saulius Krasuckas wrote:
- On Thu, 24 Nov 2005, Nicholas Niro wrote:
- Juan Lang wrote:
Except that MS's headers don't do that. You need to fix the files that include wincrypt.h instead. Does Mike's patch fix your problem?
thanks for your response. The patch seemed to have worked for this issue and the stdarg.h issue but now theres another compilation error :
`/home/nik_89/extra/wine.bak/wine2/programs/winetest' ../../tools/winegcc/winegcc -B../../tools/winebuild -mconsole gui.o main.o send.o util.o winetest.res -o winetest.exe.so -L../../dlls -L../../dlls/comctl32 -L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/wsock32 -L../../dlls/kernel32 -lcomctl32 -luser32 -lgdi32 -lwsock32 -lkernel32 -L../../libs/wine -lwine -L../../libs/port -lwine_port winetest.Ayu6Za.s: Assembler messages: winetest.Ayu6Za.s:251949: Warning: end of file not at end of a line; newline inserted winetest.Ayu6Za.s:251987: Fatal error: cannot write to output file winebuild: as failed with status 256
Hehehe, this is an error I get frequently. I gues you've run out of disk space on this partition. Check this for example by running:
$ df -h .
I need about 50 MBs of free space to make 'make' inside programs/winetest happy.
Yes, you are completely right : I didn't notice I was about to get out of space (I had around 50Mb left). Right after I cleaned up my partition it compiled perfectly :). Thanks,
Nik