cannot make with glibc 2.1-0.990311

Michele Trovero trovero at email.unc.edu
Mon Mar 22 00:28:46 CET 1999


Dear arla-drinkers,

I recently upgraded glibc and kernel and need to recompile arla, but
cannot do it with the new glibc.

I am using:
Linux (RH 5.2) with kernel 2.2.3
glibc 2.1-0.990311
kth-krb4-0.9.9 (recompiled after upgrading glibc)
arla 0.22


Here's what make complains about:

[snip]
make[2]: Entering directory `/usr/src/arla-0.22/xfs/linux'
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
xfs_load.c
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
xfs_dev.c
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
xfs_common.c
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
xfs_vfsops.c
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
xfs_node.c
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
xfs_message.c
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
xfs_inodeops.c
xfs_inodeops.c: In function `xfs_write_file':
xfs_inodeops.c:988: warning: unused variable `page'
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
xfs_deb.c
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
xfs_cache.c
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
xfs_syscalls.c
ld -r -o xfs.o xfs_load.o xfs_dev.o xfs_common.o xfs_vfsops.o xfs_node.o
xfs_message.o xfs_inodeops.o xfs_deb.o xfs_cache.o xfs_sysca
lls.o
gcc -c  -DHAVE_CONFIG_H -DMODULE -D__KERNEL__  -DDEBUG -I. -I. -g 
-Wall  -g -I. -I./../include -I../../include -I./../../include -I/
usr/athena/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
getcwd.c
In file included from /usr/include/fcntl.h:37,
                 from getcwd.c:80:
/usr/include/sys/stat.h:92: warning: `S_IFMT' redefined
/usr/include/linux/stat.h:12: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:93: warning: `S_IFDIR' redefined
/usr/include/linux/stat.h:17: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:94: warning: `S_IFCHR' redefined
/usr/include/linux/stat.h:18: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:95: warning: `S_IFBLK' redefined
/usr/include/linux/stat.h:16: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:96: warning: `S_IFREG' redefined
/usr/include/linux/stat.h:15: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:98: warning: `S_IFIFO' redefined
/usr/include/linux/stat.h:19: warning: this is the location of the
previous definition
/usr/include/linux/stat.h:14: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:105: warning: `S_IFSOCK' redefined
/usr/include/linux/stat.h:13: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:114: warning: `S_ISDIR' redefined
/usr/include/linux/stat.h:26: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:115: warning: `S_ISCHR' redefined
/usr/include/linux/stat.h:27: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:116: warning: `S_ISBLK' redefined
/usr/include/linux/stat.h:28: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:117: warning: `S_ISREG' redefined
/usr/include/linux/stat.h:25: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:119: warning: `S_ISFIFO' redefined
/usr/include/linux/stat.h:29: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:124: warning: `S_ISLNK' redefined
/usr/include/linux/stat.h:24: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:129: warning: `S_ISSOCK' redefined
/usr/include/linux/stat.h:30: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:136: warning: `S_ISUID' redefined
/usr/include/linux/stat.h:20: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:137: warning: `S_ISGID' redefined
/usr/include/linux/stat.h:21: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:141: warning: `S_ISVTX' redefined
/usr/include/linux/stat.h:22: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:144: warning: `S_IRUSR' redefined
/usr/include/linux/stat.h:33: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:145: warning: `S_IWUSR' redefined
/usr/include/linux/stat.h:34: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:146: warning: `S_IXUSR' redefined
/usr/include/linux/stat.h:35: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:148: warning: `S_IRWXU' redefined
/usr/include/linux/stat.h:32: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:156: warning: `S_IRGRP' redefined
/usr/include/linux/stat.h:38: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:157: warning: `S_IWGRP' redefined
/usr/include/linux/stat.h:39: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:158: warning: `S_IXGRP' redefined
/usr/include/linux/stat.h:40: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:160: warning: `S_IRWXG' redefined
/usr/include/linux/stat.h:37: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:162: warning: `S_IROTH' redefined
/usr/include/linux/stat.h:43: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:163: warning: `S_IWOTH' redefined
/usr/include/linux/stat.h:44: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:164: warning: `S_IXOTH' redefined
/usr/include/linux/stat.h:45: warning: this is the location of the
previous definition
/usr/include/sys/stat.h:166: warning: `S_IRWXO' redefined
/usr/include/linux/stat.h:42: warning: this is the location of the
previous definition
In file included from /usr/include/sys/stat.h:89,
                 from /usr/include/fcntl.h:37,
                 from getcwd.c:80:
/usr/include/bits/stat.h:37: redefinition of `struct stat'
make[2]: *** [getcwd.o] Error 1
make[2]: Leaving directory `/usr/src/arla-0.22/xfs/linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/arla-0.22/xfs'
make: *** [all] Error 1



Any help will be appreciated.
TIA,

Michele





More information about the Arla-drinkers mailing list