VLC 0.7.2 Compilation probelms in 64bit Environment: Suse9.1

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
aenertia
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Nov 2003 12:44
Location: New Zealand
Contact:

VLC 0.7.2 Compilation probelms in 64bit Environment: Suse9.1

Postby aenertia » 26 May 2004 04:14

Hi There,

I spent nearly 4 hours trying to get videolan compiled on my suse 9.1 machine. I can get it part way through compilation (after softing out and compiling all the dependancys). And managed to sort out some of the compilation options by slowly working my way through various configure script switches.

Here is my current command line:
/* The ./configure command line */
#define CONFIGURE_LINE "./configure --enable-slp --enable-visual --enable-xosd --enable-ncurses --enable-gtk --enable-waveout --enable-alsa --enable-arts --enable-esd --enable-aa --enable-freetype --enable-sdl --enable-xvideo --enable-theora --enable-flac --enable-dts --enable-a52 --enable-faad --enable-ffmpeg --enable-mad --enable-mod --enable-mkv --enable-ogg --enable-dvdnav --enable-livedotcom --enable-sout --enable-pth --with-ffmpeg-tree=/home/aenertia/temp/vlc/ffmpeg-20040520 --disable-skins2 --disable-x11
Please note the disable-x11 switch... This is somthing i'm concerned about but if I don't have it in I get make d errors stating -lX11ext not found...

