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

Gabe Rubin gaberubin at gmail.com
Sun Dec 24 01:20:01 UTC 2006


I am trying to get firewire working, but having difficulty.  I am
unable to compile firewire_tester.c following the instructions
(perhaps I am missing some libraries or something?).

Here is the output:

[mythtv at localhost contrib]$ gcc -Wall -o firewire_tester
firewire_tester.c -liec61883 -lraw1394
firewire_tester.c:13:32: error: libraw1394/raw1394.h: No such file or directory
firewire_tester.c:14:34: error: libiec61883/iec61883.h: No such file
or directory
firewire_tester.c:49: error: syntax error before ‚handle‚
firewire_tester.c: In function ‚test_connection‚:
firewire_tester.c:53: warning: implicit declaration of function ‚raw1394_get_fd‚
firewire_tester.c:53: error: ‚handle‚ undeclared (first use in this function)
firewire_tester.c:53: error: (Each undeclared identifier is reported only once
firewire_tester.c:53: error: for each function it appears in.)
firewire_tester.c:54: error: ‚iec61883_mpeg2_t‚ undeclared (first use
in this function)
firewire_tester.c:54: error: syntax error before ‚mpeg‚
firewire_tester.c:59: error: ‚mpeg‚ undeclared (first use in this function)
firewire_tester.c:59: warning: implicit declaration of function
‚iec61883_mpeg2_recv_init‚
firewire_tester.c:60: warning: implicit declaration of function
‚iec61883_mpeg2_recv_start‚
firewire_tester.c:60: error: ‚channel‚ undeclared (first use in this function)
firewire_tester.c:70: warning: implicit declaration of function
‚raw1394_loop_iterate‚
firewire_tester.c:77: warning: implicit declaration of function
‚iec61883_mpeg2_recv_stop‚
firewire_tester.c:78: warning: implicit declaration of function
‚iec61883_mpeg2_close‚
firewire_tester.c: At top level:
firewire_tester.c:88: error: syntax error before ‚handle‚
firewire_tester.c: In function ‚test_p2p‚:
firewire_tester.c:90: error: ‚node‚ undeclared (first use in this function)
firewire_tester.c:99: warning: implicit declaration of function
‚iec61883_cmp_create_p2p_output‚
firewire_tester.c:99: error: ‚handle‚ undeclared (first use in this function)
firewire_tester.c:118: warning: implicit declaration of function
‚iec61883_cmp_disconnect‚
firewire_tester.c:119: warning: implicit declaration of function
‚raw1394_get_local_id‚
firewire_tester.c: At top level:
firewire_tester.c:126: error: syntax error before ‚handle‚
firewire_tester.c: In function ‚test_broadcast‚:
firewire_tester.c:128: error: ‚node‚ undeclared (first use in this function)
firewire_tester.c:136: warning: implicit declaration of function
‚iec61883_cmp_create_bcast_output‚
firewire_tester.c:136: error: ‚handle‚ undeclared (first use in this function)
firewire_tester.c: At top level:
firewire_tester.c:168: error: syntax error before ‚handle‚
firewire_tester.c: In function ‚fix_broadcast‚:
firewire_tester.c:173: error: ‚handle‚ undeclared (first use in this function)
firewire_tester.c:173: error: ‚node‚ undeclared (first use in this function)
firewire_tester.c: In function ‚main‚:
firewire_tester.c:221: error: ‚raw1394handle_t‚ undeclared (first use
in this function)
firewire_tester.c:221: error: syntax error before ‚handle‚
firewire_tester.c:318: error: ‚handle‚ undeclared (first use in this function)
firewire_tester.c:318: warning: implicit declaration of function
‚raw1394_new_handle_on_port‚
firewire_tester.c:349: warning: implicit declaration of function
‚raw1394_destroy_handle‚


More information about the mythtv-users mailing list