VLC 0.8.4 problems with compilation

*nix specific usage questions
LarryN
New Cone
New Cone
Posts: 2
Joined: 26 Nov 2005 15:43

VLC 0.8.4 problems with compilation

Postby LarryN » 27 Nov 2005 00:08

I tried to build vlc 0.8.4 at my Crux machine. But I failed. I got:

Code: Select all

if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_ builddir="../../.." ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign-comp are -Wsign-compare -Wall -pipe -MT libwxwidgets_plugin_a-dialogs.o -MD -MP -MF ".deps/libwxwidgets_plugin_a-dialogs.Tpo" -c -o libwxwidgets_plugin_a-dialogs.o `test -f 'dialogs.cpp' || echo './'`dialogs.cpp; \ then mv -f ".deps/libwxwidgets_plugin_a-dialogs.Tpo" ".deps/libwxwidgets_plugin_ a-dialogs.Po"; else rm -f ".deps/libwxwidgets_plugin_a-dialogs.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_ builddir="../../.." ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign-comp are -Wsign-compare -Wall -pipe -MT libwxwidgets_plugin_a-open.o -MD -MP -MF ".d eps/libwxwidgets_plugin_a-open.Tpo" -c -o libwxwidgets_plugin_a-open.o `test -f 'open.cpp' || echo './'`open.cpp; \ then mv -f ".deps/libwxwidgets_plugin_a-open.Tpo" ".deps/libwxwidgets_plugin_a-o pen.Po"; else rm -f ".deps/libwxwidgets_plugin_a-open.Tpo"; exit 1; fi open.cpp: In function `char* ProbeDVD(const wxChar*)': open.cpp:1337: error: request for member `data' in `tmp_buf', which is of non-cl ass type `const wxChar*' open.cpp: In function `char* ProbeCDDA(const wxChar*)': open.cpp:1407: error: request for member `data' in `tmp_buf', which is of non-cl ass type `const wxChar*' open.cpp: In function `char* ProbeVCD(const wxChar*)': open.cpp:1420: error: request for member `data' in `tmp_buf', which is of non-cl ass type `const wxChar*' make[6]: *** [libwxwidgets_plugin_a-open.o] Error 1 make[6]: Leaving directory `/home/niewod/Zrodla/vlc-0.8.4/modules/gui/wxwidgets' make[5]: *** [all-modules] Error 1 make[5]: Leaving directory `/home/niewod/Zrodla/vlc-0.8.4/modules/gui/wxwidgets' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/niewod/Zrodla/vlc-0.8.4/modules/gui' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/niewod/Zrodla/vlc-0.8.4/modules/gui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/niewod/Zrodla/vlc-0.8.4/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/niewod/Zrodla/vlc-0.8.4' make: *** [all] Error 2 niewod@piecyk:~/Zrodla/vlc-0.8.4$
What kind of information do you need more?

Guest

Postby Guest » 28 Nov 2005 05:08

Code: Select all

uname -ro 2.4.31 GNU/Linux
And

Code: Select all

slackware-10.2
configure

Code: Select all

./configure --enable-dvb --disable-smb --disable-skins2 --disable-x11 --disable-glx --disable-sdl
compiling unsuccessfully

Code: Select all

# make srcdir=. ./toolbox --update-version make all-recursive make[1]: Entering directory `/opt/garbage/tmp/vlc-0.8.4' Making all in intl make[2]: Entering directory `/opt/garbage/tmp/vlc-0.8.4/intl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/opt/garbage/tmp/vlc-0.8.4/intl' Making all in loader make[2]: Entering directory `/opt/garbage/tmp/vlc-0.8.4/loader' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/opt/garbage/tmp/vlc-0.8.4/loader' Making all in modules make[2]: Entering directory `/opt/garbage/tmp/vlc-0.8.4/modules' Making all in access make[3]: Entering directory `/opt/garbage/tmp/vlc-0.8.4/modules/access' make[4]: Entering directory `/opt/garbage/tmp/vlc-0.8.4/modules/access' gcc -Wsign-compare -Wall -pipe -o libaccess_file_plugin.so libaccess_file_plugin .a -L/usr/local/lib -u vlc_entry__0_8_4 /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../crt1.o(.text+0x18): In unc tion `_start': ../sysdeps/i386/elf/start.S:115: undefined reference to `main' collect2: ld returned 1 exit status make[4]: *** [libaccess_file_plugin.so] Error 1 make[4]: Leaving directory `/opt/garbage/tmp/vlc-0.8.4/modules/access' make[3]: *** [all-modules] Error 1 make[3]: Leaving directory `/opt/garbage/tmp/vlc-0.8.4/modules/access' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/garbage/tmp/vlc-0.8.4/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/garbage/tmp/vlc-0.8.4' make: *** [all] Error 2
What I doing wrong?
(VLC 0.8.2 - compiling fine.)

Teetrinker
Cone that earned his stripes
Cone that earned his stripes
Posts: 174
Joined: 16 Aug 2004 16:12

Postby Teetrinker » 28 Nov 2005 09:15

WxWidgets version 2.6.* installed?

solsTiCe

i got an error too

Postby solsTiCe » 28 Nov 2005 12:06

if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags builtin ffmpeg` -Wsign-compare -Wall -O2 -march=i686 -mcpu=i686 -pipe -MT libffmpeg_a-ffmpeg.o -MD -MP -MF ".deps/libffmpeg_a-ffmpeg.Tpo" -c -o libffmpeg_a-ffmpeg.o `test -f 'ffmpeg.c' || echo './'`ffmpeg.c; \
then mv -f ".deps/libffmpeg_a-ffmpeg.Tpo" ".deps/libffmpeg_a-ffmpeg.Po"; else rm -f ".deps/libffmpeg_a-ffmpeg.Tpo"; exit 1; fi
ffmpeg.c:49:44: libpostproc/postprocess.h : Aucun fichier ou répertoire de ce type
make[6]: *** [libffmpeg_a-ffmpeg.o] Erreur 1
make[6]: Leaving directory `/tmp/buildGGLL7E/vlc-0.8.4/modules/codec/ffmpeg'
make[5]: *** [all-modules] Erreur 1
make[5]: Leaving directory `/tmp/buildGGLL7E/vlc-0.8.4/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Erreur 1
make[4]: Leaving directory `/tmp/buildGGLL7E/vlc-0.8.4/modules/codec'
make[3]: *** [all] Erreur 2
make[3]: Leaving directory `/tmp/buildGGLL7E/vlc-0.8.4/modules/codec'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/tmp/buildGGLL7E/vlc-0.8.4/modules'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/tmp/buildGGLL7E/vlc-0.8.4'
make: *** [all] Erreur 2

with wxgtk-2.6.2, ffmpeg-20051111, gcc-3.3.6, on slackware-10.2

with ./configure --prefix=/usr --sysconfdir=/etc

Teetrinker
Cone that earned his stripes
Cone that earned his stripes
Posts: 174
Joined: 16 Aug 2004 16:12

Postby Teetrinker » 28 Nov 2005 12:36

Libffmpeg compiled with ./configure --enable-pp --enable-shared ?

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Postby xtophe » 28 Nov 2005 14:14

@LarryN
try to add --disable-libcdio in your configure
Xtophe

solsTiCe

Postby solsTiCe » 28 Nov 2005 14:41

--enable-shared yes but not with --enable-pp [ which needs --enable-gpl ]

it works now


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

Who is online

Users browsing this forum: No registered users and 17 guests