|
楼主 |
发表于 2008-6-3 18:21:39
|
显示全部楼层
E:\>cd spcaview-20061208
E:\spcaview-20061208>make
process_begin: CreateProcess(NULL, sdl-config --cflags, ...) failed.
process_begin: CreateProcess(NULL, sdl-config --cflags, ...) failed.
gcc -DUSE_SDL -O2 -DLINUX -DUSE_SDL -O2 -DLINUX -c -o spcaview.o spcaview.c
spcaview.c:32:21: pthread.h: No such file or directory
spcaview.c:37:28: linux/videodev.h: No such file or directory
spcaview.c:38:23: sys/ioctl.h: No such file or directory
spcaview.c:39:22: sys/mman.h: No such file or directory
In file included from spcaview.c:47:
jconfig.h:18: error: syntax error before "__u8"
jconfig.h:18: warning: no semicolon at end of struct or union
jconfig.h:19: warning: data definition has no type or storage class
jconfig.h:20: error: syntax error before "time_interval"
jconfig.h:20: warning: data definition has no type or storage class
jconfig.h:21: error: syntax error before "light_freq"
jconfig.h:21: warning: data definition has no type or storage class
In file included from spcaview.c:51:
tcputils.h:32:24: sys/socket.h: No such file or directory
tcputils.h:33:24: netinet/in.h: No such file or directory
tcputils.h:34:23: arpa/inet.h: No such file or directory
spcaview.c:97: error: syntax error before "pthread_mutex_t"
spcaview.c:97: warning: no semicolon at end of struct or union
spcaview.c:98: warning: data definition has no type or storage class
spcaview.c:99: warning: data definition has no type or storage class
spcaview.c:187: warning: "struct video_picture" declared inside parameter list
spcaview.c:187: warning: its scope is only this definition or declaration, which
is probably not what you want
spcaview.c:193: warning: "struct video_picture" declared inside parameter list
spcaview.c: In function `waitandshoot':
spcaview.c:219: error: `mypict' undeclared (first use in this function)
spcaview.c:219: error: (Each undeclared identifier is reported only once
spcaview.c:219: error: for each function it appears in.)
spcaview.c:219: error: syntax error before ')' token
spcaview.c: In function `SDL_main':
spcaview.c:300: error: `VIDEO_PALETTE_YUV420P' undeclared (first use in this fun
ction)
spcaview.c:403: error: `VIDEO_PALETTE_RGB32' undeclared (first use in this funct
ion)
spcaview.c:408: error: `VIDEO_PALETTE_RGB24' undeclared (first use in this funct
ion)
spcaview.c:412: error: `VIDEO_PALETTE_RGB565' undeclared (first use in this func
tion)
spcaview.c: In function `spcaPlay':
spcaview.c:876: error: `VIDEO_PALETTE_YUV420P' undeclared (first use in this fun
ction)
spcaview.c:896: error: `u_int8_t' undeclared (first use in this function)
spcaview.c:896: error: `jpegData' undeclared (first use in this function)
spcaview.c:974: error: `VIDEO_PALETTE_RGB32' undeclared (first use in this funct
ion)
spcaview.c:977: error: `VIDEO_PALETTE_RGB24' undeclared (first use in this funct
ion)
spcaview.c:980: error: `VIDEO_PALETTE_RGB565' undeclared (first use in this func
tion)
spcaview.c: In function `spcaSetAutoExpo':
spcaview.c:1260: error: dereferencing pointer to incomplete type
spcaview.c:1261: error: dereferencing pointer to incomplete type
spcaview.c:1261: error: dereferencing pointer to incomplete type
spcaview.c:1262: error: `BASE_VIDIOCPRIVATE' undeclared (first use in this funct
ion)
spcaview.c:1262: error: syntax error before "struct"
spcaview.c: In function `spcaSetLightFrequency':
spcaview.c:1271: error: dereferencing pointer to incomplete type
spcaview.c:1272: error: dereferencing pointer to incomplete type
spcaview.c:1273: error: `BASE_VIDIOCPRIVATE' undeclared (first use in this funct
ion)
spcaview.c:1273: error: syntax error before "struct"
spcaview.c: In function `spcaSwitchLightFrequency':
spcaview.c:1282: error: `BASE_VIDIOCPRIVATE' undeclared (first use in this funct
ion)
spcaview.c:1282: error: syntax error before "struct"
spcaview.c: At top level:
spcaview.c:1296: warning: parameter names (without types) in function declaratio
n
spcaview.c:1296: error: conflicting types for 'spcaSetLightFrequency'
spcaview.c:1270: error: previous definition of 'spcaSetLightFrequency' was here
spcaview.c:1296: warning: data definition has no type or storage class
spcaview.c:1297: error: syntax error before '}' token
spcaview.c: In function `spcaSetTimeInterval':
spcaview.c:1305: error: dereferencing pointer to incomplete type
spcaview.c:1306: error: dereferencing pointer to incomplete type
spcaview.c:1307: error: `BASE_VIDIOCPRIVATE' undeclared (first use in this funct
ion)
spcaview.c:1307: error: syntax error before "struct"
spcaview.c: At top level:
spcaview.c:1313: error: syntax error before '}' token
spcaview.c: In function `spcaSetQuality':
spcaview.c:1317: error: dereferencing pointer to incomplete type
spcaview.c:1318: error: dereferencing pointer to incomplete type
spcaview.c:1319: error: `BASE_VIDIOCPRIVATE' undeclared (first use in this funct
ion)
spcaview.c:1319: error: syntax error before "struct"
spcaview.c: At top level:
spcaview.c:1324: error: syntax error before '}' token
spcaview.c: In function `spcaPrintParam':
spcaview.c:1327: error: `BASE_VIDIOCPRIVATE' undeclared (first use in this funct
ion)
spcaview.c:1327: error: syntax error before "struct"
spcaview.c: In function `qualityUp':
spcaview.c:1335: error: dereferencing pointer to incomplete type
spcaview.c: In function `qualityDown':
spcaview.c:1341: error: dereferencing pointer to incomplete type
spcaview.c: In function `timeUp':
spcaview.c:1347: error: dereferencing pointer to incomplete type
spcaview.c: In function `timeDown':
spcaview.c:1353: error: dereferencing pointer to incomplete type
spcaview.c: In function `spcaGrab':
spcaview.c:1377: error: storage size of 'vmmap' isn't known
spcaview.c:1378: error: storage size of 'videocap' isn't known
spcaview.c:1380: error: storage size of 'videombuf' isn't known
spcaview.c:1381: error: storage size of 'videopict' isn't known
spcaview.c:1382: error: storage size of 'videowin' isn't known
spcaview.c:1383: error: storage size of 'videochan' isn't known
spcaview.c:1384: error: storage size of 'videoparam' isn't known
spcaview.c:1398: error: `u_int8_t' undeclared (first use in this function)
spcaview.c:1398: error: `jpegData' undeclared (first use in this function)
spcaview.c:1428: error: syntax error before "mypict"
spcaview.c:1429: error: `pthread_t' undeclared (first use in this function)
spcaview.c:1462: error: `VIDEO_PALETTE_YUV420P' undeclared (first use in this fu
nction)
spcaview.c:1476: error: `VIDIOCGCAP' undeclared (first use in this function)
spcaview.c:1483: error: `VIDIOCGCHAN' undeclared (first use in this function)
spcaview.c:1490: error: `VIDIOCSCHAN' undeclared (first use in this function)
spcaview.c:1524: error: `VIDIOCGMBUF' undeclared (first use in this function)
spcaview.c:1531: error: `PROT_READ' undeclared (first use in this function)
spcaview.c:1531: error: `PROT_WRITE' undeclared (first use in this function)
spcaview.c:1532: error: `MAP_SHARED' undeclared (first use in this function)
spcaview.c:1539: error: `VIDIOCMCAPTURE' undeclared (first use in this function)
spcaview.c:1555: error: `VIDIOCGWIN' undeclared (first use in this function)
spcaview.c:1559: error: `VIDIOCSWIN' undeclared (first use in this function)
spcaview.c:1581: error: `VIDEO_PALETTE_RGB565' undeclared (first use in this fun
ction)
spcaview.c:1582: error: `VIDEO_PALETTE_RGB24' undeclared (first use in this func
tion)
spcaview.c:1583: error: `VIDEO_PALETTE_RGB32' undeclared (first use in this func
tion)
spcaview.c:1594: error: `VIDIOCGPICT' undeclared (first use in this function)
spcaview.c:1643: error: `mypict' undeclared (first use in this function)
spcaview.c:1691: error: `waitandshoot_id' undeclared (first use in this function
)
spcaview.c:1722: error: `VIDIOCSYNC' undeclared (first use in this function)
spcaview.c: At top level:
spcaview.c:2041: warning: "struct video_picture" declared inside parameter list
spcaview.c:2042: error: conflicting types for 'setVideoPict'
spcaview.c:193: error: previous declaration of 'setVideoPict' was here
spcaview.c:2042: error: conflicting types for 'setVideoPict'
spcaview.c:193: error: previous declaration of 'setVideoPict' was here
spcaview.c: In function `setVideoPict':
spcaview.c:2043: error: `VIDIOCSPICT' undeclared (first use in this function)
spcaview.c:2049: error: dereferencing pointer to incomplete type
spcaview.c:2049: error: dereferencing pointer to incomplete type
spcaview.c:2050: error: dereferencing pointer to incomplete type
spcaview.c:2050: error: dereferencing pointer to incomplete type
spcaview.c:2050: error: dereferencing pointer to incomplete type
spcaview.c:2051: error: dereferencing pointer to incomplete type
spcaview.c:2051: error: dereferencing pointer to incomplete type
spcaview.c: In function `refresh_screen':
spcaview.c:2213: error: `VIDEO_PALETTE_YUV420P' undeclared (first use in this fu
nction)
spcaview.c:2222: error: `VIDEO_PALETTE_RGB565' undeclared (first use in this fun
ction)
spcaview.c:2232: error: `VIDEO_PALETTE_RGB32' undeclared (first use in this func
tion)
spcaview.c:2242: error: `VIDEO_PALETTE_RGB24' undeclared (first use in this func
tion)
spcaview.c: At top level:
spcaview.c:2418: warning: "struct video_picture" declared inside parameter list
spcaview.c:2419: error: conflicting types for 'adjust_bright'
spcaview.c:187: error: previous declaration of 'adjust_bright' was here
spcaview.c:2419: error: conflicting types for 'adjust_bright'
spcaview.c:187: error: previous declaration of 'adjust_bright' was here
spcaview.c: In function `adjust_bright':
spcaview.c:2422: error: dereferencing pointer to incomplete type
spcaview.c:2431: error: dereferencing pointer to incomplete type
make: *** [spcaview.o] Error 1 |
|