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: Dimitrios Orfanos<sirtimid@g...>
    Date: Tue Jan 15 15:05:10 CET 2008
    Subject: [openrisc] DHRYSTONE and or32-elf-gcc
    Top
    Hi to everyone,

    I am trying to compile the dhrystone that is included in the or1ksim0.2.0
    using the or32-elf-gcc with newlib support. And I receive some bad messages,
    please help, if you can:

    ""
    I give the command:
    or32-elf-gcc -Isupport -o dhry dhry.c ../../exit.s

    and I receive the message:
    /tmp/ccAfEj5g.o: In function `_main':
    dhry.c:(.text+0x420): undefined reference to `_start_timer'
    dhry.c:(.text+0x42c): undefined reference to `_read_timer'
    dhry.c:(.text+0x46c): undefined reference to `_report'
    dhry.c:(.text+0x480): undefined reference to `_report'
    dhry.c:(.text+0x494): undefined reference to `_report'
    dhry.c:(.text+0x4a8): undefined reference to `_report'
    dhry.c:(.text+0x504): undefined reference to `_report'
    /tmp/ccAfEj5g.o:dhry.c:(.text+0x520): more undefined references to `_report'
    follow
    /tmp/ccAfEj5g.o: In function `_main':
    dhry.c:(.text+0x918): undefined reference to `_read_timer'
    dhry.c:(.text+0xbfc): undefined reference to `_report'
    /tmp/ccAfEj5g.o: In function `_Proc_1':
    dhry.c:(.text+0xc68): undefined reference to `_report'
    dhry.c:(.text+0xe4c): undefined reference to `_report'
    dhry.c:(.text+0xedc): undefined reference to `_report'
    dhry.c:(.text+0x10ac): undefined reference to `_report'
    /tmp/ccAfEj5g.o:dhry.c:(.text+0x10f0): more undefined references to `_report'
    follow
    collect2: ld returned 1 exit status

    DO

    Follow upAuthor
    [openrisc] DHRYSTONE and or32-elf-gccThamNabble

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