우분투에서 gqcam 설치하기..
안녕하세요 초보리눅서입니다.
우분투에서 웹캠을 설치하려고 하는데..
확인해보니 모듈은 자동으로 올라간 상태구요..
웹캠에도 불이 들어옵니다.
그런데 gqcam을 설치하려고 보니 패키지로 되어있지 않더라구요..
그래서 소스를 받아서 컴파일 할려고 했습니다.
일단 make 명령을 내렸는데..다음과 같은 메시지가 나오면서 오류가 나더군요..
gtk-config를 찾을수 없다고 하는 것같은데..
혹시나해서 #sudo apt-get install gtk-config 해보았는데...없더군요 ^^;;
어찌해야할지 몰라 이렇게 질문드려봅니다.
eggchin@eggchin-desktop:~/Desktop/gqcam-0.9$ make
gcc `gtk-config --cflags` -DVERSION=\"0.9\" -c gqcam.c
/bin/sh: gtk-config: command not found
gqcam.c:20:20: 오류: unistd.h: 그런 파일이나 디렉토리가 없음
gqcam.c:21:19: 오류: stdio.h: 그런 파일이나 디렉토리가 없음
gqcam.c:22:20: 오류: stdlib.h: 그런 파일이나 디렉토리가 없음
gqcam.c:23:20: 오류: string.h: 그런 파일이나 디렉토리가 없음
gqcam.c:24:20: 오류: getopt.h: 그런 파일이나 디렉토리가 없음
gqcam.c:25:23: 오류: sys/types.h: 그런 파일이나 디렉토리가 없음
gqcam.c:26:22: 오류: sys/stat.h: 그런 파일이나 디렉토리가 없음
gqcam.c:27:23: 오류: sys/ioctl.h: 그런 파일이나 디렉토리가 없음
gqcam.c:28:22: 오류: sys/mman.h: 그런 파일이나 디렉토리가 없음
gqcam.c:29:19: 오류: fcntl.h: 그런 파일이나 디렉토리가 없음
gqcam.c:30:21: 오류: pthread.h: 그런 파일이나 디렉토리가 없음
gqcam.c:31:23: 오류: semaphore.h: 그런 파일이나 디렉토리가 없음
gqcam.c:32:21: 오류: gtk/gtk.h: 그런 파일이나 디렉토리가 없음
gqcam.c:33:26: 오류: linux/types.h: 그런 파일이나 디렉토리가 없음
gqcam.c:34:28: 오류: linux/videodev.h: 그런 파일이나 디렉토리가 없음
gqcam.c:35:20: 오류: signal.h: 그런 파일이나 디렉토리가 없음
gqcam.c:36:17: 오류: png.h: 그런 파일이나 디렉토리가 없음
In file included from gqcam.c:37:
gqcam.h:3: error: syntax error before ‘GtkWidget’
gqcam.h:3: warning: no semicolon at end of struct or union
gqcam.h:4: warning: data definition has no type or storage class
gqcam.h:6: error: syntax error before ‘*’ token
gqcam.h:6: warning: data definition has no type or storage class
gqcam.h:7: error: syntax error before ‘*’ token
gqcam.h:7: warning: data definition has no type or storage class
gqcam.h:8: error: syntax error before ‘*’ token
gqcam.h:8: warning: data definition has no type or storage class
gqcam.h:10: error: syntax error before ‘*’ token
gqcam.h:10: warning: data definition has no type or storage class
gqcam.h:11: error: syntax error before ‘*’ token
gqcam.h:11: warning: data definition has no type or storage class
gqcam.h:12: error: syntax error before ‘*’ token
gqcam.h:12: warning: data definition has no type or storage class
gqcam.h:14: error: syntax error before ‘*’ token
gqcam.h:14: warning: data definition has no type or storage class
gqcam.h:15: error: syntax error before ‘*’ token
gqcam.h:15: warning: data definition has no type or storage class
gqcam.h:16: error: syntax error before ‘}’ token
gqcam.h:20: error: syntax error before ‘GtkWidget’
gqcam.h:20: warning: no semicolon at end of struct or union
gqcam.h:21: warning: data definition has no type or storage class
gqcam.h:22: error: syntax error before ‘*’ token
gqcam.h:22: warning: data definition has no type or storage class
gqcam.h:23: error: syntax error before ‘*’ token
gqcam.h:23: warning: data definition has no type or storage class
gqcam.h:24: error: syntax error before ‘*’ token
gqcam.h:24: warning: data definition has no type or storage class
gqcam.h:25: error: syntax error before ‘*’ token
gqcam.h:25: warning: data definition has no type or storage class
gqcam.h:26: error: syntax error before ‘}’ token
gqcam.h:30: error: syntax error before ‘GtkWidget’
gqcam.h:30: warning: no semicolon at end of struct or union
gqcam.h:31: warning: data definition has no type or storage class
gqcam.h:32: error: syntax error before ‘*’ token
gqcam.h:32: warning: data definition has no type or storage class
gqcam.h:33: error: syntax error before ‘*’ token
gqcam.h:33: warning: data definition has no type or storage class
gqcam.h:34: error: syntax error before ‘*’ token
gqcam.h:34: warning: data definition has no type or storage class
gqcam.h:35: error: syntax error before ‘*’ token
gqcam.h:35: warning: data definition has no type or storage class
gqcam.h:36: error: syntax error before ‘*’ token
gqcam.h:36: warning: data definition has no type or storage class
gqcam.h:37: error: syntax error before ‘*’ token
gqcam.h:37: warning: data definition has no type or storage class
gqcam.h:38: error: syntax error before ‘*’ token
gqcam.h:38: warning: data definition has no type or storage class
gqcam.h:39: error: syntax error before ‘}’ token
gqcam.h:43: error: syntax error before ‘GtkWidget’
gqcam.h:43: warning: no semicolon at end of struct or union
gqcam.h:44: warning: data definition has no type or storage class
gqcam.h:45: error: syntax error before ‘*’ token
gqcam.h:45: warning: data definition has no type or storage class
gqcam.h:46: error: syntax error before ‘*’ token
gqcam.h:46: warning: data definition has no type or storage class
gqcam.h:47: error: syntax error before ‘*’ token
gqcam.h:47: warning: data definition has no type or storage class
gqcam.h:48: error: syntax error before ‘*’ token
gqcam.h:48: warning: data definition has no type or storage class
gqcam.h:49: error: syntax error before ‘*’ token
gqcam.h:49: warning: data definition has no type or storage class
gqcam.h:50: error: syntax error before ‘}’ token
gqcam.h:54: error: syntax error before ‘GtkWidget’
gqcam.h:54: warning: no semicolon at end of struct or union
gqcam.h:55: warning: data definition has no type or storage class
gqcam.h:56: error: syntax error before ‘*’ token
gqcam.h:56: warning: data definition has no type or storage class
gqcam.h:57: error: syntax error before ‘*’ token
gqcam.h:57: warning: data definition has no type or storage class
gqcam.h:58: error: syntax error before ‘*’ token
gqcam.h:58: warning: data definition has no type or storage class
gqcam.h:59: error: syntax error before ‘*’ token
gqcam.h:59: warning: data definition has no type or storage class
gqcam.h:60: error: syntax error before ‘*’ token
gqcam.h:60: warning: data definition has no type or storage class
gqcam.h:61: error: syntax error before ‘}’ token
gqcam.h:65: error: field ‘page_ppm’ has incomplete type
gqcam.h:66: error: field ‘page_jpeg’ has incomplete type
gqcam.h:67: error: field ‘page_gif’ has incomplete type
gqcam.h:68: error: field ‘page_png’ has incomplete type
gqcam.h:74: error: syntax error before ‘png_byte’
gqcam.h:74: warning: no semicolon at end of struct or union
gqcam.h:76: error: syntax error before ‘*’ token
gqcam.h:76: warning: data definition has no type or storage class
gqcam.h:77: error: syntax error before ‘*’ token
gqcam.h:77: warning: data definition has no type or storage class
gqcam.h:78: error: syntax error before ‘*’ token
gqcam.h:78: warning: data definition has no type or storage class
gqcam.h:79: error: syntax error before ‘}’ token
gqcam.h:89: error: syntax error before ‘GtkWidget’
gqcam.h:89: warning: no semicolon at end of struct or union
gqcam.h:90: warning: data definition has no type or storage class
gqcam.h:91: error: syntax error before ‘*’ token
gqcam.h:91: warning: data definition has no type or storage class
gqcam.h:92: error: syntax error before ‘*’ token
gqcam.h:92: warning: data definition has no type or storage class
gqcam.h:93: error: syntax error before ‘*’ token
gqcam.h:93: warning: data definition has no type or storage class
gqcam.h:94: error: syntax error before ‘*’ token
gqcam.h:94: warning: data definition has no type or storage class
gqcam.h:95: error: syntax error before ‘*’ token
gqcam.h:95: warning: data definition has no type or storage class
gqcam.h:96: error: syntax error before ‘*’ token
gqcam.h:96: warning: data definition has no type or storage class
gqcam.h:97: error: syntax error before ‘*’ token
gqcam.h:97: warning: data definition has no type or storage class
gqcam.h:98: error: syntax error before ‘*’ token
gqcam.h:98: warning: data definition has no type or storage class
gqcam.h:99: error: syntax error before ‘*’ token
gqcam.h:99: warning: data definition has no type or storage class
gqcam.h:100: error: syntax error before ‘*’ token
gqcam.h:100: warning: data definition has no type or storage class
gqcam.h:101: error: syntax error before ‘*’ token
gqcam.h:101: warning: data definition has no type or storage class
gqcam.h:102: error: syntax error before ‘*’ token
gqcam.h:102: warning: data definition has no type or storage class
gqcam.h:103: error: syntax error before ‘*’ token
gqcam.h:103: warning: data definition has no type or storage class
gqcam.h:104: error: syntax error before ‘}’ token
gqcam.h:113: error: syntax error before ‘GtkWidget’
gqcam.h:113: warning: no semicolon at end of struct or union
gqcam.h:114: warning: data definition has no type or storage class
gqcam.h:115: error: syntax error before ‘*’ token
gqcam.h:115: warning: data definition has no type or storage class
gqcam.h:116: error: syntax error before ‘*’ token
gqcam.h:116: warning: data definition has no type or storage class
gqcam.h:117: error: syntax error before ‘*’ token
gqcam.h:117: warning: data definition has no type or storage class
gqcam.h:118: error: syntax error before ‘*’ token
gqcam.h:118: warning: data definition has no type or storage class
gqcam.h:119: error: syntax error before ‘*’ token
gqcam.h:119: warning: data definition has no type or storage class
gqcam.h:120: error: syntax error before ‘*’ token
gqcam.h:120: warning: data definition has no type or storage class
gqcam.h:121: error: syntax error before ‘*’ token
gqcam.h:121: warning: data definition has no type or storage class
gqcam.h:122: error: syntax error before ‘*’ token
gqcam.h:122: warning: data definition has no type or storage class
gqcam.h:123: error: syntax error before ‘*’ token
gqcam.h:123: warning: data definition has no type or storage class
gqcam.h:124: error: syntax error before ‘*’ token
gqcam.h:124: warning: data definition has no type or storage class
gqcam.h:125: error: syntax error before ‘*’ token
gqcam.h:125: warning: data definition has no type or storage class
gqcam.h:126: error: syntax error before ‘*’ token
gqcam.h:126: warning: data definition has no type or storage class
gqcam.h:127: error: syntax error before ‘*’ token
gqcam.h:127: warning: data definition has no type or storage class
gqcam.h:128: error: syntax error before ‘*’ token
gqcam.h:128: warning: data definition has no type or storage class
gqcam.h:129: error: syntax error before ‘*’ token
gqcam.h:129: warning: data definition has no type or storage class
gqcam.h:130: error: syntax error before ‘*’ token
gqcam.h:130: warning: data definition has no type or storage class
gqcam.h:131: error: syntax error before ‘}’ token
gqcam.h:151: error: syntax error before ‘guint’
gqcam.h:151: warning: no semicolon at end of struct or union
gqcam.h:155: error: array type has incomplete element type
gqcam.h:161: error: syntax error before ‘*’ token
gqcam.h:161: warning: data definition has no type or storage class
gqcam.h:162: error: syntax error before ‘*’ token
gqcam.h:162: warning: data definition has no type or storage class
gqcam.h:163: error: syntax error before ‘*’ token
gqcam.h:163: warning: data definition has no type or storage class
gqcam.h:164: error: syntax error before ‘*’ token
gqcam.h:164: warning: data definition has no type or storage class
gqcam.h:165: error: syntax error before ‘iscam_mutex’
gqcam.h:165: warning: data definition has no type or storage class
gqcam.h:166: error: syntax error before ‘*’ token
gqcam.h:166: warning: data definition has no type or storage class
gqcam.h:177: error: syntax error before ‘}’ token
gqcam.h:182: error: syntax error before ‘*’ token
In file included from gqcam.c:38:
frontend.h:3: error: syntax error before ‘configure_event’
frontend.h:3: error: syntax error before ‘*’ token
frontend.h:3: warning: data definition has no type or storage class
frontend.h:4: error: syntax error before ‘expose_event’
frontend.h:4: error: syntax error before ‘*’ token
frontend.h:4: warning: data definition has no type or storage class
frontend.h:5: error: syntax error before ‘*’ token
frontend.h:7: error: syntax error before ‘*’ token
frontend.h:8: error: syntax error before ‘*’ token
frontend.h:9: error: syntax error before ‘*’ token
frontend.h:10: error: syntax error before ‘*’ token
frontend.h:11: error: syntax error before ‘*’ token
frontend.h:12: error: syntax error before ‘*’ token
frontend.h:13: error: syntax error before ‘*’ token
frontend.h:14: error: syntax error before ‘*’ token
frontend.h:15: error: syntax error before ‘*’ token
frontend.h:16: error: syntax error before ‘*’ token
frontend.h:20: error: syntax error before ‘*’ token
frontend.h:21: error: syntax error before ‘*’ token
In file included from gqcam.c:39:
save.h:49: error: syntax error before ‘*’ token
save.h:50: error: syntax error before ‘*’ token
gqcam.c: In function ‘init_cam’:
gqcam.c:47: error: dereferencing pointer to incomplete type
gqcam.c:48: error: dereferencing pointer to incomplete type
gqcam.c:48: error: ‘NULL’ undeclared (first use in this function)
gqcam.c:48: error: (Each undeclared identifier is reported only once
gqcam.c:48: error: for each function it appears in.)
gqcam.c:49: error: dereferencing pointer to incomplete type
gqcam.c:50: error: dereferencing pointer to incomplete type
gqcam.c:51: error: dereferencing pointer to incomplete type
gqcam.c:52: error: dereferencing pointer to incomplete type
gqcam.c:53: error: dereferencing pointer to incomplete type
gqcam.c:54: error: dereferencing pointer to incomplete type
gqcam.c:55: error: dereferencing pointer to incomplete type
gqcam.c:56: error: dereferencing pointer to incomplete type
gqcam.c:57: error: dereferencing pointer to incomplete type
gqcam.c:58: warning: incompatible implicit declaration of built-in function ‘strcpy’
gqcam.c:58: error: dereferencing pointer to incomplete type
gqcam.c:59: error: dereferencing pointer to incomplete type
gqcam.c:60: error: dereferencing pointer to incomplete type
gqcam.c:61: error: dereferencing pointer to incomplete type
gqcam.c:62: error: dereferencing pointer to incomplete type
gqcam.c:63: error: dereferencing pointer to incomplete type
gqcam.c:64: error: dereferencing pointer to incomplete type
gqcam.c:65: error: dereferencing pointer to incomplete type
gqcam.c:66: error: dereferencing pointer to incomplete type
gqcam.c:67: error: dereferencing pointer to incomplete type
gqcam.c:68: error: dereferencing pointer to incomplete type
gqcam.c:69: error: dereferencing pointer to incomplete type
gqcam.c:70: error: dereferencing pointer to incomplete type
gqcam.c:71: error: dereferencing pointer to incomplete type
gqcam.c: At top level:
gqcam.c:74: error: syntax error before ‘s_draw’
gqcam.c:74: warning: data definition has no type or storage class
gqcam.c:75: error: syntax error before ‘s_grab1’
gqcam.c:75: warning: data definition has no type or storage class
gqcam.c: In function ‘set_cam_info’:
gqcam.c:82: error: dereferencing pointer to incomplete type
gqcam.c:82: error: ‘VIDIOCSPICT’ undeclared (first use in this function)
gqcam.c:82: error: dereferencing pointer to incomplete type
gqcam.c:85: error: dereferencing pointer to incomplete type
gqcam.c:85: error: ‘VIDIOCSWIN’ undeclared (first use in this function)
gqcam.c:85: error: dereferencing pointer to incomplete type
gqcam.c: In function ‘get_cam_info’:
gqcam.c:93: error: array type has incomplete element type
gqcam.c:95: error: dereferencing pointer to incomplete type
gqcam.c:95: error: ‘VIDIOCGCAP’ undeclared (first use in this function)
gqcam.c:95: error: dereferencing pointer to incomplete type
gqcam.c:96: error: dereferencing pointer to incomplete type
gqcam.c:96: error: ‘VIDIOCGWIN’ undeclared (first use in this function)
gqcam.c:96: error: dereferencing pointer to incomplete type
gqcam.c:97: error: dereferencing pointer to incomplete type
gqcam.c:97: error: ‘VIDIOCGPICT’ undeclared (first use in this function)
gqcam.c:97: error: dereferencing pointer to incomplete type
gqcam.c:105: error: dereferencing pointer to incomplete type
gqcam.c:106: error: dereferencing pointer to incomplete type
gqcam.c:108: error: dereferencing pointer to incomplete type
gqcam.c:108: error: ‘VID_TYPE_MONOCHROME’ undeclared (first use in this function)
gqcam.c:109: error: dereferencing pointer to incomplete type
gqcam.c:110: error: dereferencing pointer to incomplete type
gqcam.c:110: error: dereferencing pointer to incomplete type
gqcam.c:110: error: dereferencing pointer to incomplete type
gqcam.c:110: error: dereferencing pointer to incomplete type
gqcam.c:111: error: dereferencing pointer to incomplete type
gqcam.c:111: error: dereferencing pointer to incomplete type
gqcam.c:111: error: dereferencing pointer to incomplete type
gqcam.c:111: error: dereferencing pointer to incomplete type
gqcam.c:114: error: dereferencing pointer to incomplete type
gqcam.c:115: error: dereferencing pointer to incomplete type
gqcam.c:115: error: dereferencing pointer to incomplete type
gqcam.c:115: error: dereferencing pointer to incomplete type
gqcam.c:115: error: dereferencing pointer to incomplete type
gqcam.c:116: error: dereferencing pointer to incomplete type
gqcam.c:116: error: dereferencing pointer to incomplete type
gqcam.c:116: error: dereferencing pointer to incomplete type
gqcam.c:116: error: dereferencing pointer to incomplete type
gqcam.c: In function ‘print_cam_info’:
gqcam.c:123: warning: incompatible implicit declaration of built-in function ‘printf’
gqcam.c:123: error: dereferencing pointer to incomplete type
gqcam.c:124: error: dereferencing pointer to incomplete type
gqcam.c:125: error: dereferencing pointer to incomplete type
gqcam.c:125: error: ‘VID_TYPE_CAPTURE’ undeclared (first use in this function)
gqcam.c:128: error: dereferencing pointer to incomplete type
gqcam.c:128: error: ‘VID_TYPE_TUNER’ undeclared (first use in this function)
gqcam.c:131: error: dereferencing pointer to incomplete type
gqcam.c:131: error: ‘VID_TYPE_TELETEXT’ undeclared (first use in this function)
gqcam.c:134: error: dereferencing pointer to incomplete type
gqcam.c:134: error: ‘VID_TYPE_OVERLAY’ undeclared (first use in this function)
gqcam.c:137: error: dereferencing pointer to incomplete type
gqcam.c:137: error: ‘VID_TYPE_CHROMAKEY’ undeclared (first use in this function)
gqcam.c:140: error: dereferencing pointer to incomplete type
gqcam.c:140: error: ‘VID_TYPE_CLIPPING’ undeclared (first use in this function)
gqcam.c:143: error: dereferencing pointer to incomplete type
gqcam.c:143: error: ‘VID_TYPE_FRAMERAM’ undeclared (first use in this function)
gqcam.c:146: error: dereferencing pointer to incomplete type
gqcam.c:146: error: ‘VID_TYPE_SCALES’ undeclared (first use in this function)
gqcam.c:149: error: dereferencing pointer to incomplete type
gqcam.c:149: error: ‘VID_TYPE_MONOCHROME’ undeclared (first use in this function)
gqcam.c:152: error: dereferencing pointer to incomplete type
gqcam.c:152: error: ‘VID_TYPE_SUBCAPTURE’ undeclared (first use in this function)
gqcam.c:156: error: dereferencing pointer to incomplete type
gqcam.c:157: error: dereferencing pointer to incomplete type
gqcam.c:158: error: dereferencing pointer to incomplete type
gqcam.c:159: error: dereferencing pointer to incomplete type
gqcam.c:160: error: dereferencing pointer to incomplete type
gqcam.c:161: error: dereferencing pointer to incomplete type
gqcam.c:165: error: dereferencing pointer to incomplete type
gqcam.c:166: error: dereferencing pointer to incomplete type
gqcam.c:167: error: dereferencing pointer to incomplete type
gqcam.c:168: error: dereferencing pointer to incomplete type
gqcam.c:169: error: dereferencing pointer to incomplete type
gqcam.c:170: error: dereferencing pointer to incomplete type
gqcam.c:178: error: dereferencing pointer to incomplete type
gqcam.c:178: error: dereferencing pointer to incomplete type
gqcam.c:179: error: dereferencing pointer to incomplete type
gqcam.c:179: error: dereferencing pointer to incomplete type
gqcam.c:180: error: dereferencing pointer to incomplete type
gqcam.c:180: error: dereferencing pointer to incomplete type
gqcam.c:181: error: dereferencing pointer to incomplete type
gqcam.c:181: error: dereferencing pointer to incomplete type
gqcam.c:182: error: dereferencing pointer to incomplete type
gqcam.c:182: error: dereferencing pointer to incomplete type
gqcam.c:183: error: dereferencing pointer to incomplete type
gqcam.c:184: error: dereferencing pointer to incomplete type
gqcam.c: In function ‘open_cam’:
gqcam.c:191: error: dereferencing pointer to incomplete type
gqcam.c:192: error: dereferencing pointer to incomplete type
gqcam.c:192: error: dereferencing pointer to incomplete type
gqcam.c:192: error: ‘O_RDWR’ undeclared (first use in this function)
gqcam.c:194: error: dereferencing pointer to incomplete type
gqcam.c:196: warning: incompatible implicit declaration of built-in function ‘exit’
gqcam.c:199: error: dereferencing pointer to incomplete type
gqcam.c: In function ‘close_cam’:
gqcam.c:205: error: dereferencing pointer to incomplete type
gqcam.c:206: error: dereferencing pointer to incomplete type
gqcam.c:207: error: dereferencing pointer to incomplete type
gqcam.c:208: error: dereferencing pointer to incomplete type
gqcam.c: In function ‘display’:
gqcam.c:215: error: ‘GdkDrawable’ undeclared (first use in this function)
gqcam.c:215: error: ‘drawable’ undeclared (first use in this function)
gqcam.c:217: error: ‘GdkRectangle’ undeclared (first use in this function)
gqcam.c:217: error: syntax error before ‘update_rec’
gqcam.c:223: error: dereferencing pointer to incomplete type
gqcam.c:224: error: dereferencing pointer to incomplete type
gqcam.c:224: error: dereferencing pointer to incomplete type
gqcam.c:225: error: dereferencing pointer to incomplete type
gqcam.c:229: error: ‘update_rec’ undeclared (first use in this function)
gqcam.c:231: error: dereferencing pointer to incomplete type
gqcam.c:232: error: dereferencing pointer to incomplete type
gqcam.c:234: error: dereferencing pointer to incomplete type
gqcam.c:234: error: dereferencing pointer to incomplete type
gqcam.c:235: error: dereferencing pointer to incomplete type
gqcam.c:235: error: dereferencing pointer to incomplete type
gqcam.c:237: error: dereferencing pointer to incomplete type
gqcam.c:241: error: dereferencing pointer to incomplete type
gqcam.c:243: error: dereferencing pointer to incomplete type
gqcam.c:246: error: dereferencing pointer to incomplete type
gqcam.c:247: error: dereferencing pointer to incomplete type
gqcam.c:247: error: dereferencing pointer to incomplete type
gqcam.c:247: error: dereferencing pointer to incomplete type
gqcam.c:247: error: dereferencing pointer to incomplete type
gqcam.c:247: error: ‘GDK_RGB_DITHER_NORMAL’ undeclared (first use in this function)
gqcam.c:247: error: dereferencing pointer to incomplete type
gqcam.c:247: error: dereferencing pointer to incomplete type
gqcam.c:249: error: dereferencing pointer to incomplete type
gqcam.c:249: error: dereferencing pointer to incomplete type
gqcam.c:249: error: dereferencing pointer to incomplete type
gqcam.c:249: error: dereferencing pointer to incomplete type
gqcam.c:249: error: dereferencing pointer to incomplete type
gqcam.c:249: error: dereferencing pointer to incomplete type
gqcam.c:253: error: dereferencing pointer to incomplete type
gqcam.c:254: warning: incompatible implicit declaration of built-in function ‘sprintf’
gqcam.c:254: error: dereferencing pointer to incomplete type
gqcam.c:254: error: dereferencing pointer to incomplete type
gqcam.c:255: error: dereferencing pointer to incomplete type
gqcam.c:256: error: dereferencing pointer to incomplete type
gqcam.c: In function ‘grab_image’:
gqcam.c:269: error: ‘GdkRectangle’ undeclared (first use in this function)
gqcam.c:269: error: syntax error before ‘update_rec’
gqcam.c:270: error: ‘GdkEventExpose’ undeclared (first use in this function)
gqcam.c:270: error: ‘event’ undeclared (first use in this function)
gqcam.c:274: error: ‘update_rec’ undeclared (first use in this function)
gqcam.c:276: error: dereferencing pointer to incomplete type
gqcam.c:277: error: dereferencing pointer to incomplete type
gqcam.c:281: error: dereferencing pointer to incomplete type
gqcam.c:281: error: dereferencing pointer to incomplete type
gqcam.c:281: error: dereferencing pointer to incomplete type
gqcam.c:283: error: dereferencing pointer to incomplete type
gqcam.c:284: error: dereferencing pointer to incomplete type
gqcam.c:289: error: dereferencing pointer to incomplete type
gqcam.c:291: error: dereferencing pointer to incomplete type
gqcam.c:293: error: dereferencing pointer to incomplete type
gqcam.c:294: error: dereferencing pointer to incomplete type
gqcam.c:294: error: dereferencing pointer to incomplete type
gqcam.c:294: error: dereferencing pointer to incomplete type
gqcam.c:294: error: dereferencing pointer to incomplete type
gqcam.c:296: warning: incompatible implicit declaration of built-in function ‘fprintf’
gqcam.c:296: error: ‘stderr’ undeclared (first use in this function)
gqcam.c:298: error: dereferencing pointer to incomplete type
gqcam.c:299: error: dereferencing pointer to incomplete type
gqcam.c:300: error: dereferencing pointer to incomplete type
gqcam.c:302: error: dereferencing pointer to incomplete type
gqcam.c:304: error: dereferencing pointer to incomplete type
gqcam.c:306: error: dereferencing pointer to incomplete type
gqcam.c:319: error: dereferencing pointer to incomplete type
gqcam.c:320: warning: incompatible implicit declaration of built-in function ‘printf’
gqcam.c:321: error: dereferencing pointer to incomplete type
gqcam.c: At top level:
gqcam.c:328: error: syntax error before ‘*’ token
gqcam.c: In function ‘delete_event’:
gqcam.c:330: error: ‘FILE’ undeclared (first use in this function)
gqcam.c:330: error: ‘preffile’ undeclared (first use in this function)
gqcam.c:333: warning: incompatible implicit declaration of built-in function ‘sprintf’
gqcam.c:335: error: ‘camera’ undeclared (first use in this function)
gqcam.c: In function ‘increment_second_counter’:
gqcam.c:359: error: dereferencing pointer to incomplete type
gqcam.c:360: error: dereferencing pointer to incomplete type
gqcam.c: In function ‘main’:
gqcam.c:367: error: storage size of ‘camera’ isn’t known
gqcam.c:368: error: ‘pthread_t’ undeclared (first use in this function)
gqcam.c:368: error: syntax error before ‘grab_thread’
gqcam.c:370: error: ‘guint’ undeclared (first use in this function)
gqcam.c:373: error: ‘NULL’ undeclared (first use in this function)
gqcam.c:375: error: ‘FILE’ undeclared (first use in this function)
gqcam.c:375: error: ‘preffile’ undeclared (first use in this function)
gqcam.c:384: warning: incompatible implicit declaration of built-in function ‘sprintf’
gqcam.c:393: error: array type has incomplete element type
gqcam.c:395: error: ‘no_argument’ undeclared (first use in this function)
gqcam.c:399: error: ‘required_argument’ undeclared (first use in this function)
gqcam.c:415: warning: incompatible implicit declaration of built-in function ‘exit’
gqcam.c:418: warning: incompatible implicit declaration of built-in function ‘printf’
gqcam.c:428: error: ‘optarg’ undeclared (first use in this function)
gqcam.c:461: warning: incompatible implicit declaration of built-in function ‘fprintf’
gqcam.c:461: error: ‘stderr’ undeclared (first use in this function)
gqcam.c:465: error: ‘EOF’ undeclared (first use in this function)
gqcam.c:478: warning: incompatible implicit declaration of built-in function ‘exit’
gqcam.c:497: error: ‘GtkFunction’ undeclared (first use in this function)
gqcam.c:497: error: syntax error before ‘next_frame’
gqcam.c:499: error: ‘timeoutid’ undeclared (first use in this function)
gqcam.c:499: error: syntax error before ‘increment_second_counter’
gqcam.c:501: error: ‘grab_thread’ undeclared (first use in this function)
gqcam.c:502: error: ‘draw_thread’ undeclared (first use in this function)
gqcam.c:519: warning: incompatible implicit declaration of built-in function ‘exit’
gqcam.c:393: error: storage size of ‘long_options’ isn’t known
gqcam.c:367: error: storage size of ‘camera’ isn’t known
gqcam.c: In function ‘print_usage’:
gqcam.c:523: warning: incompatible implicit declaration of built-in function ‘fprintf’
gqcam.c:523: error: ‘stderr’ undeclared (first use in this function)
gqcam.c: In function ‘dump_pict’:
gqcam.c:546: error: ‘FILE’ undeclared (first use in this function)
gqcam.c:546: error: ‘outf’ undeclared (first use in this function)
gqcam.c:546: error: ‘NULL’ undeclared (first use in this function)
gqcam.c:548: warning: incompatible implicit declaration of built-in function ‘strcpy’
gqcam.c:548: error: dereferencing pointer to incomplete type
gqcam.c:549: error: dereferencing pointer to incomplete type
gqcam.c:562: warning: incompatible implicit declaration of built-in function ‘fprintf’
gqcam.c:562: error: ‘stderr’ undeclared (first use in this function)
gqcam.c:565: error: dereferencing pointer to incomplete type
gqcam.c:566: error: dereferencing pointer to incomplete type
gqcam.c:567: error: dereferencing pointer to incomplete type
gqcam.c:572: error: dereferencing pointer to incomplete type
gqcam.c:572: error: dereferencing pointer to incomplete type
gqcam.c:576: error: dereferencing pointer to incomplete type
gqcam.c:577: error: dereferencing pointer to incomplete type
gqcam.c:578: error: dereferencing pointer to incomplete type
gqcam.c:579: error: dereferencing pointer to incomplete type
gqcam.c:582: error: dereferencing pointer to incomplete type
gqcam.c:583: error: dereferencing pointer to incomplete type
gqcam.c:583: error: ‘PNG_INTERLACE_NONE’ undeclared (first use in this function)
gqcam.c:584: error: dereferencing pointer to incomplete type
gqcam.c:587: error: dereferencing pointer to incomplete type
gqcam.c:588: error: dereferencing pointer to incomplete type
make: *** [gqcam.o] 오류 1
아참 우분투 버전은 대퍼 6.06최신버전이며..
커널 버전은 2.6.15-26-386 입니다.
패키지 있는데요?
http://packages.ubuntu.com/gqcam
감사합니다...
^^;; 우분투를 처음 써봐서..몰랐습니다 ^^
댓글 달기