On Wed, Mar 17, 2010 at 1:26 AM, Will L Givens <wlgivens@xxxxxxxxx> wrote: > This error was obtained using GCC-3.4.3 and Binutils-2.20.1... > > mkdir -p ../glibc-2.11.1-build > cd ../glibc-2.11.1-build > > > CC=gcc-3.4.3 CXX=g++-3.4.3 CPP=/usr/bin/cpp-3.4.3 \ > CFLAGS="-O2 -mtune=ev67 -mieee -finline-limit=2000 \ > -fno-strict-aliasing -D__ASSUME_F_GETOWN_EX" \ > ../glibc-2.11.1/configure \ > --prefix=/usr \ > --build=alphaev67-alpha-linux \ > --bindir=/usr/bin \ > --sbindir=/sbin \ > --sysconfdir=/etc \ > --datadir=/usr/share \ > --includedir=/usr/share/include \ > --libdir=/usr/lib \ > --libexecdir=/usr/libexec \ > --localstatedir=/var \ > --sharedstatedir=/var/com \ > --mandir=/usr/share/man \ > --infodir=/usr/share/info \ > --enable-shared \ > --enable-kernel=2.6 # --with-headers=/usr/src/linux\ > --enable-add-ons=ports,nptl \ > --disable-sanity-checks \ > --disable-profile \ > --without-selinux \ > libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes > > make -j2 > > ) | gcc-3.4.3 -c -I../include -I/usr/src/redhat/BUILD/glibc-2.11.1-build/io > -I/usr/src/redhat/BUILD/glibc-2.11.1-build -I../ports/sysdeps/alpha/elf > -I../ports/sysdeps/unix/sysv/linux/alpha/alphaev67/fpu > -I../ports/sysdeps/alpha/alphaev67/fpu -I../ports/sysdeps/alpha/alphaev6/fpu > -I../ports/sysdeps/unix/sysv/linux/alpha/alphaev67 > -I../ports/sysdeps/unix/sysv/linux/alpha/fpu -I../ports/sysdeps/alpha/fpu > -I../ports/sysdeps/unix/sysv/linux/alpha/nptl > -I../ports/sysdeps/unix/sysv/linux/alpha > -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/ieee754/ldbl-64-128 > -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux > -I../nptl/sysdeps/pthread -I../sysdeps/pthread > -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux > -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman > -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv > -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv > -I../ports/sysdeps/unix/alpha -I../nptl/sysdeps/unix -I../ports/sysdeps/unix > -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/alpha/alphaev67 > -I../ports/sysdeps/alpha/alphaev6 -I../ports/sysdeps/alpha/alphaev5 > -I../ports/sysdeps/alpha/nptl -I../ports/sysdeps/alpha > -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-128 > -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 > -I../ports/sysdeps/alpha/soft-fp -I../sysdeps/ieee754 > -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. > -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h > -DASSEMBLER -Wa,--noexecstack -o > /usr/src/redhat/BUILD/glibc-2.11.1-build/io/flock.o -x assembler-with-cpp - > -MD -MP -MF /usr/src/redhat/BUILD/glibc-2.11.1-build/io/flock.o.dt -MT > /usr/src/redhat/BUILD/glibc-2.11.1-build/io/flock.o > ../sysdeps/unix/sysv/linux/fcntl.c: In function `do_fcntl': > ../sysdeps/unix/sysv/linux/fcntl.c:43: error: storage size of 'fex' isn't > known > ../sysdeps/unix/sysv/linux/fcntl.c:44: error: `F_GETOWN_EX' undeclared > (first use in this function) > ../sysdeps/unix/sysv/linux/fcntl.c:44: error: (Each undeclared identifier is > reported only once > ../sysdeps/unix/sysv/linux/fcntl.c:44: error: for each function it appears > in.) > ../sysdeps/unix/sysv/linux/fcntl.c:46: error: `F_OWNER_GID' undeclared > (first use in this function) > ../sysdeps/unix/sysv/linux/fcntl.c:43: warning: unused variable `fex' > make[2]: *** [/usr/src/redhat/BUILD/glibc-2.11.1-build/io/fcntl.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.11.1/io' > make[1]: *** [io/subdir_lib] Error 2 > make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.11.1' > make: *** [all] Error 2 > [root@jericho glibc-2.11.1]# pico -w +43 > ../glibc-2.11.1/sysdeps/unix/sysv/linux/fcntl.c > [root@jericho glibc-2.11.1]# pico -w +43 > ../glibc-2.11.1/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h > [root@jericho glibc-2.11.1]# pico -w +43 > ../glibc-2.11.1/sysdeps/unix/sysv/linux/fcntl.c > [root@jericho glibc-2.11.1]# pico -w +43 > ../glibc-2.11/sysdeps/unix/sysv/linux/fcntl.c > glibc-2.11.1/ glibc-2.11.1.tar.bz2 glibc-2.11-build/ > glibc-2.11.1-build/ glibc-2.11.90/ > [root@jericho glibc-2.11.1]# pico -w +43 > ../glibc-2.11.90/sysdeps/unix/sysv/linux/fcntl.c > [root@jericho glibc-2.11.1]# pico -w +43 > ../glibc-2.11.1/sysdeps/unix/sysv/linux/fcntl.c > [root@jericho glibc-2.11.1]# Alpha related glibc questions go to libc-ports@. What's available in the glibc.git and glibc-ports.git trees won't build correctly on alpha without patches. These patches are available in Gentoo and are why sane people use Gentoo on their Alphas. I've wasted a bunch of time in the last week trying to help someone who's too stubborn for his own good to build glibc manually. He never succeeded. There's absolutely no point in trying to help you with this. Sorry. You know the solution. Matt -- To unsubscribe from this list: send the line "unsubscribe linux-alpha" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html