J'ai essayé, guidé par @TI64CLI++, de compiler/exécuter fuse-nspire mais sans succès.
J'ai essayé sous Mac et sous Linux.
I - Sous Mac
ça compile bien, mais à l'exécution du binaire, j'ai le message :
- Code: Select all
Error (-60): Timeout
II - Sous Linux
je n'arrive même pas à compiler.
Je passe pourtant bien l'étape libnspire.
Voici l'erreur au make:
- Code: Select all
cc -o nspire -lfuse -pthread -L/usr/local/lib -lnspire -lusb-1.0 -O3 -Wall -I/usr/local/include/libnspire -I/usr/include/libusb-1.0 nspire.o dir.o file.o stat.o
/usr/bin/ld : /usr/local/lib/libnspire.so : référence indéfinie vers « packet_recv_cx2 »
/usr/bin/ld : /usr/local/lib/libnspire.so : référence indéfinie vers « packet_send_cx2 »
collect2: error: ld returned 1 exit status
make: *** [Makefile:21 : nspire] Erreur 1
Voici quelques éléments complémentaires:
- Code: Select all
pkg-config fuse --libs
-lfuse -pthread
- Code: Select all
pkg-config libnspire --libs
-L/usr/local/lib -lnspire -lusb-1.0
- Code: Select all
ldd /usr/local/lib/libnspire.so.0.0.0
linux-vdso.so.1 (0x00007ffef3b11000)
libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007fe9db657000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe9db494000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007fe9db46d000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe9db44c000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe9db6a0000)
- Code: Select all
nm /usr/local/lib/libnspire.so.0.0.0
00000000000060c8 b completed.7363
w __cxa_finalize@@GLIBC_2.2.5
00000000000018b0 t data_build
0000000000001440 t data_read
00000000000015a0 t data_scan
0000000000001430 t data_write
0000000000001250 t data_write_special
0000000000001190 t deregister_tm_clones
0000000000001200 t __do_global_dtors_aux
0000000000005d98 d __do_global_dtors_aux_fini_array_entry
00000000000060c0 d __dso_handle
0000000000005e00 d _DYNAMIC
0000000000005da0 d error_msg
0000000000003a7c t _fini
0000000000001d90 t fix_endian
0000000000001240 t frame_dummy
0000000000005d90 d __frame_dummy_init_array_entry
0000000000004b70 r __FRAME_END__
U free@@GLIBC_2.2.5
0000000000006000 d _GLOBAL_OFFSET_TABLE_
w __gmon_start__
00000000000040ec r __GNU_EH_FRAME_HDR
0000000000001000 t _init
w _ITM_deregisterTMCloneTable
w _ITM_registerTMCloneTable
U libusb_bulk_transfer
U libusb_claim_interface
U libusb_close
U libusb_exit
U libusb_free_config_descriptor
U libusb_get_active_config_descriptor
U libusb_get_device
U libusb_init
U libusb_open_device_with_vid_pid
U libusb_release_interface
U libusb_reset_device
U libusb_set_configuration
U malloc@@GLIBC_2.2.5
U memchr@@GLIBC_2.2.5
U memcpy@@GLIBC_2.14
0000000000002230 t mod_src
0000000000002d30 T nspire_attr
0000000000002520 T nspire_device_info
0000000000002b50 T nspire_dir_create
0000000000002c40 T nspire_dir_delete
0000000000002850 T nspire_dirlist
0000000000002b40 T nspire_dirlist_free
00000000000032e0 T nspire_file_copy
00000000000033d0 T nspire_file_delete
00000000000031f0 T nspire_file_move
0000000000003000 T nspire_file_read
0000000000002e60 T nspire_file_write
0000000000001d70 T nspire_free
0000000000001c20 T nspire_init
00000000000034c0 T nspire_os_send
0000000000003680 T nspire_screenshot
0000000000001bf0 T nspire_strerror
0000000000002080 t packet_ack
0000000000001f20 t packet_dataptr
0000000000001f40 t packet_datasize
0000000000001f80 t packet_fulldatasize
0000000000001f60 t packet_max_datasize
00000000000020e0 t packet_nack
0000000000001de0 t packet_new
0000000000001e80 t packet_new_ack.isra.0
0000000000002150 t packet_recv
U packet_recv_cx2
0000000000001fa0 t packet_send
U packet_send_cx2
U realloc@@GLIBC_2.2.5
00000000000011c0 t register_tm_clones
0000000000002240 t service_connect
0000000000002260 t service_disconnect
U strlen@@GLIBC_2.2.5
U strncpy@@GLIBC_2.2.5
00000000000060c8 d __TMC_END__
00000000000060d0 b usb_ctx
0000000000002310 t usb_finish
0000000000002440 t usb_free_device
0000000000002320 t usb_get_device
00000000000022d0 t usb_init
00000000000024c0 t usb_read
0000000000002460 t usb_write
Une idée du pourquoi de ces deux problèmes ?
Merci d'avance pour toute idée.