[vlc-devel] Re: VLC 0.5.0-test2 ?

Stephan Assmus stippi at yellowbites.com
Thu Dec 26 13:20:47 CET 2002


Hello,

I gave the 0.5.0 tree another shot today. This is on a pretty plain 
BeOS R5 system (no BONE, standard gcc). I got myself the newest 
versions of ffmpeg and dvdcss and checked out vlc into a clean folder. 
I ran bootstrap, which worked ok and didn't complain too much about my 
old versions of autoconf and automake. Then I ran configure like this:

/configure --with-dvdcss-tree=../libdvdcss-1.2.4 --enable-ffmpeg --
with-ffmpeg-tree=../ffmpeg --enable-mad --with-mad-tree=../mad-0.14.2b 
--disable-sdl --disable-plugins --enable-release 

At this point I was confident I could run make. I got stuck at two 
points with the default R5 gcc crashing, but that was a known problem 
to me and I compiled the two files without --funroll-loops. Now I am 
stuck at the linking stage like this:

gcc  -Winline -Wsign-compare -Wall  -Wno-multichar -Wno-ctor-dtor-
privacy -Woverloaded-virtual -pipe   -o vlc  src/vlc-vlc.o lib/libvlc.a 
-lbe    modules/access/libaccess_file.a modules/access/libaccess_udp.a 
modules/access/libaccess_http.a modules/access/libaccess_rtp.a modules/
access/libaccess_ftp.a modules/access/dvd/libdvd.a   modules/access/mms
/libaccess_mms.a    modules/access_output/libaccess_output_dummy.a 
modules/access_output/libaccess_output_file.a modules/access_output/
libaccess_output_udp.a modules/audio_filter/channel_mixer/
libtrivial_channel_mixer.a modules/audio_filter/channel_mixer/
libheadphone_channel_mixer.a modules/audio_filter/converter/
libfloat32tos16.a modules/audio_filter/converter/libfloat32tos8.a 
modules/audio_filter/converter/libfloat32tou16.a modules/audio_filter/
converter/libfloat32tou8.a modules/audio_filter/converter/
liba52tospdif.a  modules/audio_filter/converter/libfixed32tos16.a 
modules/audio_filter/converter/libfixed32tofloat32.a modules/
audio_filter/converter/libs16tofloat32.a modules/audio_filter/converter
/libs16tofloat32swab.a modules/audio_filter/converter/libs8tofloat32.a 
modules/audio_filter/converter/libu8tofixed32.a modules/audio_filter/
converter/libu8tofloat32.a modules/audio_filter/resampler/
libtrivial_resampler.a modules/audio_filter/resampler/
libugly_resampler.a modules/audio_filter/resampler/
liblinear_resampler.a modules/audio_mixer/libtrivial_mixer.a modules/
audio_mixer/libfloat32_mixer.a modules/audio_mixer/libspdif_mixer.a     
modules/audio_output/libaout_file.a    modules/codec/liba52.a modules/
codec/liblpcm.a modules/codec/libaraw.a       modules/codec/libadpcm.a    
modules/codec/a52old/downmix/libdownmix3dn.a   modules/codec/a52old/
imdct/libimdct3dn.a modules/codec/cinepak/libcinepak.a  modules/codec/
ffmpeg/libffmpeg.a modules/codec/ffmpeg/postprocessing/
libpostprocessing_c.a modules/codec/ffmpeg/postprocessing/
libpostprocessing_mmx.a  modules/codec/mad/libmad.a modules/codec/
mpeg_audio/libmpeg_audio.a modules/codec/mpeg_video/libmpeg_video.a 
modules/codec/mpeg_video/idct/libidct.a modules/codec/mpeg_video/idct/
libidctclassic.a modules/codec/mpeg_video/idct/libidctmmx.a   modules/
codec/mpeg_video/motion/libmotion.a modules/codec/mpeg_video/motion/
libmotionmmx.a    modules/codec/spudec/libspudec.a  modules/control/rc/
librc.a   modules/demux/libm3u.a modules/demux/libdemuxdump.a modules/
demux/librawdv.a modules/demux/aac/libaac.a modules/demux/avi/libavi.a 
modules/demux/asf/libasf.a modules/demux/mp4/libmp4.a modules/demux/
mpeg/libmpeg_system.a modules/demux/mpeg/libes.a modules/demux/mpeg/
libps.a modules/demux/mpeg/libts.a  modules/demux/mpeg/libaudio.a 
modules/demux/util/libid3.a  modules/demux/util/libdemuxsub.a modules/
demux/wav/libwav.a modules/gui/beos/libbeos.a             modules/misc/
libsap.a modules/misc/dummy/libdummy.a modules/misc/logger/liblogger.a 
modules/misc/memcpy/libmemcpy.a modules/misc/memcpy/libmemcpymmx.a  
modules/misc/memcpy/libmemcpy3dn.a  modules/misc/network/libipv4.a      
modules/mux/libmux_dummy.a modules/mux/mpeg/libmux_ps.a modules/mux/
mpeg/libmux_ts.a modules/packetizer/libpacketizer_copy.a modules/
packetizer/libpacketizer_a52.a modules/packetizer/
libpacketizer_mpegaudio.a modules/packetizer/libpacketizer_mpegvideo.a 
modules/packetizer/libpacketizer_mpeg4video.a modules/video_chroma/
libi420_rgb.a modules/video_chroma/libi420_rgb_mmx.a modules/
video_chroma/libi420_yuy2.a mo


!!! That command line stops right here! And then it continues with the 
error:


lib/libvlc.a(lib_libvlc_a-modules.o): In function 
`__module_LoadBuiltins':
lib_libvlc_a-modules.o(.text+0xda8): undefined reference to 
`vlc_entry__imdct3dn'
modules/gui/beos/libbeos.a(modules_gui_beos_libbeos_a-AudioOutput.o): 
In function `OpenAudio__beos__FP12vlc_object_t':
modules_gui_beos_libbeos_a-AudioOutput.o(.text+0x57): undefined 
reference to `aout_VolumeSoftInit(aout_instance_t *)'
modules/gui/beos/libbeos.a(modules_gui_beos_libbeos_a-AudioOutput.o): 
In function `Play(void *, void *, unsigned long, media_raw_audio_format 
const &)':
modules_gui_beos_libbeos_a-AudioOutput.o(.text+0x232): undefined 
reference to `aout_FifoPop(aout_instance_t *, aout_fifo_t *)'
modules/gui/beos/libbeos.a(modules_gui_beos_libbeos_a-VlcWrapper.o): In 
function `VlcWrapper::VolumeRestore(void)':
modules_gui_beos_libbeos_a-VlcWrapper.o(.text+0x1244): undefined 
reference to `aout_VolumeSet(aout_instance_t *, unsigned short)'
modules/gui/beos/libbeos.a(modules_gui_beos_libbeos_a-VlcWrapper.o): In 
function `VlcWrapper::VolumeMute(void)':
modules_gui_beos_libbeos_a-VlcWrapper.o(.text+0x1283): undefined 
reference to `aout_VolumeGet(aout_instance_t *, unsigned short *)'
modules_gui_beos_libbeos_a-VlcWrapper.o(.text+0x128e): undefined 
reference to `aout_VolumeMute(aout_instance_t *, unsigned short *)'
modules/gui/beos/libbeos.a(modules_gui_beos_libbeos_a-VlcWrapper.o): In 
function `VlcWrapper::SetVolume(int)':
modules_gui_beos_libbeos_a-VlcWrapper.o(.text+0x12db): undefined 
reference to `aout_VolumeSet(aout_instance_t *, unsigned short)'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/Arbeiten/stippi/vlc/vlc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Arbeiten/stippi/vlc/vlc'
make: *** [all] Error 2
$

Either my Terminal chokes on long command lines, or I forgot to pass  
something to the configure script, maybe aout3 was not even build at 
all? But "libaout_file.a" is present.

Any help appreciated. Obvioulsy, it must be possible to build vlc on 
BeOS. If I get it to build, I can help get the BeOS version up to speed 
for a 0.5.0 test 2 release.

Though the bootstrap process recommended building without plugins, I 
try that now. Maybe it works anyways and even links.

Best regards,
-Stephan

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list