[vlc-devel] Re: Full automake build for VLC

Stephan Assmus stippi at yellowbites.com
Fri Sep 27 18:48:02 CEST 2002


>    I should have fixed the OS X and BeOS builds. If everything is 
> fine
> with this version, I plan to commit the changes to the CVS in two 
> days,
> so please double check under OS X and BeOS.


Here is the crash that happens compiling libmp4.c on BeOS.

gcc -DHAVE_CONFIG_H -I. -I. -I.   -DSYS_BEOS -O3 -ffast-math -funroll-
loops -mcpu=pentiumpro -fomit-frame-pointer      -I./include -
D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT 
-D_THREAD_SAFE -D_GNU_SOURCE -DLOCALEDIR=\"/usr/local/share/locale\" -
DDATA_PATH=\"/usr/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\
" -DHAVE_RELEASE    -D__VLC__ -D__BUILTIN__  -DMODULE_NAME=mp4 -
DMODULE_NAME_IS_mp4 -Wall -Winline  -Wno-multichar -Wno-ctor-dtor-
privacy -Woverloaded-virtual -pipe -c -o modules/demux/mp4/
modules_demux_mp4_libmp4_a-libmp4.o `test -f 'modules/demux/mp4/
libmp4.c' || echo './'`modules/demux/mp4/libmp4.c
cpp: output pipe has been closed
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline 
inserted
{standard input}:777: Error: suffix or operands invalid for `mov'
/work/gg/src/i686-beos-branch/gg/be/gnupro/gcc/gcc.c:2721: Internal 
compiler error in function execute
Please submit a full bug report to Be at http://bebugs.be.com.
make[2]: *** [modules/demux/mp4/modules_demux_mp4_libmp4_a-libmp4.o] 
Error 33
make[2]: Leaving directory `/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am'
make: *** [all] Error 2
$

This works (removed "-funroll-loops"):

gcc -DHAVE_CONFIG_H -I. -I. -I.   -DSYS_BEOS -O3 -ffast-math -mcpu=
pentiumpro -fomit-frame-pointer      -I./include -D_FILE_OFFSET_BITS=64 
-D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -
D_GNU_SOURCE -DLOCALEDIR=\"/usr/local/share/locale\" -DDATA_PATH=\"/usr
/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -DHAVE_RELEASE    
-D__VLC__ -D__BUILTIN__  -DMODULE_NAME=mp4 -DMODULE_NAME_IS_mp4 -Wall -
Winline  -Wno-multichar -Wno-ctor-dtor-privacy -Woverloaded-virtual -
pipe -c -o modules/demux/mp4/modules_demux_mp4_libmp4_a-libmp4.o `test 
-f 'modules/demux/mp4/libmp4.c' || echo './'`modules/demux/mp4/libmp4.c

Then I continued the make process and... got almost there!!

lib/libvlc.a(lib_libvlc_a-modules.o): In function `__module_InitBank':
lib_libvlc_a-modules.o(.text+0xa3): undefined reference to 
`__aout_DecNew'
lib_libvlc_a-modules.o(.text+0xaf): undefined reference to 
`aout_DecDelete'
lib_libvlc_a-modules.o(.text+0xbb): undefined reference to 
`aout_DecNewBuffer'
lib_libvlc_a-modules.o(.text+0xc7): undefined reference to 
`aout_DecDeleteBuffer'
lib_libvlc_a-modules.o(.text+0xd3): undefined reference to 
`aout_DecPlay'
modules/codec/mad/libmad.a(modules_codec_mad_libmad_a-libmad.o): In 
function `libmad_output':
modules_codec_mad_libmad_a-libmad.o(.text+0x37f): undefined reference 
to `aout_BufferNew'
modules_codec_mad_libmad_a-libmad.o(.text+0x526): undefined reference 
to `aout_BufferPlay'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am'
make: *** [all] Error 2

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