Tim Gesekus wrote:
>
> On Sun, Aug 20, 2000 at 01:31:17PM +0200, Eduard Refinius wrote:
> > Hallo man wieder.
> >
> > mpg123.c:480: warning: initialization makes integer from pointer without
> > a cast
>
> Hmm, da hat wohl jemand bei coden geschlampt. Da wuerde ich mir nicht
> die Muehe machen, weiter zu suchen. Probier mal die nicht amd-Version
> zu uebersetzten.
Die Kunst des Shellzeilenlesens mu� auch noch erlernt werden.
Also ich habe es inzwischen auch schon mit
make linux
und
make linux-i486
probiert.
Es folgen die beiden Ausgaben:
--------------------------1--------------------------
root@erde:/opt/mp3/mpg123-0.59r > make linux
make CC=gcc LDFLAGS= \
OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
audio_oss.o term.o' \
CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
-DREAD_MMAP -DOSS -DTERM_CONTROL\
-Wall -O2 -m486 \
-fomit-frame-pointer -funroll-all-loops \
-finline-functions -ffast-math' \
mpg123-make
make[1]: Entering directory `/opt/mp3/mpg123-0.59r'
make[2]: Entering directory `/opt/mp3/mpg123-0.59r'
gcc -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall
-O2 -m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math
mpg123.o tabinit.o common.o layer1.o \
layer2.o layer3.o audio.o buffer.o decode_2to1.o equalizer.o \
decode_4to1.o getlopt.o httpget.o xfermem.o decode_ntom.o \
wav.o readers.o getbits.o control_generic.o \
decode_i386.o dct64_i386.o decode_i586.o
audio_oss.o term.o -o mpg123 -lm
layer3.o: In function `do_layer3':
layer3.o(.text+0x735d): undefined reference to `synth_1to1_486'
layer3.o(.text+0x737f): undefined reference to `synth_1to1_486'
layer3.o(.text+0x73f9): undefined reference to `synth_1to1_486'
layer3.o(.text+0x741b): undefined reference to `synth_1to1_486'
decode_i386.o: In function `synth_1to1':
decode_i386.o(.text+0x36): undefined reference to `synth_1to1_3dnow'
collect2: ld returned 1 exit status
make[2]: *** [mpg123] Error 1
make[2]: Leaving directory `/opt/mp3/mpg123-0.59r'
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory `/opt/mp3/mpg123-0.59r'
make: *** [linux] Error 2
root@erde:/opt/mp3/mpg123-0.59r >
--------------------------2--------------------------
root@erde:/opt/mp3/mpg123-0.59r > make linux-i486
make CC=gcc LDFLAGS= \
OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
decode_i486.o dct64_i486.o audio_oss.o term.o' \
CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX \
-DREAD_MMAP -DOSS -DTERM_CONTROL\
-Wall -O2 -m486 \
-fomit-frame-pointer -funroll-all-loops \
-finline-functions -ffast-math' \
mpg123-make
make[1]: Entering directory `/opt/mp3/mpg123-0.59r'
make[2]: Entering directory `/opt/mp3/mpg123-0.59r'
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
dct64_i386.o dct64_i386.c
as -o decode_i586.o decode_i586.s
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
decode_i486.o decode_i486.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
dct64_i486.o dct64_i486.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
audio_oss.o audio_oss.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
term.o term.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
decode_2to1.o decode_2to1.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
decode_4to1.o decode_4to1.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
tabinit.o tabinit.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
audio.o audio.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
layer1.o layer1.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
layer2.o layer2.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
layer3.o layer3.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
buffer.o buffer.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall -O2
-m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o
getlopt.o getlopt.c
wav.o wav.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall
-O2 -m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o readers.o readers.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall
-O2 -m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o getbits.o getbits.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall
-O2 -m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math -c
-o control_generic.o control_generic.c
gcc -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX
-DREAD_MMAP -DOSS -DTERM_CONTROL -Wall
-O2 -m486 -fomit-frame-pointer
-funroll-all-loops -finline-functions -ffast-math
mpg123.o tabinit.o common.o layer1.o \
layer2.o layer3.o audio.o buffer.o decode_2to1.o equalizer.o \
decode_4to1.o getlopt.o httpget.o xfermem.o decode_ntom.o \
wav.o readers.o getbits.o control_generic.o \
decode_i386.o dct64_i386.o decode_i586.o
decode_i486.o dct64_i486.o audio_oss.o term.o -o mpg123 -lm
decode_i386.o: In function `synth_1to1':
decode_i386.o(.text+0x36): undefined reference to `synth_1to1_3dnow'
collect2: ld returned 1 exit status
make[2]: *** [mpg123] Error 1
make[2]: Leaving directory `/opt/mp3/mpg123-0.59r'
make[1]: *** [mpg123-make] Error 2
make[1]: Leaving directory `/opt/mp3/mpg123-0.59r'
make: *** [linux-i486] Error 2
root@erde:/opt/mp3/mpg123-0.59r >
Aber eine erfreuliche Nachricht betreffend mp3 habe ich jetzt doch.
Nach der Installation der ganzen Pakete f�r GQmpeg, habe
freeamp draufgemacht. Und es funktioniert sogar, was vor der
Installation dieser Pakete nicht der Fall war.
Gruss
Eduard
---------------------------------------------------------------------------
PUG - Penguin User Group Wiesbaden - http://www.pug.org