LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xawtv on Slackware: compiling errors (https://www.linuxquestions.org/questions/linux-software-2/xawtv-on-slackware-compiling-errors-350812/)

jaakkop 08-07-2005 08:05 AM

xawtv on Slackware: compiling errors
 
I wanted to install xawtv cos ppl prefer it. I tried the one from Linuxpackages.net and it didn't work:
Code:

jaakkop@j-tech:~$ xawtv
-bash: /usr/bin/xawtv: cannot execute binary file
jaakkop@j-tech:~$

So next I tried to install it from source. When I did the command "make", it gave me this:
Code:

  CC      libng/plugins/read-qt.o
libng/plugins/read-qt.c:7:33: quicktime/quicktime.h: No such file or directory
libng/plugins/read-qt.c:8:35: quicktime/colormodels.h: No such file or directory
libng/plugins/read-qt.c:9:27: quicktime/lqt.h: No such file or directory
libng/plugins/read-qt.c:18: error: `BC_RGB888' undeclared here (not in a function)
libng/plugins/read-qt.c:18: error: initializer element is not constant
libng/plugins/read-qt.c:18: error: (near initialization for `fmtid_to_cmodel[9]')
libng/plugins/read-qt.c:19: error: `BC_BGR888' undeclared here (not in a function)
libng/plugins/read-qt.c:19: error: initializer element is not constant
libng/plugins/read-qt.c:19: error: (near initialization for `fmtid_to_cmodel[7]')
libng/plugins/read-qt.c:20: error: `BC_YUV422' undeclared here (not in a function)
libng/plugins/read-qt.c:20: error: initializer element is not constant
libng/plugins/read-qt.c:20: error: (near initialization for `fmtid_to_cmodel[13]')
libng/plugins/read-qt.c:21: error: `BC_YUV420P' undeclared here (not in a function)
libng/plugins/read-qt.c:21: error: initializer element is not constant
libng/plugins/read-qt.c:21: error: (near initialization for `fmtid_to_cmodel[15]')
libng/plugins/read-qt.c:28: error: syntax error before "quicktime_t"
libng/plugins/read-qt.c:28: warning: no semicolon at end of struct or union
libng/plugins/read-qt.c:42: error: syntax error before '}' token
libng/plugins/read-qt.c: In function `qt_open':
libng/plugins/read-qt.c:50: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:52: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:55: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:55: warning: implicit declaration of function `quicktime_open'
libng/plugins/read-qt.c:56: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:65: warning: implicit declaration of function `quicktime_get_copyright'
libng/plugins/read-qt.c:65: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:65: warning: assignment makes pointer from integer without a cast
libng/plugins/read-qt.c:68: warning: implicit declaration of function `quicktime_get_name'
libng/plugins/read-qt.c:68: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:68: warning: assignment makes pointer from integer without a cast
libng/plugins/read-qt.c:71: warning: implicit declaration of function `quicktime_get_info'
libng/plugins/read-qt.c:71: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:71: warning: assignment makes pointer from integer without a cast
libng/plugins/read-qt.c:76: warning: implicit declaration of function `quicktime_has_video'
libng/plugins/read-qt.c:76: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:77: warning: implicit declaration of function `quicktime_video_tracks'
libng/plugins/read-qt.c:77: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:78: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:87: warning: implicit declaration of function `quicktime_video_width'
libng/plugins/read-qt.c:87: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:88: warning: implicit declaration of function `quicktime_video_height'
libng/plugins/read-qt.c:88: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:89: warning: implicit declaration of function `quicktime_video_depth'
libng/plugins/read-qt.c:89: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:90: warning: implicit declaration of function `quicktime_frame_rate'
libng/plugins/read-qt.c:90: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:91: warning: implicit declaration of function `quicktime_video_compressor'
libng/plugins/read-qt.c:91: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:91: warning: double format, different type arg (arg 7)
libng/plugins/read-qt.c:91: warning: format argument is not a pointer (arg 8)
libng/plugins/read-qt.c:96: warning: implicit declaration of function `quicktime_has_audio'
libng/plugins/read-qt.c:96: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:97: warning: implicit declaration of function `quicktime_audio_tracks'
libng/plugins/read-qt.c:97: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:98: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:106: warning: implicit declaration of function `quicktime_sample_rate'
libng/plugins/read-qt.c:106: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:107: warning: implicit declaration of function `quicktime_audio_bits'
libng/plugins/read-qt.c:107: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:108: warning: implicit declaration of function `quicktime_track_channels'
libng/plugins/read-qt.c:108: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:109: warning: implicit declaration of function `quicktime_audio_compressor'
libng/plugins/read-qt.c:109: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:109: warning: long int format, int arg (arg 4)
libng/plugins/read-qt.c:109: warning: format argument is not a pointer (arg 7)
libng/plugins/read-qt.c:115: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:118: warning: implicit declaration of function `quicktime_supported_video'
libng/plugins/read-qt.c:118: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:122: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:122: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:123: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:123: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:124: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:124: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:128: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:131: warning: implicit declaration of function `quicktime_supported_audio'
libng/plugins/read-qt.c:131: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:135: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:135: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:136: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:136: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:138: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:138: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c: In function `qt_vfmt':
libng/plugins/read-qt.c:155: warning: implicit declaration of function `quicktime_reads_cmodel'
libng/plugins/read-qt.c:155: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:157: warning: implicit declaration of function `quicktime_set_cmodel'
libng/plugins/read-qt.c:157: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:158: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:161: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:161: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:161: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:162: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c: In function `qt_afmt':
libng/plugins/read-qt.c:169: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:169: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c: In function `qt_vdata':
libng/plugins/read-qt.c:178: warning: implicit declaration of function `quicktime_video_position'
libng/plugins/read-qt.c:178: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:178: warning: implicit declaration of function `quicktime_video_length'
libng/plugins/read-qt.c:178: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:181: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:181: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:181: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:182: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:183: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:183: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:184: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:185: error: `BC_RGB888' undeclared (first use in this function)
libng/plugins/read-qt.c:185: error: (Each undeclared identifier is reported only once
libng/plugins/read-qt.c:185: error: for each function it appears in.)
libng/plugins/read-qt.c:186: error: `BC_BGR888' undeclared (first use in this function)
libng/plugins/read-qt.c:187: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:188: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:188: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:190: error: `BC_YUV422' undeclared (first use in this function)
libng/plugins/read-qt.c:191: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:192: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:192: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:194: error: `BC_YUV420P' undeclared (first use in this function)
libng/plugins/read-qt.c:195: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:196: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:196: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:196: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:197: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:197: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:197: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:205: warning: implicit declaration of function `quicktime_read_frame'
libng/plugins/read-qt.c:205: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:207: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:208: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:209: warning: implicit declaration of function `lqt_decode_video'
libng/plugins/read-qt.c:209: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:209: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c: In function `qt_adata':
libng/plugins/read-qt.c:221: warning: implicit declaration of function `quicktime_audio_position'
libng/plugins/read-qt.c:221: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:221: warning: implicit declaration of function `quicktime_audio_length'
libng/plugins/read-qt.c:221: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:224: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:227: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:228: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:229: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:231: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:232: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:233: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:234: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:235: warning: implicit declaration of function `quicktime_set_audio_position'
libng/plugins/read-qt.c:235: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:236: warning: implicit declaration of function `quicktime_decode_audio'
libng/plugins/read-qt.c:236: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:236: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:237: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:238: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:238: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:240: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:241: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:245: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c: In function `qt_frame_time':
libng/plugins/read-qt.c:254: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c: In function `qt_close':
libng/plugins/read-qt.c:261: warning: implicit declaration of function `quicktime_close'
libng/plugins/read-qt.c:261: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:262: error: dereferencing pointer to incomplete type
libng/plugins/read-qt.c:263: error: dereferencing pointer to incomplete type
make: *** [libng/plugins/read-qt.o] Error 1

What to do?

poluxmx 08-07-2005 08:11 PM

What Video card are you using?

jaakkop 08-08-2005 03:20 AM

Quote:

Originally posted by poluxmx
What Video card are you using?
NVIDIA GeForce 4 MX 440

ryko 11-24-2005 04:35 AM

I had same problem with a slackware 10.1 / Kernel 2.4.x ...

libng/plugins/read-qt.o and others quicktime relative message wait for included files (i.e. quicktime.h) in a quicktime folder when they are in fact in a lqt folder.

Quote:

libng/plugins/read-qt.c:7:33: quicktime/quicktime.h: No such file or directory
(slocate quicktime.h > /usr/include/lqt/quicktime.h )

ln -s /usr/include/lqt /usr/include/quicktime have solved all this errors here (Slackware 10.1 / kernel 2.4.x / quicktime libs already installed).



otherwise, for the xawtv slackware package from Linuxpackages, if this is the one I guess (xawtv-3.94-x86_64-1pcx.tgz ?) that's may be because this one is for x86_64 archi ...

xawtv-3.94-x86_64-1pcx.tgz


All times are GMT -5. The time now is 01:16 PM.