LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2009, 02:39 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Rep: Reputation: 49
error in installing VLC-0.8.6


Hi I am using openSUSE 10.3 .While installing from tarball './configure' gave following error.
checking for FFMPEG... yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
configure: error: Missing header file ffmpeg/avcodec.h.
What is missing ?
 
Old 07-16-2009, 03:19 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Did you try installing it with Yast?
 
Old 07-16-2009, 11:35 PM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
My computer has no internet connection that is why I install manually using tarball
 
Old 07-28-2009, 03:22 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
I tried to install vlc-0.8.4 from tarball using
./configure --disable-wxwidgets --disable-skins2
No errors occured.
'make' gave following error
ffmpeg.c:36:24: error: avcodec.h: No such file or directory
ffmpeg.c:40:5: error: #error You must have a libavcodec >= 4680 (get CVS)
In file included from ffmpeg.c:43:
ffmpeg.h:44: error: expected declaration specifiers or ‘...’ before ‘AVCodecContext’
ffmpeg.h:44: error: expected declaration specifiers or ‘...’ before ‘AVCodec’
ffmpeg.h:50: error: expected declaration specifiers or ‘...’ before ‘AVCodecContext’
ffmpeg.h:50: error: expected declaration specifiers or ‘...’ before ‘AVCodec’
ffmpeg.h:80: error: expected declaration specifiers or ‘...’ before ‘AVFrame’
ffmpeg.c:63: error: expected specifier-qualifier-list before ‘AVCodecContext’
ffmpeg.c: In function ‘OpenDecoder’:
ffmpeg.c:212: error: ‘AVCodecContext’ undeclared (first use in this function)
ffmpeg.c:212: error: (Each undeclared identifier is reported only once
ffmpeg.c:212: error: for each function it appears in.)
ffmpeg.c:212: error: ‘p_context’ undeclared (first use in this function)
ffmpeg.c:213: error: ‘AVCodec’ undeclared (first use in this function)
ffmpeg.c:213: error: ‘p_codec’ undeclared (first use in this function)
ffmpeg.c:223: error: ‘CODEC_ID_AAC’ undeclared (first use in this function)
ffmpeg.c:234: warning: implicit declaration of function ‘avcodec_find_decoder’
ffmpeg.c:241: warning: implicit declaration of function ‘avcodec_alloc_context’
ffmpeg.c:249: error: ‘FF_MM_MMX’ undeclared (first use in this function)
ffmpeg.c:253: error: ‘FF_MM_MMXEXT’ undeclared (first use in this function)
ffmpeg.c:257: error: ‘FF_MM_3DNOW’ undeclared (first use in this function)
ffmpeg.c:261: error: ‘FF_MM_SSE’ undeclared (first use in this function)
ffmpeg.c:265: error: ‘FF_MM_SSE2’ undeclared (first use in this function)
ffmpeg.c:274: error: too many arguments to function ‘InitVideoDec__ffmpeg’
ffmpeg.c:279: error: too many arguments to function ‘InitAudioDec__ffmpeg’
ffmpeg.c: In function ‘CloseDecoder’:
ffmpeg.c:311: error: ‘decoder_sys_t’ has no member named ‘p_context’
ffmpeg.c:313: error: ‘decoder_sys_t’ has no member named ‘p_context’
ffmpeg.c:314: error: ‘decoder_sys_t’ has no member named ‘p_context’
ffmpeg.c:317: warning: implicit declaration of function ‘avcodec_close’
ffmpeg.c:317: error: ‘decoder_sys_t’ has no member named ‘p_context’
ffmpeg.c:320: warning: implicit declaration of function ‘av_free’
ffmpeg.c:320: error: ‘decoder_sys_t’ has no member named ‘p_context’
ffmpeg.c: In function ‘LibavcodecCallback’:
ffmpeg.c:333: error: ‘AVCodecContext’ undeclared (first use in this function)
ffmpeg.c:333: error: ‘p_avctx’ undeclared (first use in this function)
ffmpeg.c:333: error: expected expression before ‘)’ token
ffmpeg.c:334: error: ‘AVClass’ undeclared (first use in this function)
ffmpeg.c:334: error: ‘p_avc’ undeclared (first use in this function)
ffmpeg.c:347: error: ‘AV_LOG_ERROR’ undeclared (first use in this function)
ffmpeg.c:356: error: ‘AV_LOG_QUIET’ undeclared (first use in this function)
ffmpeg.c:362: error: ‘AV_LOG_INFO’ undeclared (first use in this function)
ffmpeg.c:365: error: ‘AV_LOG_DEBUG’ undeclared (first use in this function)
ffmpeg.c: In function ‘InitLibavcodec__ffmpeg’:
ffmpeg.c:390: warning: implicit declaration of function ‘avcodec_init’
ffmpeg.c:391: warning: implicit declaration of function ‘avcodec_register_all’
ffmpeg.c:392: warning: implicit declaration of function ‘av_log_set_callback’
ffmpeg.c:395: error: ‘LIBAVCODEC_BUILD’ undeclared (first use in this function)
ffmpeg.c: At top level:
ffmpeg.c:417: error: ‘PIX_FMT_YUV444P’ undeclared here (not in a function)
ffmpeg.c:419: error: ‘PIX_FMT_YUVJ444P’ undeclared here (not in a function)
ffmpeg.c:420: error: ‘PIX_FMT_YUV422P’ undeclared here (not in a function)
ffmpeg.c:421: error: ‘PIX_FMT_YUVJ422P’ undeclared here (not in a function)
ffmpeg.c:422: error: ‘PIX_FMT_YUV420P’ undeclared here (not in a function)
ffmpeg.c:425: error: ‘PIX_FMT_YUVJ420P’ undeclared here (not in a function)
ffmpeg.c:426: error: ‘PIX_FMT_YUV411P’ undeclared here (not in a function)
ffmpeg.c:427: error: ‘PIX_FMT_YUV410P’ undeclared here (not in a function)
ffmpeg.c:431: error: ‘PIX_FMT_YUV422’ undeclared here (not in a function)
ffmpeg.c:437: error: ‘PIX_FMT_RGB555’ undeclared here (not in a function)
ffmpeg.c:438: error: ‘PIX_FMT_RGB565’ undeclared here (not in a function)
ffmpeg.c:439: error: ‘PIX_FMT_RGB24’ undeclared here (not in a function)
ffmpeg.c:440: error: ‘PIX_FMT_RGBA32’ undeclared here (not in a function)
ffmpeg.c:441: error: ‘PIX_FMT_GRAY8’ undeclared here (not in a function)
ffmpeg.c:483: error: ‘CODEC_ID_MPEG1VIDEO’ undeclared here (not in a function)
ffmpeg.c:483: error: initializer element is not constant
ffmpeg.c:483: error: (near initialization for ‘codecs_table[0].i_codec’)
ffmpeg.c:487: error: ‘CODEC_ID_MPEG2VIDEO’ undeclared here (not in a function)
ffmpeg.c:487: error: initializer element is not constant
ffmpeg.c:487: error: (near initialization for ‘codecs_table[1].i_codec’)
ffmpeg.c:489: error: initializer element is not constant
ffmpeg.c:489: error: (near initialization for ‘codecs_table[2].i_codec’)
ffmpeg.c:493: error: ‘CODEC_ID_MPEG4’ undeclared here (not in a function)
ffmpeg.c:493: error: initializer element is not constant
ffmpeg.c:493: error: (near initialization for ‘codecs_table[3].i_codec’)
ffmpeg.c:495: error: initializer element is not constant
ffmpeg.c:495: error: (near initialization for ‘codecs_table[4].i_codec’)
ffmpeg.c:497: error: initializer element is not constant
ffmpeg.c:497: error: (near initialization for ‘codecs_table[5].i_codec’)
ffmpeg.c:499: error: initializer element is not constant
ffmpeg.c:499: error: (near initialization for ‘codecs_table[6].i_codec’)
ffmpeg.c:501: error: initializer element is not constant
ffmpeg.c:501: error: (near initialization for ‘codecs_table[7].i_codec’)
ffmpeg.c:503: error: initializer element is not constant
ffmpeg.c:503: error: (near initialization for ‘codecs_table[8].i_codec’)
ffmpeg.c:505: error: initializer element is not constant
ffmpeg.c:505: error: (near initialization for ‘codecs_table[9].i_codec’)
ffmpeg.c:507: error: initializer element is not constant
ffmpeg.c:507: error: (near initialization for ‘codecs_table[10].i_codec’)
ffmpeg.c:509: error: initializer element is not constant
ffmpeg.c:509: error: (near initialization for ‘codecs_table[11].i_codec’)
ffmpeg.c:511: error: initializer element is not constant
ffmpeg.c:511: error: (near initialization for ‘codecs_table[12].i_codec’)
ffmpeg.c:513: error: initializer element is not constant
ffmpeg.c:513: error: (near initialization for ‘codecs_table[13].i_codec’)
ffmpeg.c:515: error: initializer element is not constant
ffmpeg.c:515: error: (near initialization for ‘codecs_table[14].i_codec’)
ffmpeg.c:517: error: initializer element is not constant
ffmpeg.c:517: error: (near initialization for ‘codecs_table[15].i_codec’)
ffmpeg.c:519: error: initializer element is not constant
ffmpeg.c:519: error: (near initialization for ‘codecs_table[16].i_codec’)
ffmpeg.c:521: error: initializer element is not constant
ffmpeg.c:521: error: (near initialization for ‘codecs_table[17].i_codec’)
ffmpeg.c:523: error: initializer element is not constant
ffmpeg.c:523: error: (near initialization for ‘codecs_table[18].i_codec’)
ffmpeg.c:525: error: initializer element is not constant
ffmpeg.c:525: error: (near initialization for ‘codecs_table[19].i_codec’)
ffmpeg.c:527: error: initializer element is not constant
ffmpeg.c:527: error: (near initialization for ‘codecs_table[20].i_codec’)
ffmpeg.c:529: error: initializer element is not constant
ffmpeg.c:529: error: (near initialization for ‘codecs_table[21].i_codec’)
ffmpeg.c:538: error: initializer element is not constant
ffmpeg.c:538: error: (near initialization for ‘codecs_table[22].i_codec’)
ffmpeg.c:540: error: initializer element is not constant
ffmpeg.c:540: error: (near initialization for ‘codecs_table[23].i_codec’)
ffmpeg.c:544: error: ‘CODEC_ID_MSMPEG4V1’ undeclared here (not in a function)
ffmpeg.c:544: error: initializer element is not constant
ffmpeg.c:544: error: (near initialization for ‘codecs_table[24].i_codec’)
ffmpeg.c:546: error: initializer element is not constant
ffmpeg.c:546: error: (near initialization for ‘codecs_table[25].i_codec’)
ffmpeg.c:548: error: initializer element is not constant
ffmpeg.c:548: error: (near initialization for ‘codecs_table[26].i_codec’)
ffmpeg.c:550: error: initializer element is not constant
ffmpeg.c:550: error: (near initialization for ‘codecs_table[27].i_codec’)
ffmpeg.c:554: error: ‘CODEC_ID_MSMPEG4V2’ undeclared here (not in a function)
ffmpeg.c:554: error: initializer element is not constant
ffmpeg.c:554: error: (near initialization for ‘codecs_table[28].i_codec’)
ffmpeg.c:556: error: initializer element is not constant
ffmpeg.c:556: error: (near initialization for ‘codecs_table[29].i_codec’)
ffmpeg.c:558: error: initializer element is not constant
ffmpeg.c:558: error: (near initialization for ‘codecs_table[30].i_codec’)
ffmpeg.c:560: error: initializer element is not constant
ffmpeg.c:560: error: (near initialization for ‘codecs_table[31].i_codec’)
ffmpeg.c:564: error: ‘CODEC_ID_MSMPEG4V3’ undeclared here (not in a function)
ffmpeg.c:564: error: initializer element is not constant
ffmpeg.c:564: error: (near initialization for ‘codecs_table[32].i_codec’)
ffmpeg.c:566: error: initializer element is not constant
ffmpeg.c:566: error: (near initialization for ‘codecs_table[33].i_codec’)
ffmpeg.c:568: error: initializer element is not constant
ffmpeg.c:568: error: (near initialization for ‘codecs_table[34].i_codec’)
ffmpeg.c:570: error: initializer element is not constant
ffmpeg.c:570: error: (near initialization for ‘codecs_table[35].i_codec’)
ffmpeg.c:572: error: initializer element is not constant
ffmpeg.c:572: error: (near initialization for ‘codecs_table[36].i_codec’)
ffmpeg.c:575: error: initializer element is not constant
ffmpeg.c:575: error: (near initialization for ‘codecs_table[37].i_codec’)
ffmpeg.c:577: error: initializer element is not constant
ffmpeg.c:577: error: (near initialization for ‘codecs_table[38].i_codec’)
ffmpeg.c:579: error: initializer element is not constant
ffmpeg.c:579: error: (near initialization for ‘codecs_table[39].i_codec’)
ffmpeg.c:581: error: initializer element is not constant
ffmpeg.c:581: error: (near initialization for ‘codecs_table[40].i_codec’)
ffmpeg.c:583: error: initializer element is not constant
ffmpeg.c:583: error: (near initialization for ‘codecs_table[41].i_codec’)
ffmpeg.c:585: error: initializer element is not constant
ffmpeg.c:585: error: (near initialization for ‘codecs_table[42].i_codec’)
ffmpeg.c:587: error: initializer element is not constant
ffmpeg.c:587: error: (near initialization for ‘codecs_table[43].i_codec’)
ffmpeg.c:590: error: initializer element is not constant
ffmpeg.c:590: error: (near initialization for ‘codecs_table[44].i_codec’)
ffmpeg.c:593: error: initializer element is not constant
ffmpeg.c:593: error: (near initialization for ‘codecs_table[45].i_codec’)
ffmpeg.c:595: error: initializer element is not constant
ffmpeg.c:595: error: (near initialization for ‘codecs_table[46].i_codec’)
ffmpeg.c:598: error: initializer element is not constant
ffmpeg.c:598: error: (near initialization for ‘codecs_table[47].i_codec’)
ffmpeg.c:600: error: initializer element is not constant
ffmpeg.c:600: error: (near initialization for ‘codecs_table[48].i_codec’)
ffmpeg.c:604: error: ‘CODEC_ID_SVQ1’ undeclared here (not in a function)
ffmpeg.c:604: error: initializer element is not constant
ffmpeg.c:604: error: (near initialization for ‘codecs_table[49].i_codec’)
ffmpeg.c:608: error: ‘CODEC_ID_SVQ3’ undeclared here (not in a function)
ffmpeg.c:608: error: initializer element is not constant
ffmpeg.c:608: error: (near initialization for ‘codecs_table[50].i_codec’)
ffmpeg.c:612: error: ‘CODEC_ID_H264’ undeclared here (not in a function)
ffmpeg.c:612: error: initializer element is not constant
ffmpeg.c:612: error: (near initialization for ‘codecs_table[51].i_codec’)
ffmpeg.c:614: error: initializer element is not constant
ffmpeg.c:614: error: (near initialization for ‘codecs_table[52].i_codec’)
ffmpeg.c:617: error: initializer element is not constant
ffmpeg.c:617: error: (near initialization for ‘codecs_table[53].i_codec’)
ffmpeg.c:619: error: initializer element is not constant
ffmpeg.c:619: error: (near initialization for ‘codecs_table[54].i_codec’)
ffmpeg.c:621: error: initializer element is not constant
ffmpeg.c:621: error: (near initialization for ‘codecs_table[55].i_codec’)
ffmpeg.c:630: error: ‘CODEC_ID_H263’ undeclared here (not in a function)
ffmpeg.c:630: error: initializer element is not constant
ffmpeg.c:630: error: (near initialization for ‘codecs_table[56].i_codec’)
ffmpeg.c:632: error: initializer element is not constant
ffmpeg.c:632: error: (near initialization for ‘codecs_table[57].i_codec’)
ffmpeg.c:634: error: initializer element is not constant
ffmpeg.c:634: error: (near initialization for ‘codecs_table[58].i_codec’)
ffmpeg.c:638: error: ‘CODEC_ID_H263I’ undeclared here (not in a function)
ffmpeg.c:638: error: initializer element is not constant
ffmpeg.c:638: error: (near initialization for ‘codecs_table[59].i_codec’)
ffmpeg.c:640: error: initializer element is not constant
ffmpeg.c:640: error: (near initialization for ‘codecs_table[60].i_codec’)
ffmpeg.c:644: error: ‘CODEC_ID_FLV1’ undeclared here (not in a function)
ffmpeg.c:644: error: initializer element is not constant
ffmpeg.c:644: error: (near initialization for ‘codecs_table[61].i_codec’)
ffmpeg.c:658: error: ‘CODEC_ID_MJPEG’ undeclared here (not in a function)
ffmpeg.c:658: error: initializer element is not constant
ffmpeg.c:658: error: (near initialization for ‘codecs_table[62].i_codec’)
ffmpeg.c:660: error: initializer element is not constant
ffmpeg.c:660: error: (near initialization for ‘codecs_table[63].i_codec’)
ffmpeg.c:662: error: initializer element is not constant
ffmpeg.c:662: error: (near initialization for ‘codecs_table[64].i_codec’)
ffmpeg.c:664: error: initializer element is not constant
ffmpeg.c:664: error: (near initialization for ‘codecs_table[65].i_codec’)
ffmpeg.c:666: error: initializer element is not constant
ffmpeg.c:666: error: (near initialization for ‘codecs_table[66].i_codec’)
ffmpeg.c:668: error: initializer element is not constant
ffmpeg.c:668: error: (near initialization for ‘codecs_table[67].i_codec’)
ffmpeg.c:670: error: initializer element is not constant
ffmpeg.c:670: error: (near initialization for ‘codecs_table[68].i_codec’)
ffmpeg.c:673: error: ‘CODEC_ID_MJPEGB’ undeclared here (not in a function)
ffmpeg.c:673: error: initializer element is not constant
ffmpeg.c:673: error: (near initialization for ‘codecs_table[69].i_codec’)
ffmpeg.c:682: error: ‘CODEC_ID_DVVIDEO’ undeclared here (not in a function)
ffmpeg.c:682: error: initializer element is not constant
ffmpeg.c:682: error: (near initialization for ‘codecs_table[70].i_codec’)
ffmpeg.c:684: error: initializer element is not constant
ffmpeg.c:684: error: (near initialization for ‘codecs_table[71].i_codec’)
ffmpeg.c:686: error: initializer element is not constant
ffmpeg.c:686: error: (near initialization for ‘codecs_table[72].i_codec’)
ffmpeg.c:688: error: initializer element is not constant
ffmpeg.c:688: error: (near initialization for ‘codecs_table[73].i_codec’)
ffmpeg.c:690: error: initializer element is not constant
ffmpeg.c:690: error: (near initialization for ‘codecs_table[74].i_codec’)
ffmpeg.c:1029: error: ‘CODEC_ID_PCM_MULAW’ undeclared here (not in a function)
ffmpeg.c:1029: error: initializer element is not constant
ffmpeg.c:1029: error: (near initialization for ‘codecs_table[122].i_codec’)
make[6]: *** [libffmpeg_a-ffmpeg.o] Error 1
make[6]: Leaving directory `/home/lxuser/MySoftwares/vlc-0.8.4/modules/codec/ffmpeg'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/lxuser/MySoftwares/vlc-0.8.4/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/lxuser/MySoftwares/vlc-0.8.4/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/lxuser/MySoftwares/vlc-0.8.4/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lxuser/MySoftwares/vlc-0.8.4/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lxuser/MySoftwares/vlc-0.8.4'
make: *** [all] Error 2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error installing VLC in YDL6 on PS3 Masta Shake Linux - Software 2 02-15-2009 05:29 AM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 11:48 PM
help installing vlc on 9.3 shadowsa SUSE / openSUSE 1 09-28-2005 03:40 AM
Installing VLC st95accord Fedora 4 05-15-2005 12:26 PM
installing vlc flames2112 Fedora 1 03-07-2005 03:41 AM


All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration