Compiling vlc0.9.0 - rev 23092

*nix specific usage questions
vsai
Blank Cone
Blank Cone
Posts: 13
Joined: 14 Nov 2007 14:44

Compiling vlc0.9.0 - rev 23092

Postby vsai » 16 Nov 2007 14:13

When I do make I receive a error.
I tried many revisions from cvs, but all of them give me an error.
The error is in src/control/vlm.c, line 119, where it complains that "b_loop" is not a member of...
The list of error continues after this.

I need this version in order to compile vlc with v4l2.
I compiled like this:
./configure --enable-libdvdpsi --disable-wxwidgets --disable-skins2 --enable-st --enable-dvbpsi --enable-v4l2

How can I make vlc compile?
Thank you.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compiling vlc0.9.0 - rev 23092

Postby Jean-Baptiste Kempf » 20 Nov 2007 23:36

Your configure is a bit short, that is why. Look on my blog, to have more examples.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Compiling vlc0.9.0 - rev 23092

Postby funman » 21 Nov 2007 00:33

"./configure" should work out of the box, that's not a problem at all

vsai can you paste the releving section of the errors ? (including the line & file where it fails)

vsai
Blank Cone
Blank Cone
Posts: 13
Joined: 14 Nov 2007 14:44

Re: Compiling vlc0.9.0 - rev 23092

Postby vsai » 24 Nov 2007 10:35

This is the full error.
I gaved no parametters to configure this time.
Just ./configure and make.
I did allmost everething I needed with vlc 0.8.6c, so I will not need vlc 0.9.0 for the moment.