Both X libs and devel are installed.:
XFree86 Version 4.3.99.902 (4.4.0 RC 2)
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: SuSE Linux [ELF] SuSE
Current Operating System: Linux rincewind 2.6.4-54.5-default #1 Fri May 7 16:47:49 UTC 2004 x86_64
anyway I can get past that... Now i seem to get getting issues with the ffmpeg ogg library... and can't get past it... I reall don't want to turn of ogg support or ffmpeg support, here what it looks like (appologies for the long transcript, BTW this is an strace of make:
g++ -Wsign-compare -Wsign-compare -Wall -finline-limit-30000 -pipe -o vlc src/vlc-vlc.o lib/libvlc.a ./modules/demux/libmkv.a ./modules/codec/ffmpeg/libffmpeg.a ./modules/stream_out/libstream_out_transcode.a ./modules/codec/libtheora.a -L/usr/local/lib -lrt -lpthread -ldl -lm -lmatroska -lebml -L/home/aenertia/temp/vlc/ffmpeg-20040520/libavformat -lavformat -lz -L/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec -lavcodec -lm -L/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec -lm -ltheora -logg
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(faad.o)(.text+0x46): In function `faac_decode_init':
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/faad.c:210: undefined reference to `faacDecOpen'/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(faad.o)(.text+0x4e):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/faad.c:211: undefined reference to `faacDecGetCurrentConfiguration'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(faad.o)(.text+0x56):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/faad.c:226: undefined reference to `faacDecSetConfiguration'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(faad.o)(.text+0x5e):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/faad.c:228: undefined reference to `faacDecInit'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(faad.o)(.text+0x66):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/faad.c:230: undefined reference to `faacDecInit2'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(faad.o)(.text+0x6e):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/faad.c:233: undefined reference to `faacDecDecode'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(faad.o)(.text+0x76):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/faad.c:235: undefined reference to `faacDecGetErrorMessage'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(faad.o)(.text+0x7b):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/faad.c:250: undefined reference to `faacDecOpen'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x28): In function `oggvorbis_encode_close':
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:164: undefined reference to `vorbis_analysis_wrote'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x46):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:179: undefined reference to `vorbis_block_clear'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x4e):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:180: undefined reference to `vorbis_dsp_clear'/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x56):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:181: undefined reference to `vorbis_info_clear'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0xbb): In function `oggvorbis_encode_frame':
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:109: undefined reference to `vorbis_analysis_buffer'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x14a):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:121: undefined reference to `vorbis_analysis_wrote'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x157):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:123: undefined reference to `vorbis_analysis_blockout'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x16c):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:124: undefined reference to `vorbis_analysis'/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x174):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:125: undefined reference to `vorbis_bitrate_addblock'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x17f):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:127: undefined reference to `vorbis_bitrate_flushpacket'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x32c): In function `oggvorbis_decode_close':
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:301: undefined reference to `vorbis_info_clear'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x338):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:302: undefined reference to `vorbis_comment_clear'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x359): In function `oggvorbis_encode_init':
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:54: undefined reference to `vorbis_info_init'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x377):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:44: undefined reference to `vorbis_encode_init'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x38f):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:59: undefined reference to `vorbis_analysis_init'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x3a6):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:60: undefined reference to `vorbis_block_init'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x3ae):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:62: undefined reference to `vorbis_comment_init'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x3c0):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:63: undefined reference to `vorbis_comment_add_tag'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x3d8):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:65: undefined reference to `vorbis_analysis_headerout'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x487):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:88: undefined reference to `vorbis_comment_clear'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x532): In function `oggvorbis_decode_frame':
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:280: undefined reference to `vorbis_synthesis'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x54e):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:286: undefined reference to `vorbis_synthesis_pcmout'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x5f3):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:290: undefined reference to `vorbis_synthesis_read'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x600):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:290: undefined reference to `vorbis_synthesis_pcmout'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x635):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:281: undefined reference to `vorbis_synthesis_blockin'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x685): In function `oggvorbis_decode_init':
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:206: undefined reference to `vorbis_info_init'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x68d):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:207: undefined reference to `vorbis_comment_init'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x6d7):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:216: undefined reference to `vorbis_synthesis_headerin'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x701):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:224: undefined reference to `vorbis_synthesis_init'
/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/libavcodec.a(oggvorbis.o)(.text+0x710):/home/aenertia/temp/vlc/ffmpeg-20040520/libavcodec/oggvorbis.c:225: undefined reference to `vorbis_block_init'
collect2: ld returned 1 exit status

Any help is mighty appreciated.

Kind regards

urbansond
Blank Cone
Blank Cone
Posts: 22
Joined: 26 May 2004 04:10

Try search, I just saw this one

Postby urbansond » 26 May 2004 04:44

  • I'm new to VLC, as of today, myself. But...

    During some of my searches, I ran accross another topic nearly identical to yours.

    The advise given was to disable the ogg function in ffmpeg and depending on revision, that may be an option in ./configure, for ffmpeg.

    Unless you need the ogg method, of course, this may help.

    Try the search routine on the board, if you haven't. It works well.

    Best of luck :D

    Mike

aenertia
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Nov 2003 12:44
Location: New Zealand
Contact:

Postby aenertia » 26 May 2004 04:48

Yup i've disabled all the ffmpeg codec plugins and i'm getting further will post again when(finger crossed ifnot) I have more compilation woes...

urbansond
Blank Cone
Blank Cone
Posts: 22
Joined: 26 May 2004 04:10

Easy does it ...

Postby urbansond » 26 May 2004 05:01

  • Be sure not to disable what you need to use, eh?

    Depending upon what format you need to produce, you could inadvertantly disable the one you need, if done globally.

    The individual options you can omit in ffmpeg, may be well improved at the CVS level. I still use the current stock release, but tried the CVS and will be moving once I get my own issue handled.

    Mike

aenertia
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Nov 2003 12:44
Location: New Zealand
Contact:

Compilation Sucess!!!

Postby aenertia » 26 May 2004 07:12

I'm using the cvs daily release of ffmpeg (look at the output) it's only 3 days old...


Anyway New problems...

I got vlc working (YAY) am am happy to say that it plays all my formats well using sdl layer output =-).

Problems

1NO SOUND IN DVD's.

Looks like a52dec isn't able to demux the audio streams here is the messages out put...

from console:
[00000202] a52 decoder: A/52 channels:2 samplerate:48000 bitrate:224000
[00000197] main audio output error: couldn't find a filter for the conversion
[00000197] main audio output error: couldn't set an input pipeline
from message box
main debug: thread 1088420208 (video output) created at priority 0 (src/video_output/video_output.c:472)
main warning: backward_pts != current_pts (-157028)
a52: A/52 channels:2 samplerate:48000 bitrate:224000
main debug: looking for audio output module
main debug: probing 6 candidates
alsa debug: opening ALSA device `default'
main debug: thread 1084225904 (aout) created at priority 0 (alsa.c:583)
main debug: using audio output module "alsa"
main debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: filter(s) 'fi32'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module
main debug: probing 21 candidates
main debug: using audio filter module "fixed32tos16"
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module
main debug: probing 3 candidates
main debug: using audio mixer module "trivial_mixer"
main debug: input 'a52 ' 48000 Hz Stereo frame=1536 samples/896 bytes
main debug: filter(s) 'a52 '->'fi32' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module
main debug: probing 21 candidates
main error: couldn't find a filter for the conversion
main error: couldn't set an input pipeline
main debug: stream periodicity changed from B[1] to B[2]
main debug: stream periodicity changed from P[5] to P[4]
main debug: decoded 104/104 pictures
main debug: decoded 104/104 pictures
main debug: decoded 104/104 pictures
main debug: decoded 104/104 pictures
main debug: decoded 104/104 pictures
main debug: decoded 104/104 pictures
main debug: decoded 104/104 pictures
main debug: decoded 104/104 pictures
I have tried recompiling a52dec (0.7.4) and recompiling vlc... no luck.

I had to disable/not specify ffmpegs a52 option to get videolan to compile. But Looking at how vlc builds it's input plugins I think it would have go a52dec from the installed build rather than ffmpeg... Let me know if i'm wrong.

After browsing the Board looking for similar problems, I noticed that alot of people with g5's have related problems... Could this possibly be a bug on 64bit machines in a52dec?


Problem 2

Most media mp3/avi/ogm/oggs actually everything. Has not sound as the default audio track is set to none in vlc. (using gtk interface). Which means that I must manually select track1 (even if there is only 1 track). Is there a configuration option that needs to be set to fix this?

