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
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 ?Envoyé par bengueddach
http://www.simplescalar.com/
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
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
Partager