LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Cool_ABen@s...<Cool_ABen@s...>
    Date: Mon Dec 15 03:36:51 CET 2003
    Subject: [openrisc] About OR1K/MP3!!!!!!!!!!!!
    Top
    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@s...
    MSN:Cool_ABen@h...



    Follow upAuthor
    [openrisc] About OR1K/MP3!!!!!!!!!!!!Damjan Lampret

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.