J'ai essayé d'installer SDLTRS pour Linux... après avoir décompressé l'archive & lu le fichier " BUILDING " j'exécute l'instruction comme indiqué:
Voici les retours...To build for Linux:
-------------------
from the src/linux directory, execute:
make
Code : Tout sélectionner
megamatman@E6300:~/Emulateurs/TRS-80/SDLTRS 1.1.0/src/linux$ make
Code : Tout sélectionner
gcc -c ../blit.c -o blit.o -g
gcc -c ../debug.c -o debug.o -g
../debug.c: In function ‘debug_shell’:
../debug.c:533:15: warning: format not a string literal and no format arguments [-Wformat-security]
DebugOutput(help_message);
^~~~~~~~~~~~
gcc -c ../dis.c -o dis.o -g
../dis.c: In function ‘disassemble’:
../dis.c:2158:2: warning: format not a string literal and no format arguments [-Wformat-security]
DebuggerOutput (code->name);
^~~~~~~~~~~~~~
gcc -c ../error.c -o error.o -g
gcc -c ../load_cmd.c -o load_cmd.o -g
gcc -c ../load_hex.c -o load_hex.o -g
gcc -c ../main.c -o main.o -g
gcc -c ../trs_mkdisk.c -o trs_mkdisk.o -g
gcc -c ../trs_cassette.c -o trs_cassette.o -g
gcc -c ../trs_chars.c -o trs_chars.o -g
gcc -c ../trs_disk.c -o trs_disk.o -g
../trs_disk.c: In function ‘real_restore’:
../trs_disk.c:3473:1: warning: type of ‘curdrive’ defaults to ‘int’ [-Wimplicit-int]
real_restore(curdrive)
^~~~~~~~~~~~
gcc -c ../trs_hard.c -o trs_hard.o -g
gcc -c ../trs_imp_exp.c -o trs_imp_exp.o -g
gcc -c ../trs_interrupt.c -o trs_interrupt.o -g
gcc -c ../trs_io.c -o trs_io.o -g
gcc -c ../trs_memory.c -o trs_memory.o -g
../trs_memory.c: In function ‘mem_romin’:
../trs_memory.c:195:6: warning: type of ‘state’ defaults to ‘int’ [-Wimplicit-int]
void mem_romin(state)
^~~~~~~~~
gcc -c ../trs_printer.c -o trs_printer.o -g
../trs_printer.c: In function ‘trs_printer_write’:
../trs_printer.c:88:6: warning: type of ‘value’ defaults to ‘int’ [-Wimplicit-int]
void trs_printer_write(value)
^~~~~~~~~~~~~~~~~
gcc -c ../trs_rom1.c -o trs_rom1.o -g
gcc -c ../trs_rom3.c -o trs_rom3.o -g
gcc -c ../trs_rom4p.c -o trs_rom4p.o -g
gcc -c ../trs_sdl_gui.c -o trs_sdl_gui.o -g
gcc -c ../trs_sdl_interface.c -o trs_sdl_interface.o -g
../trs_sdl_interface.c: In function ‘trs_screen_init’:
../trs_sdl_interface.c:1172:22: warning: implicit declaration of function ‘trs_timer_is_turbo’; did you mean ‘trs_timer_init’? [-Wimplicit-function-declaration]
trs_screen_caption(trs_timer_is_turbo());
^~~~~~~~~~~~~~~~~~
trs_timer_init
../trs_sdl_interface.c: In function ‘trs_get_event’:
../trs_sdl_interface.c:1682:28: warning: implicit declaration of function ‘trs_timer_switch_turbo’; did you mean ‘trs_timer_init’? [-Wimplicit-function-declaration]
trs_screen_caption(trs_timer_switch_turbo());
^~~~~~~~~~~~~~~~~~~~~~
trs_timer_init
gcc -c ../trs_sdl_keyboard.c -o trs_sdl_keyboard.o -g
gcc -c ../trs_state_save.c -o trs_state_save.o -g
gcc -c ../trs_uart.c -o trs_uart.o -g
gcc -c ../z80.c -o z80.o -g
gcc -c ../sdltrs_main.c -o sdltrs_main.o -g
../sdltrs_main.c: In function ‘main’:
../sdltrs_main.c:6:3: warning: implicit declaration of function ‘SDLmain’; did you mean ‘main’? [-Wimplicit-function-declaration]
SDLmain(argc, argv);
^~~~~~~
main
gcc -g -c -o PasteManager.o PasteManager.c
PasteManager.c: In function ‘get_scrap’:
PasteManager.c:212:16: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
for (start = time (0);;)
^~~~
PasteManager.c: In function ‘PasteManagerStartCopy’:
PasteManager.c:416:8: warning: implicit declaration of function ‘trs_end_copy’; did you mean ‘__va_copy’? [-Wimplicit-function-declaration]
return;
^~~~~~~
__va_copy
gcc blit.o debug.o dis.o error.o load_cmd.o load_hex.o main.o trs_mkdisk.o trs_cassette.o trs_chars.o trs_disk.o trs_hard.o trs_imp_exp.o trs_interrupt.o trs_io.o trs_memory.o trs_printer.o trs_rom1.o trs_rom3.o trs_rom4p.o trs_sdl_gui.o trs_sdl_interface.o trs_sdl_keyboard.o trs_state_save.o trs_uart.o z80.o sdltrs_main.o PasteManager.o -o "sdltrs" -lSDL -lXt
/usr/bin/ld: PasteManager.o: référence au symbole non défini « XConvertSelection »
//usr/lib/x86_64-linux-gnu/libX11.so.6 : erreur lors de l'ajout de symboles : DSO manquant dans la ligne de commande
collect2: error: ld returned 1 exit status
Makefile:20: recipe for target 'sdltrs' failed
make: *** [sdltrs] Error 1