[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiling xfsdump: `SYS_getdents64' undeclared



Hi,

while trying to compile xfsdump 2.0.0 on my system (Kernel 2.4.18-xfs,
glibc 2.1.3) the compiler aborts with an error:

	=== dump ===
	gcc -O1 -g -DDEBUG -funsigned-char -Wall -DDUMP -DRMT -DBASED -DDOSOCKS -DINVCONVFIX -DSIZEEST -DPIPEINVFIX -DEXTATTR -DDMEXTATTR -I/usr/include/xfs -I/usr/include/attr '-DVERSION="2.0.0"' -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DXFS_BIG_FILES=1 -DXFS_BIG_FILESYSTEMS=1 -I/usr/include/xfs -I/usr/include/attr  -c -o getdents.o getdents.c
	getdents.c: In function `getdents_wrap':
	getdents.c:152: `SYS_getdents64' undeclared (first use in this function)
	getdents.c:152: (Each undeclared identifier is reported only once
	getdents.c:152: for each function it appears in.)
	make[1]: *** [getdents.o] Error 1
	make: *** [default] Error 2

Maybe someone can help me fixing this problem. Please let me know if
any information is missing.

Thanks in advance,

Stephan