tgnb@lik ~/Desktop $ gcc firewire_tester.c /tmp/ccQuknnx.o: In function `test_connection': firewire_tester.c:(.text+0x7f): undefined reference to `raw1394_get_fd' firewire_tester.c:(.text+0xa6): undefined reference to `iec61883_mpeg2_recv_init' firewire_tester.c:(.text+0xbb): undefined reference to `iec61883_mpeg2_recv_start' firewire_tester.c:(.text+0x15f): undefined reference to `raw1394_loop_iterate' firewire_tester.c:(.text+0x179): undefined reference to `iec61883_mpeg2_recv_stop' firewire_tester.c:(.text+0x184): undefined reference to `iec61883_mpeg2_close' /tmp/ccQuknnx.o: In function `test_p2p': firewire_tester.c:(.text+0x239): undefined reference to `iec61883_cmp_create_p2p_output' firewire_tester.c:(.text+0x2d8): undefined reference to `raw1394_get_local_id' firewire_tester.c:(.text+0x317): undefined reference to `iec61883_cmp_disconnect' /tmp/ccQuknnx.o: In function `test_broadcast': firewire_tester.c:(.text+0x3b1): undefined reference to `iec61883_cmp_create_bcast_output' firewire_tester.c:(.text+0x450): undefined reference to `raw1394_get_local_id' firewire_tester.c:(.text+0x48f): undefined reference to `iec61883_cmp_disconnect' /tmp/ccQuknnx.o: In function `main': firewire_tester.c:(.text+0x7ee): undefined reference to `raw1394_new_handle_on_port' firewire_tester.c:(.text+0x964): undefined reference to `raw1394_destroy_handle' collect2: ld returned 1 exit status