> Arrgh! RH 7.1 is picking up /usr/include/linux/acl.h which is a real
> file. On RH 6 usr/include/linux is normally a symlink to
> /usr/src/linux so you get different files depending on which kernel you
> have installed. Linus has fought against this for ages because it
> generated wierd kernels, most distributions now ship a copy of the
> files in /usr/include/linux instead of symlinking to some random
> kernel.
Does it have something to do with my getdents.c problem?
[root@apollo xfsdump]# ./Makepkgs rpm
== clean, log is Logs/clean
== configure, log is Logs/configure
== default, log is Logs/default
"make default" failed, see log in Logs/default
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="1.1.6"'
-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
drive_simple.c -o drive_simple.o
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="1.1.6"'
-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
drive_minrmt.c -o drive_minrmt.o
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="1.1.6"'
-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 fs.c
-o fs.o
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="1.1.6"'
-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
getdents.c -o getdents.o
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
|