Hi List, I am upgrading my 1-year-old system to linux-2.6.22.1 and ivtv-1.0.1, every thing works except I can't compile ivtvfbctl in the utils directory. The errors follows:
ivtvfbctl.c:110: warning: 'struct ivtvfb_alpha' declared inside parameter list ivtvfbctl.c:110: warning: its scope is only this definition or declaration, which is probably not what you want ivtvfbctl.c: In function 'get_state': ivtvfbctl.c:112: error: 'IVTVFB_IOCTL_GET_ALPHA' undeclared (first use in this function) ivtvfbctl.c:112: error: (Each undeclared identifier is reported only once ivtvfbctl.c:112: error: for each function it appears in.) ivtvfbctl.c:120: error: dereferencing pointer to incomplete type ivtvfbctl.c:122: error: dereferencing pointer to incomplete type ivtvfbctl.c:123: error: dereferencing pointer to incomplete type ivtvfbctl.c:125: error: dereferencing pointer to incomplete type ivtvfbctl.c:126: error: dereferencing pointer to incomplete type ivtvfbctl.c: In function 'ivtv_frame_loop': ivtvfbctl.c:137: error: storage size of 'args' isn't known ivtvfbctl.c:166: error: 'IVTVFB_IOCTL_PREP_FRAME' undeclared (first use in this function) ivtvfbctl.c:137: warning: unused variable 'args' ivtvfbctl.c: In function 'main': ivtvfbctl.c:213: error: storage size of 'state' isn't known ivtvfbctl.c:214: error: variable 'window' has initializer but incomplete type ivtvfbctl.c:214: warning: excess elements in struct initializer ivtvfbctl.c:214: warning: (near initialization for 'window') ivtvfbctl.c:214: warning: excess elements in struct initializer ivtvfbctl.c:214: warning: (near initialization for 'window') ivtvfbctl.c:214: warning: excess elements in struct initializer ivtvfbctl.c:214: warning: (near initialization for 'window') ivtvfbctl.c:214: warning: excess elements in struct initializer ivtvfbctl.c:214: warning: (near initialization for 'window') ivtvfbctl.c:214: error: storage size of 'window' isn't known ivtvfbctl.c:379: error: 'IVTVFB_IOCTL_SET_WINDOW' undeclared (first use in this function) ivtvfbctl.c:388: error: 'IVTVFB_IOCTL_SET_ALPHA' undeclared (first use in this function) ivtvfbctl.c:214: warning: unused variable 'window' ivtvfbctl.c:213: warning: unused variable 'state' make: *** [ivtvfbctl] Error 1 Please help. -- Hui Zhou _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
