IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Autres éditeurs Discussion :

[SimpleScalar] problèmes de compilation


Sujet :

Autres éditeurs

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Inscrit en
    Novembre 2006
    Messages
    49
    Détails du profil
    Informations forums :
    Inscription : Novembre 2006
    Messages : 49
    Par défaut [SimpleScalar] problèmes de compilation
    bonjour,
    est ce que vous connaissez simpleScalar?
    j'arrive pas à le configurer sur ma machine ? lors de l'éxécution j'ai un journal d'erreurs => qui m'affiche des erreurs sur (je crois) sim-safe?
    en résumé des erreurs de compilation

  2. #2
    Expert éminent
    Avatar de Emmanuel Delahaye
    Profil pro
    Retraité
    Inscrit en
    Décembre 2003
    Messages
    14 512
    Détails du profil
    Informations personnelles :
    Âge : 68
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Retraité

    Informations forums :
    Inscription : Décembre 2003
    Messages : 14 512
    Par défaut
    Citation Envoyé par bengueddach
    bonjour,
    est ce que vous connaissez simpleScalar?
    j'arrive pas à le configurer sur ma machine ? lors de l'éxécution j'ai un journal d'erreurs => qui m'affiche des erreurs sur (je crois) sim-safe?
    en résumé des erreurs de compilation
    C'est ça ?

    http://www.simplescalar.com/

  3. #3
    Membre averti
    Inscrit en
    Novembre 2006
    Messages
    49
    Détails du profil
    Informations forums :
    Inscription : Novembre 2006
    Messages : 49
    Par défaut
    oui c'est bien ça
    mais tu sait sur le site il n y a pas de forum juste un mailing dont l'accès est erroné (pb sur le site)
    les cmd pour structuré simpleScalar sont

    make config-arm

    make=>à ce niveau où j'ai les erreurs (sim-safe)!!
    make sim-tests

  4. #4
    Membre éclairé Avatar de telliam
    Inscrit en
    Octobre 2006
    Messages
    63
    Détails du profil
    Informations forums :
    Inscription : Octobre 2006
    Messages : 63
    Par défaut
    Citation Envoyé par bengueddach
    oui c'est bien ça
    mais tu sait sur le site il n y a pas de forum juste un mailing dont l'accès est erroné (pb sur le site)
    les cmd pour structuré simpleScalar sont

    make config-arm

    make=>à ce niveau où j'ai les erreurs (sim-safe)!!
    make sim-tests
    donne nous les erreurs stp

  5. #5
    Membre averti
    Inscrit en
    Novembre 2006
    Messages
    49
    Détails du profil
    Informations forums :
    Inscription : Novembre 2006
    Messages : 49
    Par défaut journal d'erreurs
    voici les erreurs :
    gcc -DDEBUG -o sysprobe sysprobe.c
    endian probe results: little
    probe flags: -DBYTES_LITTLE_ENDIAN -DWORDS_LITTLE_ENDIAN -DFAST_SRL -DFAST_SRA -DGZIP_PATH="/bin/gzip"
    probe libs: -lm
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c sim-safe.c
    In file included from sim-safe.c:470:
    machine.def: In function `sim_main':
    machine.def:1936: warning: operation on `addr' may be undefined

    machine.def:1958: warning: operation on `addr' may be undefined

    machine.def:1982: warning: operation on `addr' may be undefined


    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c main.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c syscall.c
    syscall.c: In function `sys_syscall':
    syscall.c:1534: warning: comparison is always false due to limited range of data type
    syscall.c:1627: warning: comparison is always false due to limited range of data type
    syscall.c:1638: warning: comparison is always false due to limited range of data type
    syscall.c:1653: warning: comparison is always false due to limited range of data type
    syscall.c:1669: warning: comparison is always false due to limited range of data type
    syscall.c:1688: warning: comparison is always false due to limited range of data type
    syscall.c:1711: warning: comparison is always false due to limited range of data type
    syscall.c:1806: warning: comparison is always false due to limited range of data type
    syscall.c:1821: warning: comparison is always false due to limited range of data type
    syscall.c:1851: warning: comparison is always false due to limited range of data type
    syscall.c:1899: warning: comparison is always false due to limited range of data type
    syscall.c:1930: warning: comparison is always false due to limited range of data type
    syscall.c:2064: warning: comparison is always false due to limited range of data type
    syscall.c:2246: warning: comparison is always false due to limited range of data type
    syscall.c:2262: warning: comparison is always false due to limited range of data type
    syscall.c:2416: warning: comparison is always false due to limited range of data type
    syscall.c:2858: warning: comparison is always false due to limited range of data type
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c memory.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c regs.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c loader.c
    loader.c: In function `ld_load_prog':
    loader.c:220: warning: unused variable `data_break'

    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c endian.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c dlite.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c symbol.c
    symbol.c:117: warning: `syms_loaded' defined but not used

    symbol.c:213: warning: `acmp' defined but not used

    symbol.c:220: warning: `ncmp' defined but not used

    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c eval.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c options.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c stats.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c eio.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c range.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c misc.c
    gcc `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET -c machine.c
    cd libexo ; \
    make "MAKE=make" "CC=gcc" "AR=ar qcv" "AROPT=" "RANLIB=ranlib" "CFLAGS=`./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE" "OEXT=o" "LEXT=a" "EEXT=" "X=/" "RM=rm -f" libexo.a
    /bin/sh: line 1: ./sysprobe: No such file or directory
    make[1]: Entering directory `/home/bengueddach/Desktop/simplesim-arm/libexo'
    gcc -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -c libexo.c
    libexo.c: In function `intern_char':
    libexo.c:233: warning: comparison is always false due to limited range of data type

    gcc -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -c exolex.c
    rm -f libexo.a
    ar qcv libexo.a libexo.o exolex.o
    a - libexo.o
    a - exolex.o
    ranlib libexo.a
    make[1]: Leaving directory `/home/bengueddach/Desktop/simplesim-arm/libexo'
    gcc -o sim-safe `./sysprobe -flags` -DDEBUG -O0 -g -Wall -DMIN_SYSCALL_MODE -DARMULATOR -DMODE32 -DMODET sim-safe.o main.o syscall.o memory.o regs.o loader.o endian.o dlite.o symbol.o eval.o options.o stats.o eio.o range.o misc.o machine.o libexo/libexo.a `./sysprobe -libs` -lm
    eval.o
    (.text+0x172b): In function `constant':
    /home/bengueddach/Desktop/simplesim-arm/eval.c:905: undefined reference to `errno'
    eval.o(.text+0x1750):/home/bengueddach/Desktop/simplesim-arm/eval.c:907: undefined reference to `errno'
    eval.o(.text+0x178d):/home/bengueddach/Desktop/simplesim-arm/eval.c:916: undefined reference to `errno'
    eval.o(.text+0x17b2):/home/bengueddach/Desktop/simplesim-arm/eval.c:918: undefined reference to `errno'
    eval.o(.text+0x17ef):/home/bengueddach/Desktop/simplesim-arm/eval.c:928: undefined reference to `errno'
    eval.o(.text+0x1817):/home/bengueddach/Desktop/simplesim-arm/eval.c:930: more undefined references to `errno' follow
    collect2: ld returned 1 exit status
    make:
    *** [sim-safe] Erreur 1
    merci de m'aider
    NB j'ai suuprimée certaines lignes car c un peu volumineux comme msg

Discussions similaires

  1. problème de compilation sous visual C++
    Par fabmili dans le forum MFC
    Réponses: 4
    Dernier message: 08/02/2004, 19h52
  2. problème de compil devc++ socket
    Par stefdem dans le forum Autres éditeurs
    Réponses: 2
    Dernier message: 11/12/2003, 11h33
  3. Réponses: 1
    Dernier message: 29/10/2003, 12h16
  4. Problème de compilation de la DLL du XMLRad
    Par [DreaMs] dans le forum XMLRAD
    Réponses: 2
    Dernier message: 16/04/2003, 16h46
  5. Réponses: 1
    Dernier message: 27/05/2002, 01h44

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo