Darn it... my last post contained an error, in my
configure step, I have --enable-nams instead of
--enable-nasm
So... I got errors this time:
1. Fresh tarball of lame source.
2. Edited /lame-3.96.1/libmp3/lame/mpglib_interface.c
Changed #include "interface.h" to #include
"../mpglib/interface.h"
3. Same for /lame-3.96.1/mpglib/interface.c
4. $ ./configure --enable-nasm
CFLAGS="-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";
5. I edited /lame-3.96.1/mpglib/MakeFile and changed:
NASM_FORMAT = -f elf
To this:
NASM_FORMAT = -f win32 -DWIN32
6. $ make
Which gives errors:
CODE
duce-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 -o lame.exe main.o get_audio.o
lametime.o parse.o portableio.o timestatus.o brhist.o
../libmp3lame/.libs/libmp3lame.a -lm -lwsock32
../libmp3lame/.libs/libmp3lame.a(util.o)(.text+0x2855):util.c:
undefined reference to `has_MMX_nasm'
../libmp3lame/.libs/libmp3lame.a(util.o)(.text+0x285d):util.c:
undefined reference to `has_3DNow_nasm'
../libmp3lame/.libs/libmp3lame.a(util.o)(.text+0x2865):util.c:
undefined reference to `has_SSE_nasm'
../libmp3lame/.libs/libmp3lame.a(util.o)(.text+0x286d):util.c:
undefined reference to `has_SSE2_nasm'
../libmp3lame/.libs/libmp3lame.a(takehiro.o)(.text+0x521e):takehiro.c:
undefined reference to `choose_table_MMX'
../libmp3lame/.libs/libmp3lame.a(fft.o)(.text+0x9e6):fft.c:
undefined reference to `fht_3DN'
collect2: ld returned 1 exit status
make[2]: *** [lame.exe] Error 1
make[2]: Leaving directory
`/home/squishy/lame-3.96.1/frontend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/squishy/lame-3.96.1'
make: *** [all] Error 2
__________________________________
Do you Yahoo!?
All your favorites on one personal page � Try My Yahoo!
http://my.yahoo.com
_______________________________________________
mp3encoder mailing list
[email protected]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder