linuxthreads-0.{5,6}, glibc-1.99, RedHat 4.2, Alpha, Linux 2.1.43

bert hubert (ahu@vvtp.tn.tudelft.nl)
Sat, 26 Jul 1997 01:37:41 +0200 (CEST)


Hi everybody,

I tried to recompile the linuxthread library and was flooded with nasty
errors from #include <linux/*> files. The amount of warnings is
staggering. Is something amiss with the Alpha kernel include files?

My question is, am I doing something wrong, or is this something that
needs work? I know that linuxthreads won't actually work with glibc-1.99,
but I would at least like to compile it.

Thanks for your attention!

Here is the output of make:
gcc -pipe -O2 -Wall -D__BUILDING_LINUXTHREADS -Isysdeps/alpha -c
pthread.c -o
pthread.o
In file included from /usr/include/linux/fs.h:12,
from /usr/include/linux/sched.h:64,
from pthread.h:26,
from pthread.c:24:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/waitflags.h:25: warning: this is the location of the previous
definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/waitflags.h:26: warning: this is the location of the previous
definition
In file included from /usr/include/linux/sched.h:66,
from pthread.h:26,
from pthread.c:24:
/usr/include/linux/time.h:32: warning: `FD_SET' redefined
/usr/include/sys/select.h:57: warning: this is the location of the
previous definition
/usr/include/linux/time.h:33: warning: `FD_CLR' redefined
/usr/include/sys/select.h:58: warning: this is the location of the
previous definition
/usr/include/linux/time.h:34: warning: `FD_ISSET' redefined
/usr/include/sys/select.h:59: warning: this is the location of the
previous definition
/usr/include/linux/time.h:35: warning: `FD_ZERO' redefined
/usr/include/sys/select.h:60: warning: this is the location of the
previous definition
In file included from /usr/include/signal.h:48,
from internals.h:21,
from pthread.c:25:
/usr/include/signum.h:23: warning: `SIG_ERR' redefined
/usr/include/asm/signal.h:88: warning: this is the location of the
previous definition
/usr/include/signum.h:24: warning: `SIG_DFL' redefined
/usr/include/asm/signal.h:86: warning: this is the location of the
previous definition
/usr/include/signum.h:25: warning: `SIG_IGN' redefined
/usr/include/asm/signal.h:87: warning: this is the location of the
previous definition
In file included from pthread.c:25:
internals.h:22: gnu-stabs.h: No such file or directory
In file included from /usr/include/linux/sched.h:13,
from pthread.h:26,
from pthread.c:24:
/usr/include/linux/times.h:5: parse error before `clock_t'
/usr/include/linux/times.h:5: warning: no semicolon at end of struct or
union
/usr/include/linux/times.h:6: warning: data definition has no type or
storage class
/usr/include/linux/times.h:7: parse error before `tms_cutime'
/usr/include/linux/times.h:7: warning: data definition has no type or
storage class
/usr/include/linux/times.h:8: parse error before `tms_cstime'
/usr/include/linux/times.h:8: warning: data definition has no type or
storage class
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:65,
from pthread.h:26,
from pthread.c:24:
/usr/include/asm/signal.h:4: warning: redefinition of `sigset_t'
/usr/include/signal.h:130: warning: `sigset_t' previously declared here
In file included from /usr/include/linux/sched.h:66,
from pthread.h:26,
from pthread.c:24:
/usr/include/linux/time.h:6: redefinition of `struct timespec'
In file included from /usr/include/linux/sched.h:72,
from pthread.h:26,
from pthread.c:24:
/usr/include/asm/processor.h:87: warning: `struct task_struct' declared
inside parameter list
/usr/include/asm/processor.h:87: warning: its scope is only this
definition or declaration,
/usr/include/asm/processor.h:87: warning: which is probably not what you
want.
In file included from internals.h:21,
from pthread.c:25:
/usr/include/signal.h:51: warning: redefinition of `__sighandler_t'
/usr/include/asm/signal.h:84: warning: `__sighandler_t' previously
declared hereIn file included from /usr/include/signal.h:154,
from internals.h:21,
from pthread.c:25:
/usr/include/sigaction.h:22: redefinition of `struct sigaction'
pthread.c: In function `pthread_initialize_manager':
pthread.c:199: warning: cast to pointer from integer of different size
pthread.c: At top level:
pthread.c:387: warning: parameter names (without types) in function
declaration
pthread.c:387: warning: data definition has no type or storage class
make: *** [pthread.o] Error 1

Delft University of Technology, department of Physics
Phone: +31-15-2786122 / Lorentzweg 1, 2628 CJ, Delft, The Netherlands

Inspice et cautus eris - D11T'95