compiling lame beta on msys-mingw

1 message Options
Embed this post
Permalink
Tripp-2

compiling lame beta on msys-mingw

Reply Threaded More More options
Print post
Permalink
hello,

i've been trying to compile lame-3.98beta6 on win xp2,
(also just tried beta8)
using msys (1.0.11(0.46/3/2) 2007-12-05 00:35 i686 Msys)
added cureutils 5.97, make 3.81, and 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' :

 gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3
-fomit-frame-pointer -ffast-math -maccumulate-outgoing-args -Wall -pipe
-MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c decode_i386.c
-o decode_i386.o
mv -f .deps/decode_i386.Tpo .deps/decode_i386.Plo
/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/include/windows.h:48,
                 from ../libmp3lame/machine.h:130,
                 from interface.c:15:
c:/mingw/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/lameb8/mpglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/test/lameb8'
make: *** [all] Error 2


from 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;                     ******!!!! Line 234 ****
#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;

#include <winnt.h>

typedef UINT_PTR WPARAM;
typedef LONG_PTR LPARAM;
typedef LONG_PTR LRESULT;
#ifndef _HRESULT_DEFINED
typedef LONG HRESULT;
#define _HRESULT_DEFINED
#endif
#ifndef XFree86Server
typedef WORD ATOM;
#endif /* XFree86Server */


can i get some help on how to compile the lame beta.


ty
tripp



      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Lame-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/lame-dev