[vlc-devel] svn 14065, gcc 4.1: build fails at cdda.c

sean seandarcy2 at gmail.com
Sun Jan 29 20:13:17 CET 2006


svn 14065, gcc 4.1, amd64:

........................
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. 
-I/usr/X11R6/include -DSYS_LINUX -I../../include 
`top_builddir="../.." ../../vlc-config --cflags plugin cdda` 
-Wsign-compare -Wall -O2 -fPIC -funswitch-loops 
-fvisibility-inlines-hidden  -ftree-loop-linear  -march=k8 
-ftree-vectorize   -pipe -mfpmath=sse -pipe -MT 
libcdda_plugin_a-cdda.o -MD -MP -MF 
".deps/libcdda_plugin_a-cdda.Tpo" -c -o 
libcdda_plugin_a-cdda.o `test -f 'cdda.c' || echo './'`cdda.c; \
then mv -f ".deps/libcdda_plugin_a-cdda.Tpo" 
".deps/libcdda_plugin_a-cdda.Po"; else rm -f 
".deps/libcdda_plugin_a-cdda.Tpo"; exit 1; fi
cc1: warning: command line option 
"-fvisibility-inlines-hidden" is valid for C++/ObjC++ but 
not for C
cdda.c: In function 'GetTracks':
cdda.c:565: error: dereferencing pointer to incomplete type
cdda.c:567: error: dereferencing pointer to incomplete type
cdda.c:623: error: dereferencing pointer to incomplete type
cdda.c:627: error: dereferencing pointer to incomplete type
cdda.c:630: error: dereferencing pointer to incomplete type
cdda.c:632: warning: assignment discards qualifiers from 
pointer target type
cdda.c:595: warning: unused variable 'i_length'
cdda.c:595: warning: unused variable 'i_size'
make[4]: *** [libcdda_plugin_a-cdda.o] Error 1
make[4]: Leaving directory 
`/usr/src/redhat/BUILD/vlc-trunk/modules/access'
....................

Also, I tried --disable-cdda.  vlc still tries to build cdda.

sean

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list