hello,

i've been trying to compile lame-3.98beta6 on win xp2,
using msys (1.0.11(0.46/3/2) 2007-12-05 00:35 i686 Msys)
added cureutils 5.97and bash 3.1
with mingw (4.2.3 tdragonbuild, but used technology preview as well)
added binutils 2.18.50, runtime 3.14, w32api 3.1

compiling fails on 'make' :

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H  -I. -I.. -I../include -I. -I../libmp3lame -I..    -O3 -fomit-frame-pointer -ffast-math       -maccumulate-outgoing-args -Wall -pipe  -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c -o interface.lo interface.c
 gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -maccumulate-outgoing-args -Wall -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c interface.c -o interface.o
In file included from c:/mingw/bin/../lib/gcc/mingw32/4.2.3/../../../../include/windows.h:48,
                 from ../libmp3lame/machine.h:130,
                 from interface.c:15:
c:/mingw/bin/../lib/gcc/mingw32/4.2.3/../../../../include/windef.h:234: error: two or more data types in declaration specifiers
make[2]: *** [interface.lo] Error 1
make[2]: Leaving directory `/c/test/lame-3.98b6/mpglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/test/lame-3.98b6'
make: *** [all] Error 2


in windef.h:

typedef unsigned long DWORD;
typedef int WINBOOL,*PWINBOOL,*LPWINBOOL;
/* FIXME: Is there a good solution to this? */
#ifndef XFree86Server
#ifndef __OBJC__
typedef WINBOOL BOOL;
#else
#define BOOL WINBOOL
#endif
typedef unsigned char BYTE;
#endif /* ndef XFree86Server */
typedef BOOL *PBOOL,*LPBOOL;
typedef unsigned short WORD;
typedef float FLOAT;
typedef FLOAT *PFLOAT;
typedef BYTE *PBYTE,*LPBYTE;
typedef int *PINT,*LPINT;
typedef WORD *PWORD,*LPWORD;
typedef long *LPLONG;
typedef DWORD *PDWORD,*LPDWORD;
typedef CONST void *PCVOID,*LPCVOID;
typedef int INT;
typedef unsigned int UINT,*PUINT,*LPUINT;


is there something i could do to windef.h
to force compiling to work?


thanks

tripp



You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.