Hi,
mike lewis wrote:
unable to compile latest CVS version of xine-lib which in in your Dir.
make[3]: Entering directory `/build/xine-lib/src/vdr' source='input_vdr.c' object='input_vdr.lo' libtool=yes \ depfile='.deps/input_vdr.Plo' tmpdepfile='.deps/input_vdr.TPlo' \ depmode=gcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool-nofpic --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -D_LARGEFILE64_SOURCE -mcpu=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -c -o input_vdr.lo `test -f 'input_vdr.c' || echo './'`input_vdr.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -D_LARGEFILE64_SOURCE -mcpu=athlon -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -c input_vdr.c -MT input_vdr.lo -MD -MP -MF .deps/input_vdr.TPlo -o .libs/input_vdr.o input_vdr.c: In function `event_handler': input_vdr.c:1599: error: `XINE_EVENT_VDR_AUDIO' undeclared (first use in this function) input_vdr.c:1599: error: (Each undeclared identifier is reported only once input_vdr.c:1599: error: for each function it appears in.) make[3]: *** [input_vdr.lo] Error 1 make[3]: Leaving directory `/build/xine-lib/src/vdr' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/xine-lib/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/xine-lib' make: *** [all] Error 2
commenting out the offending line fixes it, but I'm a little confused as to why there is an error??
Hhm, seems like xine.h is outdated. XINE_EVENT_VDR_AUDIO was introduced recently (0.7.3).
I assume that xine-lib/include/xine.h contains the define, but for any reason, there seems to be a further xine.h available on your system which doesn't contain the define but is used while compiling.
Bye.