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