This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libio/genops.c: list_all_lock


Somewhere between 2.0.109 and 2.0.111, you updated libio/genops.c with the list_all_lock variable.  This is broken for the NO_THREADS case and results in the following:

gcc genops.c -c -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g  -mhard-quad-float     -I../include -I. -I/space/home/jbailey/build.glibc/libio -I.. -I../libio  -I/space/home/jbailey/build.glibc -I../sysdeps/sparc/sparc32/elf -I../crypt/sysdeps/unix -I../sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32 -I../sysdeps/unix/sysv/sysv4/solaris2/sparc -I../sysdeps/unix/sysv/sysv4/solaris2 -I../sysdeps/unix/sysv/sysv4 -I../sysdeps/unix/common -I../sysdeps/unix/sysv -I../sysdeps/unix/sparc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sparc/sparc32/fpu -I../sysdeps/sparc/sparc32 -I../sysdeps/wordsize-32 -I../sysdeps/sparc/fpu -I../sysdeps/sparc -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic    -include ../include/libc-symbols.h   -DIO_DEBUG   -o /space/home/jbailey/build.glibc/libio/genops.o
genops.c:34: variable or field `list_all_lock' declared void
genops.c:34: `_IO_lock_initializer' undeclared here (not in a function)
genops.c: In function `_IO_un_link':
genops.c:43: warning: implicit declaration of function `_IO_lock_lock'
genops.c:52: warning: implicit declaration of function `_IO_lock_unlock'
make[2]: *** [/space/home/jbailey/build.glibc/libio/genops.o] Error 1
make[2]: Leaving directory `/space/home/jbailey/glibc-2.0.111/libio'
make[1]: *** [libio/subdir_lib] Error 2
make[1]: Leaving directory `/space/home/jbailey/glibc-2.0.111'
make: *** [all] Error 2
bash-2.02$ 

bash-2.02$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
bash-2.02$ uname -a
SunOS zoe 5.6 Generic_105181-03 sun4u sparc
bash-2.02$ 

Configured with ../glibc-2.0.11/configure --enable-hacker-mode --enable-add-ons.  Crypt add-on included.

Tks,
Jeff Bailey


"I used to think the the human brain was the most amazing organ in the human body
until it occured to me what was telling me that."  -  Some TV Cartoon Character.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]