1/1
About OR1K/MP3!!!!!!!!!!!!
by Unknown on Dec 14, 2003 |
Not available! | ||
Hey !
That is unsuported stuff. Ie it is there if it is usefult to somebody. There
is no guarantee it even compiles. I guess we'd better mark all that stuff as
unsuported/contrib stuff.
regards,
Damjan
----- Original Message -----
From: Cool_ABen@sjtu.edu.cn>
To: openrisc@opencores.org>
Sent: Monday, December 15, 2003 3:36 AM
Subject: [openrisc] About OR1K/MP3!!!!!!!!!!!!
Hi sir:
I think i need your help now . I downloaded the or1k/mp3 to my pc and uncompressed it. Then I entered the the subdir:mp3/sw/mad-xess and did as the file "readme" told me. The commands are as follows :
> ./makes2 songs/Beethoven-fuer_elise-16.mp3 songs/Moonlight-16.mp3
The first steps are done successfully. The flash.c are generated ,the
source files in libmad are compiled and linked to libmad.a successully and
the files in the mad-xess are all compiled to *.o. But to my
disappointment ,errors occur in the following linking process . The errors
are :
or32-rtems-gcc -T xess.ld -o minimad reset.o minimad.o fsyst.o
audio_oss.o audio.o memcpy.o memmove.o flash.o
libmad/libmad.amemcpy.o: In function `_memcpy':
memcpy.o(.text+0x0): multiple definition of `_memcpy'
/opt/or32-rtems/lib/gcc-lib/or32-rtems/3.2.3/../../../../or32-
rtems/lib/crt0.o:/tar/or1k/b-gcc/or32-
rtems/newlib/libc/sys/rtems/../../../../../../gcc-
3.2.3/newlib/libc/sys/rtems/crt0.c:31: first defined here
/opt/or32-rtems/lib/gcc-lib/or32-rtems/3.2.3/../../../../or32-
rtems/bin/ld: warning: no memory region specified for section `.rodata'
/opt/or32-rtems/lib/gcc-lib/or32-rtems/3.2.3/../../../../or32-
rtems/bin/ld: section .rodata [0001756c -> 0001b147] overlaps
section .data [000098a8 -> 0006b3bb]
collect2: ld returned 1 exit status
make[1]: *** [minimad] Error 1
make[1]: Leaving directory `/tar/or1k/mp3/sw/mad-xess'
make: *** [all] Error 1
I don't know what kind of codes should be put in the "rodata" section
and why it overlaps the section of data. Also why there is a multiple
definitions of "memcpy" ? By the way, my linux version on pc is 9.1,and
i wish i won't put any effect.
Thanks for your help!!!
Regards :
Ben
Email: Cool_ABen@sjtu.edu.cn
MSN:Cool_ABen@hotmail.com
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
|
About OR1K/MP3!!!!!!!!!!!!
by Unknown on Dec 15, 2003 |
Not available! | ||
Hi sir:
I think i need your help now . I downloaded the or1k/mp3 to my pc and uncompressed it. Then I entered the the subdir:mp3/sw/mad-xess and did as the file "readme" told me. The commands are as follows :
./makes2 songs/Beethoven-fuer_elise-16.mp3 songs/Moonlight-16.mp3
The first steps are done successfully. The flash.c are generated ,the
source files in libmad are compiled and linked to libmad.a successully and
the files in the mad-xess are all compiled to *.o. But to my
disappointment ,errors occur in the following linking process . The errors
are :
or32-rtems-gcc -T xess.ld -o minimad reset.o minimad.o fsyst.o
audio_oss.o audio.o memcpy.o memmove.o flash.o
libmad/libmad.amemcpy.o: In function `_memcpy':
memcpy.o(.text+0x0): multiple definition of `_memcpy'
/opt/or32-rtems/lib/gcc-lib/or32-rtems/3.2.3/../../../../or32-
rtems/lib/crt0.o:/tar/or1k/b-gcc/or32-
rtems/newlib/libc/sys/rtems/../../../../../../gcc-
3.2.3/newlib/libc/sys/rtems/crt0.c:31: first defined here
/opt/or32-rtems/lib/gcc-lib/or32-rtems/3.2.3/../../../../or32-
rtems/bin/ld: warning: no memory region specified for section `.rodata'
/opt/or32-rtems/lib/gcc-lib/or32-rtems/3.2.3/../../../../or32-
rtems/bin/ld: section .rodata [0001756c -> 0001b147] overlaps
section .data [000098a8 -> 0006b3bb]
collect2: ld returned 1 exit status
make[1]: *** [minimad] Error 1
make[1]: Leaving directory `/tar/or1k/mp3/sw/mad-xess'
make: *** [all] Error 1
I don't know what kind of codes should be put in the "rodata" section
and why it overlaps the section of data. Also why there is a multiple
definitions of "memcpy" ? By the way, my linux version on pc is 9.1,and
i wish i won't put any effect.
Thanks for your help!!!
Regards :
Ben
Email: Cool_ABen@sjtu.edu.cn
MSN:Cool_ABen@hotmail.com
|
1/1