mkdir control/.libs
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DSYS_LINUX -I../include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -DDATA_PATH=\"/usr/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -O3 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -D__LIBVLC__ -I../src/misc -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -Wvolatile-register-var -MT control/libvlc_control_la-core.lo -MD -MP -MF control/.deps/libvlc_control_la-core.Tpo -c control/core.c -fPIC -DPIC -o control/.libs/libvlc_control_la-core.o
mv -f control/.deps/libvlc_control_la-core.Tpo control/.deps/libvlc_control_la-core.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DSYS_LINUX -I../include `top_builddir=".." ../vlc-config --cflags libvlc` -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -Wvolatile-register-var -MT control/libvlc_control_la-log.lo -MD -MP -MF control/.deps/libvlc_control_la-log.Tpo -c -o control/libvlc_control_la-log.lo `test -f 'control/log.c' || echo './'`control/log.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DSYS_LINUX -I../include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -DDATA_PATH=\"/usr/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -O3 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -D__LIBVLC__ -I../src/misc -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -Wvolatile-register-var -MT control/libvlc_control_la-log.lo -MD -MP -MF control/.deps/libvlc_control_la-log.Tpo -c control/log.c -fPIC -DPIC -o control/.libs/libvlc_control_la-log.o
mv -f control/.deps/libvlc_control_la-log.Tpo control/.deps/libvlc_control_la-log.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DSYS_LINUX -I../include `top_builddir=".." ../vlc-config --cflags libvlc` -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -Wvolatile-register-var -MT control/libvlc_control_la-playlist.lo -MD -MP -MF control/.deps/libvlc_control_la-playlist.Tpo -c -o control/libvlc_control_la-playlist.lo `test -f 'control/playlist.c' || echo './'`control/playlist.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DSYS_LINUX -I../include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -DDATA_PATH=\"/usr/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -O3 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -D__LIBVLC__ -I../src/misc -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -Wvolatile-register-var -MT control/libvlc_control_la-playlist.lo -MD -MP -MF control/.deps/libvlc_control_la-playlist.Tpo -c control/playlist.c -fPIC -DPIC -o control/.libs/libvlc_control_la-playlist.o
mv -f control/.deps/libvlc_control_la-playlist.Tpo control/.deps/libvlc_control_la-playlist.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DSYS_LINUX -I../include `top_builddir=".." ../vlc-config --cflags libvlc` -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -Wvolatile-register-var -MT control/libvlc_control_la-vlm.lo -MD -MP -MF control/.deps/libvlc_control_la-vlm.Tpo -c -o control/libvlc_control_la-vlm.lo `test -f 'control/vlm.c' || echo './'`control/vlm.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DSYS_LINUX -I../include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -DDATA_PATH=\"/usr/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -O3 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -D__LIBVLC__ -I../src/misc -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition -Wmissing-prototypes -Wvolatile-register-var -MT control/libvlc_control_la-vlm.lo -MD -MP -MF control/.deps/libvlc_control_la-vlm.Tpo -c control/vlm.c -fPIC -DPIC -o control/.libs/libvlc_control_la-vlm.o
control/vlm.c: In function 'libvlc_vlm_set_loop':
control/vlm.c:119: error: 'vlm_media_t' has no member named 'b_loop'
control/vlm.c: In function 'libvlc_vlm_change_media':
control/vlm.c:217: error: 'vlm_media_t' has no member named 'b_loop'
control/vlm.c: In function 'libvlc_vlm_get_media_position':
control/vlm.c:363: warning: 'return' with no value, in function returning non-void
control/vlm.c:363: error: 'vlm_media_t' has no member named 'i_instance'
control/vlm.c:363: error: 'vlm_media_t' has no member named 'instance'
control/vlm.c:363: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:363: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:363: warning: this function may return with or without a value
control/vlm.c: In function 'libvlc_vlm_get_media_time':
control/vlm.c:364: warning: 'return' with no value, in function returning non-void
control/vlm.c:364: error: 'vlm_media_t' has no member named 'i_instance'
control/vlm.c:364: error: 'vlm_media_t' has no member named 'instance'
control/vlm.c:364: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:364: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:364: warning: this function may return with or without a value
control/vlm.c: In function 'libvlc_vlm_get_media_length':
control/vlm.c:365: warning: 'return' with no value, in function returning non-void
control/vlm.c:365: error: 'vlm_media_t' has no member named 'i_instance'
control/vlm.c:365: error: 'vlm_media_t' has no member named 'instance'
control/vlm.c:365: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:365: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:365: warning: this function may return with or without a value
control/vlm.c: In function 'libvlc_vlm_get_media_rate':
control/vlm.c:366: warning: 'return' with no value, in function returning non-void
control/vlm.c:366: error: 'vlm_media_t' has no member named 'i_instance'
control/vlm.c:366: error: 'vlm_media_t' has no member named 'instance'
control/vlm.c:366: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:366: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:366: warning: this function may return with or without a value
control/vlm.c: In function 'libvlc_vlm_get_media_title':
control/vlm.c:367: warning: 'return' with no value, in function returning non-void
control/vlm.c:367: error: 'vlm_media_t' has no member named 'i_instance'
control/vlm.c:367: error: 'vlm_media_t' has no member named 'instance'
control/vlm.c:367: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:367: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:367: warning: this function may return with or without a value
control/vlm.c: In function 'libvlc_vlm_get_media_chapter':
control/vlm.c:368: warning: 'return' with no value, in function returning non-void
control/vlm.c:368: error: 'vlm_media_t' has no member named 'i_instance'
control/vlm.c:368: error: 'vlm_media_t' has no member named 'instance'
control/vlm.c:368: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:368: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:368: warning: this function may return with or without a value
control/vlm.c: In function 'libvlc_vlm_get_media_seekable':
control/vlm.c:369: warning: 'return' with no value, in function returning non-void
control/vlm.c:369: error: 'vlm_media_t' has no member named 'i_instance'
control/vlm.c:369: error: 'vlm_media_t' has no member named 'instance'
control/vlm.c:369: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:369: error: 'vlm_media_instance_t' has no member named 'p_input'
control/vlm.c:369: warning: this function may return with or without a value
control/vlm.c: In function 'recurse_answer':
control/vlm.c:376: warning: initialization discards qualifiers from pointer target type
control/vlm.c: In function 'libvlc_vlm_show_media':
control/vlm.c:416: warning: 'return' with no value, in function returning non-void
control/vlm.c:419: warning: zero-length printf format string
control/vlm.c:430: warning: passing argument 1 of 'recurse_answer' discards qualifiers from pointer target type
control/vlm.c:437: warning: this function may return with or without a value
make[4]: *** [control/libvlc_control_la-vlm.lo] Error 1
make[4]: Leaving directory `/usr/src/0.9.0-vlm/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/0.9.0-vlm/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/0.9.0-vlm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/0.9.0-vlm'
make: *** [all] Error 2


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

Who is online

Users browsing this forum: No registered users and 48 guests