[mythtv-users] can't compile firewire_tester.c

Stroller linux.luser at myrealbox.com
Mon Dec 25 22:05:09 UTC 2006


On 25 Dec 2006, at 20:27, vamythguy wrote:
> ...
> Not to hijack a thread, but I'm having similar issues:
>
> # gcc -o firewire_tester firewire_tester.c
> /tmp/cckSZXxj.o: In function `test_connection':
> firewire_tester.c:(.text+0xa6): undefined reference to  
> `raw1394_get_fd'
> firewire_tester.c:(.text+0xc8): undefined reference to  
> `iec61883_mpeg2_recv_init'
> firewire_tester.c:(.text+0xdb): undefined reference to  
> `iec61883_mpeg2_recv_start'
> firewire_tester.c:(.text+0x17f): undefined reference to  
> `raw1394_loop_iterate'
> firewire_tester.c:(.text+0x1aa): undefined reference to  
> `iec61883_mpeg2_recv_stop'
> firewire_tester.c:(.text+0x1b3): undefined reference to  
> `iec61883_mpeg2_close'
> /tmp/cckSZXxj.o: In function `test_p2p':
> firewire_tester.c:(.text+0x255): undefined reference to  
> `iec61883_cmp_create_p2p_output'
> firewire_tester.c:(.text+0x2ee): undefined reference to  
> `raw1394_get_local_id'
> firewire_tester.c:(.text+0x319): undefined reference to  
> `iec61883_cmp_disconnect'
> /tmp/cckSZXxj.o: In function `test_broadcast':
> firewire_tester.c:(.text+0x3ab): undefined reference to  
> `iec61883_cmp_create_bcast_output'
> firewire_tester.c:(.text+0x444): undefined reference to  
> `raw1394_get_local_id'
> firewire_tester.c:(.text+0x46f): undefined reference to  
> `iec61883_cmp_disconnect'
> /tmp/cckSZXxj.o: In function `main':
> firewire_tester.c:(.text+0x76a): undefined reference to  
> `raw1394_new_handle_on_port'
> firewire_tester.c:(.text+0x89b): undefined reference to  
> `raw1394_destroy_handle'
> collect2: ld returned 1 exit status
> [root at tibeaux contrib]# smart install *raw1394*
> Loading cache...
> Updating cache...                                  
> #################################################################### [ 
> 100%]
>
> warning: libraw1394-1.2.1-1.fc5 at x86 _64 is already installed
> warning: libraw1394-devel-1.2.1-1.fc5 at x86_64 is already installed
> Computing transaction...
> Saving cache...
>
> [root at tibeaux contrib]# smart install *iec61883*
> Loading cache...
> Updating cache...                                  
> #################################################################### [ 
> 100%]
>
> warning: libiec61883-devel-1.1.0-1.fc5 at x86_64 is already installed
> warning: libiec61883-utils-1.1.0-1.fc5 at x86_64 is already installed
> warning: libiec61883-1.1.0-1.fc5 at x86_64 is already installed
> Computing transaction...
>
> [root at tibeaux contrib]#
>
> Any ideas?

Only an idea, but do you have the kernel headers installed?

I'm not sure how these'll be listed into your distro's package  
manager - on Gentoo searching for "headers" will find them, but I  
know some binary distros offer "kernel sources" to match your  
currently installer.

Stroller.



More information about the mythtv-users mailing list