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: rich_daddio at yahoo.com<rich_daddio@y...>
    Date: Sat Apr 12 15:55:02 CEST 2008
    Subject: [openrisc] userland compilation
    Top
    Hi,
    How did you build your toolchain? Usually gcc picks up the headers
    with "sys-include" , what headers did you use and where did you or
    your script place them?

    BR,

    Rich d




    ----- Original Message -----
    From: Ben Ayed Hatem<hatemba@g...>
    To:
    Date: Fri Apr 11 03:49:46 CEST 2008
    Subject: [openrisc] userland compilation

    > Hello,
    > I try to compile userland/init with make command but :
    >
    >
    ----------------------------------------------------------------------------------------------------------------

    > or32-uclinux-gcc -c -o simpleinit.o simpleinit.c
    > simpleinit.c:1:20: stdlib.h : Aucun fichier ou répertoire de
    > ce type
    > simpleinit.c:2:19: errno.h : Aucun fichier ou répertoire de ce
    > type
    > simpleinit.c: In function `main':
    > simpleinit.c:13: erreur: « NULL » non déclaré
    > (première utilisation dans
    > cette fonction)
    > simpleinit.c:13: erreur: (Chaque identificateur non
    > déclaré est rapporté une
    > seule fois
    > simpleinit.c:13: erreur: pour chaque fonction dans laquelle il
    > apparaît.)
    > simpleinit.c:26: erreur: « errno » non déclaré
    > (première utilisation dans
    > cette fonction)
    > simpleinit.c:26: erreur: « EINTR » non déclaré
    > (première utilisation dans
    > cette fonction)
    > make: *** [simpleinit.o] Erreur 1
    >
    >
    ---------------------------------------------------------------------------------------------------------------

    > how can I resolve this probleme ??
    > --
    > View this message in context:
    > http://www.nabble.com/userland-compilation-tp16623639p16623639.html
    > Sent from the OpenCores - RISC mailing list archive at Nabble.com.
    >
    >

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