[mythtv-users] Can't compile 6200.c

Gabe Rubin gaberubin at gmail.com
Sun Aug 29 16:27:34 UTC 2010


I am trying to troubleshoot some issues with my firewire connection
and figured I would use the supplied channel changing script to check
out if things are working.  However, when I try to compile it, I get
these errors; is there something I should be doing (I have
libraw1394-devel libiec61883-devel libavc1394 all installed):

[root at localhost 6200ch]# cc -std=gnu99 -o 6200ch 6200ch.c -lavc1394
-lrom1394 -lraw1394
6200ch.c:21:32: error: libavc1394/rom1394.h: No such file or directory
6200ch.c:22:32: error: libavc1394/avc1394.h: No such file or directory
6200ch.c: In function âmainâ:
6200ch.c:159: error: ârom1394_directoryâ undeclared (first use in this function)
6200ch.c:159: error: (Each undeclared identifier is reported only once
6200ch.c:159: error: for each function it appears in.)
6200ch.c:159: error: expected â;â before âdirâ
6200ch.c:262: warning: implicit declaration of function ârom1394_get_guidâ
6200ch.c:271: warning: implicit declaration of function ârom1394_get_directoryâ
6200ch.c:271: error: âdirâ undeclared (first use in this function)
6200ch.c: In function âset_chan_slowâ:
6200ch.c:403: error: âAVC1394_CTYPE_CONTROLâ undeclared (first use in
this function)
6200ch.c:403: error: âAVC1394_SUBUNIT_TYPE_PANELâ undeclared (first
use in this function)
6200ch.c:403: error: âAVC1394_SUBUNIT_ID_0â undeclared (first use in
this function)
6200ch.c:403: error: âAVC1394_PANEL_COMMAND_PASS_THROUGHâ undeclared
(first use in this function)
6200ch.c:409: warning: implicit declaration of function
âavc1394_transaction_blockâ
6200ch.c: In function âset_chan_slow_four_digitâ:
6200ch.c:432: error: âAVC1394_CTYPE_CONTROLâ undeclared (first use in
this function)
6200ch.c:432: error: âAVC1394_SUBUNIT_TYPE_PANELâ undeclared (first
use in this function)
6200ch.c:432: error: âAVC1394_SUBUNIT_ID_0â undeclared (first use in
this function)
6200ch.c:432: error: âAVC1394_PANEL_COMMAND_PASS_THROUGHâ undeclared
(first use in this function)
6200ch.c: In function âset_chan_fastâ:
6200ch.c:449: error: âAVC1394_CTYPE_CONTROLâ undeclared (first use in
this function)
6200ch.c:449: error: âAVC1394_SUBUNIT_TYPE_PANELâ undeclared (first
use in this function)
6200ch.c:449: error: âAVC1394_SUBUNIT_ID_0â undeclared (first use in
this function)
6200ch.c:449: error: âAVC1394_PANEL_COMMAND_PASS_THROUGHâ undeclared
(first use in this function)
6200ch.c: In function âset_power_fastâ:
6200ch.c:465: error: âAVC1394_CTYPE_CONTROLâ undeclared (first use in
this function)
6200ch.c:465: error: âAVC1394_SUBUNIT_TYPE_PANELâ undeclared (first
use in this function)
6200ch.c:465: error: âAVC1394_SUBUNIT_ID_0â undeclared (first use in
this function)
6200ch.c:465: error: âAVC1394_PANEL_COMMAND_PASS_THROUGHâ undeclared
(first use in this function)
6200ch.c:465: error: âAVC1394_PANEL_OPERATION_POWERâ undeclared (first
use in this function)
6200ch.c:469: warning: assignment makes pointer from integer without a cast


More information about the mythtv-users mailing list