Compile error for VLC-0.8.5 in Fedora Core5

*nix specific usage questions
lionc650
New Cone
New Cone
Posts: 2
Joined: 22 Nov 2006 04:02

Compile error for VLC-0.8.5 in Fedora Core5

Postby lionc650 » 22 Nov 2006 04:20

Dear Gentlmen,
I got the VLC-0.8.5 sourcecode from http://www.videolan.org . But it could't be compiled successfully.
Many erros as following:

ERROR : ../../../include/vlc_threads.h:63: 5: #error no threads available on your system !
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from ../../../include/vlc_common.h:535,
from ../../../include/vlc/vlc.h:153,
from video.c:28:
ERROR : /usr/include/bits/socket.h: 36: conflicting types for 'socklen_t'
ERROR : ../../../include/vlc_common.h: 158: previous declaration of 'socklen_t' was here
In file included from ../../../include/vlc_common.h:1155,
from ../../../include/vlc/vlc.h:153,
from video.c:28:
ERROR : ../../../include/vlc_symbols.h: 336: expected declaration specifiers or '...' before 'vlc_mutex_t'
ERROR : ../../../include/vlc_symbols.h: 337: expected declaration specifiers or '...' before 'vlc_mutex_t'
ERROR : ../../../include/vlc_symbols.h: 338: expected declaration specifiers or '...' before 'vlc_cond_t'
ERROR : ../../../include/vlc_symbols.h: 339: expected declaration specifiers or '...' before 'vlc_cond_t'
In file included from ../../../include/vlc_common.h:1160,
from ../../../include/vlc/vlc.h:153,
from video.c:28:
ERROR : ../../../include/vlc_messages.h: 29: expected ')' before '*' token
ERROR : ../../../include/vlc_messages.h: 30: expected ')' before '*' token
ERROR : ../../../include/vlc_messages.h: 74: expected specifier-qualifier-list before 'vlc_mutex_t'
ERROR : ../../../include/vlc_messages.h: 84: expected specifier-qualifier-list before 'vlc_mutex_t'
ERROR : ../../../include/vlc_messages.h: 111: expected specifier-qualifier-list before 'vlc_mutex_t'
ERROR : ../../../include/vlc_messages.h: 272: expected specifier-qualifier-list before 'vlc_thread_t'
ERROR : ../../../include/vlc_messages.h: 342: expected specifier-qualifier-list before 'vlc_mutex_t'
ERROR : ../../../include/vlc_messages.h: 383: expected specifier-qualifier-list before 'vlc_mutex_t'
In file included from ../../../include/vlc_common.h:1162,
from ../../../include/vlc/vlc.h:153,
from video.c:28:
ERROR : ../../../include/vlc_objects.h: 86: expected specifier-qualifier-list before 'vlc_thread_t'
In file included from ../../../include/vlc_common.h:1163,
from ../../../include/vlc/vlc.h:153,
from video.c:28:
ERROR : ../../../include/vlc_threads_funcs.h: 33: expected declaration specifiers or '...' before 'vlc_mutex_t'
ERROR : ../../../include/vlc_threads_funcs.h: 34: expected declaration specifiers or '...' before 'vlc_mutex_t'
ERROR : ../../../include/vlc_threads_funcs.h: 35: expected declaration specifiers or '...' before 'vlc_cond_t'
ERROR : ../../../include/vlc_threads_funcs.h: 36: expected declaration specifiers or '...' before 'vlc_cond_t'
ERROR : ../../../include/vlc_threads_funcs.h: 68: expected declaration specifiers or '...' before 'vlc_mutex_t'
../../../include/vlc_threads_funcs.h: In function '__vlc_mutex_lock':
ERROR : ../../../include/vlc_threads_funcs.h: 126: 'p_mutex' undeclared (first use in this function)
ERROR : ../../../include/vlc_threads_funcs.h: 126: (Each undeclared identifier is reported only once
ERROR : ../../../include/vlc_threads_funcs.h: 126: for each function it appears in.)
../../../include/vlc_threads_funcs.h: At top level:
an so on ..........

I don't konw why!
Is there another version sourcecode for FC5?

h2g2bob
Blank Cone
Blank Cone
Posts: 46
Joined: 02 Oct 2005 13:09
Location: Exeter, UK

Hello

Postby h2g2bob » 23 Nov 2006 02:22

Can you still compile with pretty much all the configure options disabled?

Make sure you're using the latest ffmpeg too (for example, even the latest unstable ffmpeg package in debian is not new enough ;-)

lionc650
New Cone
New Cone
Posts: 2
Joined: 22 Nov 2006 04:02

Postby lionc650 » 23 Nov 2006 03:38

Thanks.
I guess that I don't have all the libs for vlc. I will download libs and try again.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests