Full automake build for VLC

Stephan Assmus stippi at yellowbites.com
Tue Sep 24 01:49:37 CEST 2002


Hi Sam,

>    Hi, I ported the current CVS so that it fully uses automake. This
> makes the bootstrap step a lot slower, but somewhat speeds up build
> times, and rebuilds are almost instantaneous. I think it is a 
> reasonable
> tradeoff.
> 
>    I'd be happy to get some feedback on how it behaves on the 
> different
> architectures supported by VLC. I successfully built VLC on my Debian
> system, and Win32 cross-compilation worked as well. It seems to work 
> on
> MacOS X, but I'd like confirmation. And I have no idea how it works 
> on
> other systems.


I ran the scripts and tried compiling, but it gets stuck on 
beos_specific.cpp again. It seems the right files are not included. 
Here is the relevant Terminal snippet:

gcc -DHAVE_CONFIG_H -I. -I. -I.    -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__ -O3 -ffast-math -funroll-loops -mcpu=pentiumpro -fomit-frame-
pointer     -Wall -Winline  -Wno-multichar -Wno-ctor-dtor-privacy -
Woverloaded-virtual -DSYS_BEOS -pipe -c -o src/misc/lib_libvlc_a-
extras.o `test -f 'src/misc/extras.c' || echo './'`src/misc/extras.c
source='src/misc/beos_specific.cpp' object='src/misc/lib_libvlc_a-
beos_specific.o' libtool=no \
depfile='src/misc/.deps/lib_libvlc_a-beos_specific.Po' tmpdepfile='src/
misc/.deps/lib_libvlc_a-beos_specific.TPo' \
depmode=gcc /bin/sh ./depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.    -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__ -O3 -ffast-math -funroll-loops -mcpu=pentiumpro -fomit-frame-
pointer     -c -o src/misc/lib_libvlc_a-beos_specific.o `test -f 'src/
misc/beos_specific.cpp' || echo './'`src/misc/beos_specific.cpp
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:67: parse error before `{'
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:73: `p_this' was not declared in this scope
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:73: `p_this' was not declared in this scope
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:74: ANSI C++ forbids declaration 
`__vlc_thread_create' with no type
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:74: `int __vlc_thread_create' redeclared as different 
kind of symbol
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/include/
vlc_threads_funcs.h:37: previous declaration of `int 
__vlc_thread_create(struct vlc_object_t *, char *, int, char *, void * 
(*)(void *), int, int)'
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:74: initializer list being treated as compound 
expression
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:80: parse error before `{'
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:93: `p_this' was not declared in this scope
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:93: `p_this' was not declared in this scope
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:93: ANSI C++ forbids declaration `__vlc_thread_join' 
with no type
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:93: `int __vlc_thread_join' redeclared as different 
kind of symbol
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/include/
vlc_threads_funcs.h:39: previous declaration of `void 
__vlc_thread_join(struct vlc_object_t *, char *, int)'
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:93: initializer list being treated as compound 
expression
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:94: parse error before `do'
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:94: parse error before `->'
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:96: ANSI C++ forbids declaration `free' with no type
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:96: `int free' redeclared as different kind of symbol
/boot/develop/headers/posix/malloc.h:69: previous declaration of `void 
free(void *)'
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:96: initialization to `int' from `char *' lacks a 
cast
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:97: parse error before `}'
/Arbeiten/stippi/vlc_zeug/vlc-0.5.0-cvs-am/src/misc/
beos_specific.cpp:122: parse error before `}'
make[2]: *** [src/misc/lib_libvlc_a-beos_specific.o] 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 


In the top of the file, it includes <vlc/vlc.h>. In that file, there is 
another file included, "vlc_common.h", but only if __VLC__ is defined. 
I would guess here is the problem. What should I do?

-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