From: Morten N. <mo...@ni...> - 2003-06-10 21:37:24
|
It seems like I'm not supposed to be able to cleanly build xine... this time, it's with beta12, in the input source: 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 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I../../src/input/libdvdnav/ -std=gnu89 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -mwide-multiply -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -mcpu=pentium -I/usr/local/kde/include/artsc -c input_pvr.c -Wp,-MD,.deps/input_pvr.TPlo -DPIC -o input_pvr.lo In file included from input_pvr.c:108: videodev2.h:320: field `timestamp' has incomplete type make[1]: *** [input_pvr.lo] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/xine-lib-1-beta12/src/input' make: *** [all-recursive] Error 1 it's the timeval again! only this time, adding an #include "xine.h" leads to these errors replacing the above one: 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 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I../../src/input/libdvdnav/ -std=gnu89 -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -mwide-multiply -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -mcpu=pentium -I/usr/local/kde/include/artsc -c input_pvr.c -Wp,-MD,.deps/input_pvr.TPlo -DPIC -o input_pvr.lo input_pvr.c: In function `pvr_report_realtime': input_pvr.c:563: `xine_pvr_realtime_t' undeclared (first use in this function) input_pvr.c:563: (Each undeclared identifier is reported only once input_pvr.c:563: for each function it appears in.) input_pvr.c:563: parse error before `data' input_pvr.c:567: `data' undeclared (first use in this function) input_pvr.c: In function `pvr_finish_recording': input_pvr.c:925: `xine_pvr_save_data_t' undeclared (first use in this function) input_pvr.c:925: parse error before `data' input_pvr.c:938: `data' undeclared (first use in this function) input_pvr.c: In function `pvr_event_handler': input_pvr.c:972: `xine_set_v4l2_data_t' undeclared (first use in this function) input_pvr.c:972: `v4l2_data' undeclared (first use in this function) input_pvr.c:973: `xine_pvr_save_data_t' undeclared (first use in this function) input_pvr.c:973: `save_data' undeclared (first use in this function) input_pvr.c:974: `xine_pvr_pause_t' undeclared (first use in this function) input_pvr.c:974: `pause_data' undeclared (first use in this function) input_pvr.c:1048: warning: unreachable code at beginning of switch statement make[1]: *** [input_pvr.lo] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/xine-lib-1-beta12/src/input' make: *** [all-recursive] Error 1 |