Compilation of svn under Gentoo: Not a valid WIN32 res. file

Ask your support questions in here

Moderator: Moderator Team

Post Reply
drwook
Posts: 15
Joined: Thu Mar 30, 2006 12:05 pm

Compilation of svn under Gentoo: Not a valid WIN32 res. file

Post by drwook »

Well, subject should say it all. Tried a few times updating svn tree each time over last week or so, always ends like this (sorry if too much output!)

Running xmingw-gcc 3.4.4, xmingw-binutils 2.15.94.20050118.1 (think a cvs version, have tried with 2.15.90.0.2 too once or twice but appears the same).

Any ideas? Sorry if I'm being a n00b, I've not really had any interest in using mingw until I came across this project.

Code: Select all

[CC]       tools/winebuild/res16.c
tools/winebuild/res16.c: In function 'load_res16_file':
tools/winebuild/res16.c:179: warning: implicit declaration of function 'read'
tools/winebuild/res16.c: In function 'output_res16_directory':
tools/winebuild/res16.c:295: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long int'
tools/winebuild/res16.c:297: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long int'
tools/winebuild/res16.c:297: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'long int'
[CC]       tools/winebuild/res32.c
tools/winebuild/res32.c: In function 'load_next_resource':
tools/winebuild/res32.c:209: warning: cast from pointer to integer of different size
tools/winebuild/res32.c: In function 'load_res32_file':
tools/winebuild/res32.c:235: warning: implicit declaration of function 'read'
tools/winebuild/res32.c:247: warning: implicit declaration of function 'close'
tools/winebuild/res32.c: In function 'output_resources':
tools/winebuild/res32.c:430: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'long unsigned int'
[CC]       tools/winebuild/spec32.c
[CC]       tools/winebuild/utils.c
tools/winebuild/utils.c: In function 'get_temp_file_name':
tools/winebuild/utils.c:188: warning: implicit declaration of function 'mkstemps'
[CC]       tools/winebuild/mkstemps.c
[LD]       output-i386/tools/winebuild/winebuild
[WINEBLD]  obj-i386/dll/win32/comctl32/comctl32.spec.def
[WINEBLD]  obj-i386/dll/win32/comctl32/comctl32.stubs.c
[DLLTOOL]  obj-i386/dll/win32/comctl32/libcomctl32.a
[CC]       base/applications/calc/dialog.c
[CC]       base/applications/calc/stats.c
[CC]       base/applications/calc/winecalc.c
[WRC]      obj-i386/base/applications/calc/rsrc.coff
i386-mingw32msvc-windres: calc.rsrc.res.tmp: Not a valid WIN32 resource file
make: *** [obj-i386/base/applications/calc/rsrc.coff] Error 1
WaxDragon
Developer
Posts: 28
Joined: Wed Dec 08, 2004 8:02 am

Post by WaxDragon »

Are you on a 64-bit host?
drwook
Posts: 15
Joined: Thu Mar 30, 2006 12:05 pm

Post by drwook »

Yes I am, is that what's causing the problem? Any suggestion on getting around it, or on where to start looking?
Nmn
Posts: 170
Joined: Wed Dec 07, 2005 10:20 pm
Location: In front of my pc maybe?

Post by Nmn »

I doubt anything is going to compile in 64bit. Im not even sure if reactos would run on it, i guess it may, but it depends if the processor is build for backwords compatibility i guess.
drwook
Posts: 15
Joined: Thu Mar 30, 2006 12:05 pm

Post by drwook »

Live CD runs ok, & pre-built work fine on x86_64 qemu on the machine... (haven't risked a hardware install)

Wasn't intending on building in 64 bit, but know little enough about mingw... Maybe I'll hack around at the makefile and add a few -m32's hoping that it's roughly the same as 'the real' gcc.

I'm pretty sure my mingw stuff is compiled as 32 bit but I guess it won't hurt for me to start at the bottom if I don't get anywhere fiddling with the build process.
drwook
Posts: 15
Joined: Thu Mar 30, 2006 12:05 pm

Post by drwook »

Yep my bad, my mingw toolchain was 64 bit which the code seemed not to like.... :( Have recompiled that toolchain and managed to get svn to compile.

Can't boot the liveCD that I made or produce a boot CD, but I'll keep hitting away at it.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 26 guests