Hello
I got following 2 error messages while compiling xine-lib 1 rc0a on a newly
installed SuSE Linux 9.0:
1)
xine_check.c: In function `xine_health_check_dma':
xine_check.c:276: error: `LVM_BLK_MAJOR' undeclared (first use in this
function)
xine_check.c:276: error: (Each undeclared identifier is reported only once
xine_check.c:276: error: for each function it appears in.)
make[3]: *** [xine_check.lo] Error 1
make[3]: Leaving directory `/tmp/xine-lib-1-rc0a/src/xine-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/xine-lib-1-rc0a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xine-lib-1-rc0a'
make: *** [all] Error 2
Then I edit the file xine_check.c, comments out the line 276, make and get the
second error message:
2)
source='ldt_keeper.c' object='ldt_keeper.lo' libtool=yes \
depfile='.deps/ldt_keeper.Plo' tmpdepfile='.deps/ldt_keeper.TPlo' \
depmode=gcc3 /bin/sh ../../../depcomp \
/bin/sh ../../../libtool --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/
usr/X11R6/include -fno-omit-frame-pointer -fno-inline-functions
-fno-rename-registers -Wmissing-prototypes -Wimplicit-function-declaration
-DWIN32_PATH=\"/usr/lib/win32\" -I./.. -D__WINE__ -Ddbg_printf=__vprintf
-DTRACE=__vprintf `echo -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wall
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -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
-mcpu=pentiumpro -I/opt/kde3/include/artsc | sed -e
's/-fomit-frame-pointer//g;s/-finline-functions//g;s/-frename-registers//g'`
-c -o ldt_keeper.lo `test -f 'ldt_keeper.c' || echo './'`ldt_keeper.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/usr/X11R6/include
-fno-omit-frame-pointer -fno-inline-functions -fno-rename-registers
-Wmissing-prototypes -Wimplicit-function-declaration -DWIN32_PATH=\"/usr/lib/
win32\" -I./.. -D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wcast-align -Wall -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -falign-functions=4
-falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2
-fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math
-funroll-loops -mcpu=pentiumpro -I/opt/kde3/include/artsc -c ldt_keeper.c -MT
ldt_keeper.lo -MD -MP -MF .deps/ldt_keeper.TPlo -fPIC -DPIC -o ldt_keeper.lo
ldt_keeper.c: In function `Setup_LDT_Keeper':
ldt_keeper.c:182: error: storage size of `array' isn't known
ldt_keeper.c:215: error: invalid application of `sizeof' to an incomplete type
ldt_keeper.c:182: warning: unused variable `array'
cc1: Permission denied: opening dependency file .deps/ldt_keeper.TPlo
make[4]: *** [ldt_keeper.lo] Error 1
make[4]: Leaving directory `/tmp/xine-lib-1-rc0a/src/libw32dll/wine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/xine-lib-1-rc0a/src/libw32dll'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/xine-lib-1-rc0a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xine-lib-1-rc0a'
make: *** [all] Error 2
I don't know what to do, but I expect there's(are) (one) package(s) missing.
Could anybody help me?
Thanx
Al