Hi,

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"

Maybe Alexander will fix the configure magic to support msys?

Ciao Robert


Am Samstag, 29. Januar 2005 12:52 schrieb Audio Phile:
> I've been trying to compile lame on mingw 3.2.0-rc3
> and msys 1.0.11 on my win32 machine.  I also added
> nasmw.exe to my C:\MinGW\bin and renamed it to
> nasm.exe.  Anyway, here is the code I'be been using to
> get an "athlon xp optimized" build of lame:
>
> $ ./configure CFLAGS="-march=athlon-xp -Wall
> -fstrength-reduce -finline-functio
> ns -freduce-all-givs -m3dnow -msse -mfpmath=sse -mmmx
> -O3 -pipe -fforce-addr -f
> omit-frame-pointer -funroll-loops
> -frerun-cse-after-loop -frerun-loop-opt -fali
> gn-functions=4 -maccumulate-outgoing-args
> -fprefetch-loop-arrays -mtune=athlon-
> xp";
>
> This works fine.  I get errors when I do the "make"
> command.  Can anyone help me out?
>
> Last part of log:
>
> fi
>  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
> mpglib_interface.c:13:23: interface.h: No such file or
> directory
> mpglib_interface.c:21: error: syntax error before "mp"
> mpglib_interface.c:21: warning: type defaults to `int'
> in declaration of `mp'
> mpglib_interface.c:21: warning: data definition has no
> type or storage class
> mpglib_interface.c:22: error: syntax error before '*'
> token
> mpglib_interface.c:22: warning: type defaults to `int'
> in declaration of `mpg123_pinfo'
> mpglib_interface.c:22: warning: data definition has no
> type or storage class
> mpglib_interface.c: In function `lame_decode_exit':
> mpglib_interface.c:27: warning: implicit declaration
> of function `ExitMP3'
> mpglib_interface.c: In function `lame_decode_init':
> mpglib_interface.c:35: warning: implicit declaration
> of function `InitMP3'
> mpglib_interface.c: At top level:
> mpglib_interface.c:72: error: syntax error before
> "unsigned"
> mpglib_interface.c: In function
> `lame_decode1_headersB_clipchoice':
> mpglib_interface.c:106: error: request for member
> `header_parsed' in something not a structure or union
> mpglib_interface.c:106: error: request for member
> `fsizeold' in something not a structure or union
> mpglib_interface.c:106: error: request for member
> `framesize' in something not a structure or union
> mpglib_interface.c:108: error: request for member `fr'
> in something not a structure or union
> mpglib_interface.c:109: error: `freqs' undeclared
> (first use in this function)
> mpglib_interface.c:109: error: (Each undeclared
> identifier is reported only once
> mpglib_interface.c:109: error: for each function it
> appears in.)
> mpglib_interface.c:109: error: request for member `fr'
> in something not a structure or union
> mpglib_interface.c:110: error: request for member `fr'
> in something not a structure or union
> mpglib_interface.c:111: error: request for member `fr'
> in something not a structure or union
> mpglib_interface.c:112: error: request for member `fr'
> in something not a structure or union
> mpglib_interface.c:112: error: request for member `fr'
> in something not a structure or union
> mpglib_interface.c:116: error: request for member
> `fsizeold' in something not a structure or union
> mpglib_interface.c:117: error: request for member
> `fsizeold' in something not a structure or union
> mpglib_interface.c:119: error: request for member
> `framesize' in something not a structure or union
> mpglib_interface.c:120: error: request for member
> `framesize' in something not a structure or union
> mpglib_interface.c:124: error: `tabsel_123' undeclared
> (first use in this function)
> mpglib_interface.c:124: error: request for member `fr'
> in something not a structure or union
> mpglib_interface.c:124: error: request for member `fr'
> in something not a structure or union
> mpglib_interface.c:124: error: request for member `fr'
> in something not a structure or union
> mpglib_interface.c:128: error: request for member
> `num_frames' in something not a structure or union
> mpglib_interface.c:130: error: request for member
> `num_frames' in something not a structure or union
> mpglib_interface.c:131: error: request for member
> `num_frames' in something not a structure or union
> mpglib_interface.c:132: error: request for member
> `enc_delay' in something not a structure or union
> mpglib_interface.c:133: error: request for member
> `enc_padding' in something not a structure or union
> mpglib_interface.c:138: error: `MP3_OK' undeclared
> (first use in this function)
> mpglib_interface.c:139: error: request for member `fr'
> in something not a structure or union
> mpglib_interface.c:146: error: `sample_t' undeclared
> (first use in this function)
> mpglib_interface.c:146: error: `pcm_l' undeclared
> (first use in this function)
> mpglib_interface.c:146: error: syntax error before ')'
> token
> mpglib_interface.c:146: error: `FLOAT8' undeclared
> (first use in this function)
> mpglib_interface.c:146: error: `p_samples' undeclared
> (first use in this function)
> mpglib_interface.c:146: error: syntax error before ')'
> token
> mpglib_interface.c:155: error: syntax error before ')'
> token
> mpglib_interface.c:155: error: syntax error before ')'
> token
> mpglib_interface.c:155: error: `pcm_r' undeclared
> (first use in this function)
> mpglib_interface.c:165: error: `MP3_NEED_MORE'
> undeclared (first use in this function)
> mpglib_interface.c:171: error: `MP3_ERR' undeclared
> (first use in this function)
> mpglib_interface.c: In function
> `lame_decode1_headersB':
> mpglib_interface.c:193: error: `decodeMP3' undeclared
> (first use in this function)
> mpglib_interface.c: At top level:
> mpglib_interface.c:201: error: syntax error before
> "sample_t"
> mpglib_interface.c: In function
> `lame_decode1_unclipped':
> mpglib_interface.c:203: error: `FLOAT8' undeclared
> (first use in this function)
> mpglib_interface.c:207: error: `buffer' undeclared
> (first use in this function)
> mpglib_interface.c:207: error: `len' undeclared (first
> use in this function)
> mpglib_interface.c:207: error: `pcm_l' undeclared
> (first use in this function)
> mpglib_interface.c:207: error: `pcm_r' undeclared
> (first use in this function)
> mpglib_interface.c:207: error: `decodeMP3_unclipped'
> undeclared (first use in this function)
> make[3]: *** [mpglib_interface.lo] Error 1
> make[3]: Leaving directory
> `/home/squishy/lame-3.96.1/libmp3lame'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/squishy/lame-3.96.1/libmp3lame'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/squishy/lame-3.96.1'
> make: *** [all] Error 2
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> mp3encoder mailing list
> [email protected]
> http://minnie.tuhs.org/mailman/listinfo/mp3encoder

_______________________________________________
mp3encoder mailing list
[email protected]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to