From: Robert Hegemann <[EMAIL PROTECTED]>
Subject: Re: [mp3encoder] How to correctly compile lame with mingw
Date: Sat, 29 Jan 2005 13:29:26 +0100

> the compiler does not have lame/mpglib in its list for include files. simple 
> fix: edit libmp3lame/mpglib_interface.c line 13 to #include "../mpglib/
> interface.h"

Right. The problem is in the include path configuration.

But, it sounds strange to me, because the commandline,

> >  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I.
> > -I../mpglib/ -I.. -Wall -pipe -march=athlon-xp -Wall
> > -fstrength-reduce -finline-functions -freduce-all-givs
> > -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe
> > -fforce-addr -fomit-frame-pointer -funroll-loops
> > -frerun-cse-after-loop -frerun-loop-opt
> > -falign-functions=4 -maccumulate-outgoing-args
> > -fprefetch-loop-arrays -mtune=athlon-xp -MT
> > mpglib_interface.lo -MD -MP -MF
> > .deps/mpglib_interface.Tpo -c mpglib_interface.c
> > -DDLL_EXPORT -DPIC -o .libs/mpglib_interface.o

contains "-I../mpglib/". Ummm, really strange.

FYI: I can successfully compile them on cygwin with the option
"-mno-cygwin", but I have no pure mingw environment.
-- 
Takehiro TOMINAGA // may the source be with you!
_______________________________________________
mp3encoder mailing list
mp3encoder@minnie.tuhs.org
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to