Gentoo Archives: gentoo-dev

From: Mike Hogye <hogye@××××××.com>
To: gentoo <gentoo-dev@g.o>
Subject: [gentoo-dev] glibc-2.2.5-r7 compile error
Date: Fri, 07 Feb 2003 17:39:38
Message-Id: 1044639151.1974.8.camel@hogye-lx
1 I'm monkeying with an old glibc version (matlab doesn't seem to like 2.3).
2 "ebuild glibc-2.2.5-r7.ebuild compile" barfs while trying to compile sysdep.S.
3
4 I currently have glibc-2.3.1 installed.
5
6
7 Here are the error messages:
8
9
10 In file included from ../include/pthread.h:1,
11 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:23,
12 from ../sysdeps/generic/ldsodefs.h:34,
13 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
14 from ../sysdeps/generic/libc-start.c:21:
15 ../linuxthreads/sysdeps/pthread/pthread.h:163: parse error before "__thread"
16 ../linuxthreads/sysdeps/pthread/pthread.h:165: `pthread_create' declared as function returning a function
17 ../linuxthreads/sysdeps/pthread/pthread.h:165: warning: function declaration isn't a prototype
18 ../linuxthreads/sysdeps/pthread/pthread.h:166: parse error before "void"
19 ../linuxthreads/sysdeps/pthread/pthread.h:591: storage class specified for parameter `type name'
20 In file included from ../linuxthreads/sysdeps/pthread/pthread.h:655,
21 from ../include/pthread.h:1,
22 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:23,
23 from ../sysdeps/generic/ldsodefs.h:34,
24 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
25 from ../sysdeps/generic/libc-start.c:21:
26 ../linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h:36: storage class specified for parameter `type name'
27 make[2]: *** [/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/csu/libc-start.o] Error 1
28 make[2]: *** Waiting for unfinished jobs....
29 In file included from ../include/pthread.h:1,
30 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:23,
31 from ../sysdeps/generic/ldsodefs.h:34,
32 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
33 from ../sysdeps/unix/sysv/linux/init-first.c:32:
34 ../linuxthreads/sysdeps/pthread/pthread.h:163: parse error before "__thread"
35 ../linuxthreads/sysdeps/pthread/pthread.h:165: `pthread_create' declared as function returning a function
36 ../linuxthreads/sysdeps/pthread/pthread.h:165: warning: function declaration isn't a prototype
37 ../linuxthreads/sysdeps/pthread/pthread.h:166: parse error before "void"
38 ../linuxthreads/sysdeps/pthread/pthread.h:591: storage class specified for parameter `type name'
39 In file included from ../linuxthreads/sysdeps/pthread/pthread.h:655,
40 from ../include/pthread.h:1,
41 from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:23,
42 from ../sysdeps/generic/ldsodefs.h:34,
43 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
44 from ../sysdeps/unix/sysv/linux/init-first.c:32:
45 ../linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h:36: storage class specified for parameter `type name'
46 make[2]: *** [/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/csu/init-first.o] Error 1
47 make[1]: *** [csu/subdir_lib] Error 2
48 make[1]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5'
49 make: *** [all] Error 2
50
51 !!! ERROR: sys-libs/glibc-2.2.5-r7 failed.
52 !!! Function src_compile, Line 186, Exitcode 2
53 !!! (no error message)
54
55
56
57 --
58 gentoo-dev@g.o mailing list