Problem 3

This has already been mentioned again, but because i'm running exotic hardware (for the timebeing) thought it's worth mentioning. VLC will crash after opening a single input. And at the end of stream. If I stop and try opening a new source it will crash.

Any help and suggestions welcomed.

urbansond
Blank Cone
Blank Cone
Posts: 22
Joined: 26 May 2004 04:10

OK, you passed me up

Postby urbansond » 26 May 2004 07:38

Yeah, missed that three day rev level. Sorry. I'm still trying to get vlc to find libavformat.so. I'm likely beneath your experience with this animal.

I posted this one... viewtopic.php?t=2756

I set all the switches right, it compiled without whining, but a simple "vls" command, says no such file and I confirmed it's in ffmpegs directory.

Bump an idea, if you have one.

Mike

aenertia
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Nov 2003 12:44
Location: New Zealand
Contact:

Postby aenertia » 26 May 2004 07:52

Maybe this will fix your problem...

I don't know... my lib setup is weird because I have two lib dirs one for 32bit and one for 64bit natives libs..... so i'm not going to be able to help on the standard location for this.. I can tell you it's part of ffmpeg

YOu need to specify on the vlc configure line the path to the ffmpeg source directory (not the installed libs) ...

ie

--with-ffmpeg-tree=/home/aenertia/temp/vlc/ffmpeg-20040520

Have fun

urbansond
Blank Cone
Blank Cone
Posts: 22
Joined: 26 May 2004 04:10

Yup

Postby urbansond » 26 May 2004 08:05

Thanx. Did exactly that.

The compiler barfs if you don't point to the ffmpeg source explicitely.

I'm recompiling now, and I see some odd errors flying by, so I'm gonna have to do some debug hunting it seems. Likely should go to the CVS of ffmpeg, cause I'm on the last stable release, wich is nasty.

Nice task for breakfast, tomorrow.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: Compilation Sucess!!!

Postby The DJ » 26 May 2004 13:02

1NO SOUND IN DVD's.

Looks like a52dec isn't able to demux the audio streams here is the messages out put...

from console:
[00000202] a52 decoder: A/52 channels:2 samplerate:48000 bitrate:224000
[00000197] main audio output error: couldn't find a filter for the conversion
[00000197] main audio output error: couldn't set an input pipeline
I have tried recompiling a52dec (0.7.4) and recompiling vlc... no luck.

I had to disable/not specify ffmpegs a52 option to get videolan to compile. But Looking at how vlc builds it's input plugins I think it would have go a52dec from the installed build rather than ffmpeg... Let me know if i'm wrong.

After browsing the Board looking for similar problems, I noticed that alot of people with g5's have related problems... Could this possibly be a bug on 64bit machines in a52dec?
a52 doesn't completly work apparently. VLC doens't use ffmpeg for this. And the G5 problem is something with the Audio Output on OSX, nothing with the decoder.

To make sure a52 build correctly check with this:

Code: Select all

[thedj:~/Development/vlc] pjotr% VLC.app/Contents/MacOS/VLC --list | grep a52 VLC media player 0.7.3-svn Bond [00000001] main vlc error: option rt-offset does not exist a52 A/52 parser a52 A/52 audio packetizer a52sys A52 demuxer a52tofloat32 ATSC A/52 (AC-3) audio decoder a52tospdif audio filter voor A/52->S/PDIF inkapseling
[qoute]

Problem 2

Most media mp3/avi/ogm/oggs actually everything. Has not sound as the default audio track is set to none in vlc. (using gtk interface). Which means that I must manually select track1 (even if there is only 1 track). Is there a configuration option that needs to be set to fix this?

[/quote]

Don't use the GTK intf. Install wxGTK and use --enable-wxwindows for the current interface. Most other interfaces are broken (unmaintained).

Problem 3

This has already been mentioned again, but because i'm running exotic hardware (for the timebeing) thought it's worth mentioning. VLC will crash after opening a single input. And at the end of stream. If I stop and try opening a new source it will crash.

Any help and suggestions welcomed.
If you compile with --enable-debug and then create a gdb trace of the crash, we might be able to fix it.
Don't use PMs for support questions.

aenertia
Blank Cone
Blank Cone
Posts: 12
Joined: 24 Nov 2003 12:44
Location: New Zealand
Contact:

Postby aenertia » 26 May 2004 13:14

Yup vlc definately has the a52 components
aenertia@rincewind:~/temp/mplayer/ffmpeg> vlc --list |grep a52
VLC media player 0.7.2 Bond
a52 A/52 parser
a52 A/52 audio packetiser
a52sys Raw A/52 demuxer
a52tospdif audio filter for A/52->S/PDIF encapsulation
a52tofloat32 ATSC A/52 (AC-3) audio decoder
i'm just trying mplayer now to see if I have the same problem... perhaps its hardware related i'm using alsa 1.0.3, and A via onboard (VT8233/A/8235 AC97 Audio Controller (rev 60)) sound chip.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 5 guests