1. ubuntu@ubuntuvm:~/rockbox/utils/MTP$ gcc sendfirm.c -o sendfirm
  2. /tmp/cc3arG5N.o: In function `sendfile_function':
  3. sendfirm.c:(.text+0x133): undefined reference to `LIBMTP_new_file_t'
  4. sendfirm.c:(.text+0x195): undefined reference to `LIBMTP_Send_File_From_File'
  5. sendfirm.c:(.text+0x1c1): undefined reference to `LIBMTP_Dump_Errorstack'
  6. sendfirm.c:(.text+0x1d0): undefined reference to `LIBMTP_Clear_Errorstack'
  7. sendfirm.c:(.text+0x1f8): undefined reference to `LIBMTP_destroy_file_t'
  8. /tmp/cc3arG5N.o: In function `main':
  9. sendfirm.c:(.text+0x22d): undefined reference to `LIBMTP_Init'
  10. sendfirm.c:(.text+0x256): undefined reference to `LIBMTP_Get_First_Device'
  11. sendfirm.c:(.text+0x29c): undefined reference to `LIBMTP_Release_Device'
  12. collect2: ld returned 1 exit status
  13. ubuntu@ubuntuvm:~/rockbox/utils/MTP$