菜鸟求助:glibc编译出错(第1遍)
时间:2006-03-04
来源:互联网
我编译glibc第一遍出错了,应该是路径的问题,但实在不知道如何着手
我已检查了拷贝头文件的那一步,都拷过去了,但好象还是有问题
下面有make的输出,
还有个问题:
glibc原码中的#include <......h>的搜索路径是.../glibc-2.3.4/include
还是/tools/incldue ?
高手教教我
make输出如下:
make -r PARALLELMFLAGS="" CVSOPTS="" -C /mnt/lfs/sources/glibc-2.3.4 objdir=`pwd` all
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.3.4'
make -C csu subdir_lib
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.3.4/csu'
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/i386/tcb-offsets.sym \
| gcc -B/tools/bin/ -S -o /mnt/lfs/sources/glibc-build/tcb-offsets.hT3 -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=4 -I../include -I. -I/mnt/lfs/sources/glibc-build/csu -I.. -I../libio -I../nptl -I/mnt/lfs/sources/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /tools/bin/include -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -x c - \
-MD -MP -MF /mnt/lfs/sources/glibc-build/tcb-offsets.h.dT -MT '/mnt/lfs/sources/glibc-build/tcb-offsets.h.d /mnt/lfs/sources/glibc-build/tcb-offsets.h'
In file included from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../stdlib/stdlib.h:140: error: syntax error before '__ctype_get_mb_cur_max'
../stdlib/stdlib.h:140: warning: type defaults to 'int' in declaration of '__ctype_get_mb_cur_max'
../stdlib/stdlib.h:140: warning: data definition has no type or storage class
In file included from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../stdlib/stdlib.h:450: error: syntax error before 'size_t'
../stdlib/stdlib.h:450: warning: function declaration isn't a prototype
../stdlib/stdlib.h:480: error: syntax error before 'size_t'
../stdlib/stdlib.h:482: warning: function declaration isn't a prototype
../stdlib/stdlib.h:584: error: syntax error before '__size'
../stdlib/stdlib.h:584: warning: function declaration isn't a prototype
../stdlib/stdlib.h:586: error: syntax error before '__nmemb'
../stdlib/stdlib.h:587: warning: function declaration isn't a prototype
../stdlib/stdlib.h:595: error: syntax error before 'size_t'
../stdlib/stdlib.h:595: warning: function declaration isn't a prototype
In file included from ../include/alloca.h:3,
from ../stdlib/stdlib.h:606,
from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../stdlib/alloca.h:33: error: syntax error before '__size'
../stdlib/alloca.h:33: warning: function declaration isn't a prototype
In file included from ../stdlib/stdlib.h:606,
from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/alloca.h:9: error: syntax error before '__size'
../include/alloca.h:9: warning: function declaration isn't a prototype
../include/alloca.h:15: error: syntax error before 'size'
../include/alloca.h:15: warning: function declaration isn't a prototype
../include/alloca.h:16: error: syntax error before 'size'
../include/alloca.h:16: warning: function declaration isn't a prototype
In file included from ../nptl/sysdeps/pthread/allocalim.h:21,
from ../include/alloca.h:20,
from ../stdlib/stdlib.h:606,
from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/limits.h:124:26: error: limits.h: No such file or directory
In file included from ../include/alloca.h:20,
from ../stdlib/stdlib.h:606,
from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/sysdeps/pthread/allocalim.h:25: error: syntax error before 'size'
../nptl/sysdeps/pthread/allocalim.h:26: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/allocalim.h: In function '__libc_use_alloca':
../nptl/sysdeps/pthread/allocalim.h:27: error: 'size' undeclared (first use in this function)
../nptl/sysdeps/pthread/allocalim.h:27: error: (Each undeclared identifier is reported only once
../nptl/sysdeps/pthread/allocalim.h:27: error: for each function it appears in.)
In file included from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../stdlib/stdlib.h: At top level:
../stdlib/stdlib.h:611: error: syntax error before '__size'
../stdlib/stdlib.h:611: warning: function declaration isn't a prototype
../stdlib/stdlib.h:616: error: syntax error before 'size_t'
../stdlib/stdlib.h:617: warning: function declaration isn't a prototype
../stdlib/stdlib.h:768: error: syntax error before 'size_t'
../stdlib/stdlib.h:769: warning: function declaration isn't a prototype
../stdlib/stdlib.h:773: error: syntax error before 'size_t'
../stdlib/stdlib.h:774: warning: function declaration isn't a prototype
../stdlib/stdlib.h:846: error: syntax error before 'size_t'
../stdlib/stdlib.h:846: warning: function declaration isn't a prototype
../stdlib/stdlib.h:849: error: syntax error before 'size_t'
../stdlib/stdlib.h:849: warning: function declaration isn't a prototype
../stdlib/stdlib.h:853: error: syntax error before 'size_t'
../stdlib/stdlib.h:854: warning: function declaration isn't a prototype
../stdlib/stdlib.h:857: error: syntax error before 'size_t'
../stdlib/stdlib.h:858: warning: function declaration isn't a prototype
../stdlib/stdlib.h:866: error: syntax error before 'size_t'
../stdlib/stdlib.h:866: warning: function declaration isn't a prototype
../stdlib/stdlib.h:869: error: syntax error before '*' token
../stdlib/stdlib.h:870: warning: function declaration isn't a prototype
../stdlib/stdlib.h:873: error: syntax error before 'wchar_t'
../stdlib/stdlib.h:873: warning: function declaration isn't a prototype
../stdlib/stdlib.h:877: error: syntax error before 'mbstowcs'
../stdlib/stdlib.h:877: error: syntax error before '*' token
../stdlib/stdlib.h:878: warning: type defaults to 'int' in declaration of 'mbstowcs'
../stdlib/stdlib.h:878: warning: function declaration isn't a prototype
../stdlib/stdlib.h:878: warning: data definition has no type or storage class
../stdlib/stdlib.h:880: error: syntax error before 'wcstombs'
../stdlib/stdlib.h:881: warning: type defaults to 'int' in declaration of 'wchar_t'
../stdlib/stdlib.h:881: error: syntax error before '*' token
../stdlib/stdlib.h:882: warning: type defaults to 'int' in declaration of 'wcstombs'
../stdlib/stdlib.h:882: warning: function declaration isn't a prototype
../stdlib/stdlib.h:882: warning: data definition has no type or storage class
../stdlib/stdlib.h:943: error: syntax error before 'size_t'
../stdlib/stdlib.h:944: warning: function declaration isn't a prototype
In file included from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/stdlib.h:44: error: syntax error before 'size_t'
../include/stdlib.h:44: warning: function declaration isn't a prototype
../include/stdlib.h:49: error: syntax error before 'size_t'
../include/stdlib.h:49: warning: function declaration isn't a prototype
../include/stdlib.h:80: error: syntax error before 'size_t'
../include/stdlib.h:80: warning: function declaration isn't a prototype
../include/stdlib.h:87: error: syntax error before 'size_t'
../include/stdlib.h:88: warning: function declaration isn't a prototype
../include/stdlib.h:98: error: syntax error before 'size_t'
../include/stdlib.h:99: warning: function declaration isn't a prototype
../include/stdlib.h:100: error: syntax error before 'alignment'
../include/stdlib.h:101: warning: function declaration isn't a prototype
../include/stdlib.h:197: warning: parameter names (without types) in function declaration
In file included from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/sysdeps/i386/i686/../tls.h:34: error: syntax error before 'size_t'
../nptl/sysdeps/i386/i686/../tls.h:34: warning: no semicolon at end of struct or union
../nptl/sysdeps/i386/i686/../tls.h:36: error: syntax error before '}' token
../nptl/sysdeps/i386/i686/../tls.h:36: warning: type defaults to 'int' in declaration of 'dtv_t'
../nptl/sysdeps/i386/i686/../tls.h:36: warning: data definition has no type or storage class
../nptl/sysdeps/i386/i686/../tls.h:43: error: syntax error before 'dtv_t'
../nptl/sysdeps/i386/i686/../tls.h:43: warning: no semicolon at end of struct or union
../nptl/sysdeps/i386/i686/../tls.h:47: error: syntax error before '}' token
../nptl/sysdeps/i386/i686/../tls.h:47: warning: type defaults to 'int' in declaration of 'tcbhead_t'
../nptl/sysdeps/i386/i686/../tls.h:47: warning: data definition has no type or storage class
In file included from ../include/sched.h:2,
from ../nptl/descr.h:24,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../posix/sched.h:76: error: syntax error before 'size_t'
../posix/sched.h:77: warning: function declaration isn't a prototype
../posix/sched.h:80: error: syntax error before 'size_t'
../posix/sched.h:81: warning: function declaration isn't a prototype
In file included from ../nptl/descr.h:24,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/sched.h:21: error: syntax error before 'size_t'
../include/sched.h:21: warning: function declaration isn't a prototype
In file included from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/descr.h:26:21: error: stdbool.h: No such file or directory
In file included from ../sysdeps/i386/i686/hp-timing.h:24,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/string.h:6: error: syntax error before 'size_t'
../include/string.h:6: warning: function declaration isn't a prototype
../include/string.h:8: error: syntax error before '__strnlen'
../include/string.h:8: error: syntax error before 'size_t'
../include/string.h:9: warning: type defaults to 'int' in declaration of '__strnlen'
../include/string.h:9: warning: function declaration isn't a prototype
../include/string.h:9: warning: data definition has no type or storage class
../include/string.h:17: error: syntax error before 'size_t'
../include/string.h:18: warning: function declaration isn't a prototype
../include/string.h:28: error: syntax error before 'size_t'
../include/string.h:29: warning: function declaration isn't a prototype
../include/string.h:37: error: syntax error before 'size_t'
../include/string.h:38: warning: function declaration isn't a prototype
../include/string.h:40: error: syntax error before 'size_t'
../include/string.h:41: warning: function declaration isn't a prototype
../include/string.h:45: error: syntax error before 'size_t'
../include/string.h:45: warning: function declaration isn't a prototype
In file included from ../include/string.h:49,
from ../sysdeps/i386/i686/hp-timing.h:24,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../string/string.h:39: error: syntax error before 'size_t'
../string/string.h:40: warning: function declaration isn't a prototype
../string/string.h:43: error: syntax error before 'size_t'
../string/string.h:44: warning: function declaration isn't a prototype
../string/string.h:52: error: syntax error before 'size_t'
../string/string.h:53: warning: function declaration isn't a prototype
../string/string.h:59: error: syntax error before 'size_t'
../string/string.h:59: warning: function declaration isn't a prototype
../string/string.h:62: error: syntax error before 'size_t'
../string/string.h:63: warning: function declaration isn't a prototype
../string/string.h:66: error: syntax error before 'size_t'
../string/string.h:67: warning: function declaration isn't a prototype
../string/string.h:77: error: syntax error before 'size_t'
../string/string.h:78: warning: function declaration isn't a prototype
../string/string.h:88: error: syntax error before 'size_t'
../string/string.h:89: warning: function declaration isn't a prototype
../string/string.h:96: error: syntax error before 'size_t'
../string/string.h:96: warning: function declaration isn't a prototype
../string/string.h:102: error: syntax error before 'size_t'
../string/string.h:103: warning: function declaration isn't a prototype
../string/string.h:109: error: syntax error before 'strxfrm'
../string/string.h:110: error: syntax error before 'size_t'
../string/string.h:111: warning: type defaults to 'int' in declaration of 'strxfrm'
../string/string.h:111: warning: function declaration isn't a prototype
../string/string.h:111: warning: data definition has no type or storage class
In file included from ../include/string.h:49,
from ../sysdeps/i386/i686/hp-timing.h:24,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../string/string.h:124: error: syntax error before 'strxfrm_l'
../string/string.h:124: error: syntax error before 'size_t'
../string/string.h:125: warning: type defaults to 'int' in declaration of 'strxfrm_l'
../string/string.h:125: warning: function declaration isn't a prototype
../string/string.h:125: warning: data definition has no type or storage class
../string/string.h:138: error: syntax error before 'size_t'
../string/string.h:139: warning: function declaration isn't a prototype
../string/string.h:184: error: syntax error before 'strcspn'
../string/string.h:185: warning: type defaults to 'int' in declaration of 'strcspn'
../string/string.h:185: warning: data definition has no type or storage class
../string/string.h:188: error: syntax error before 'strspn'
../string/string.h:189: warning: type defaults to 'int' in declaration of 'strspn'
../string/string.h:189: warning: data definition has no type or storage class
../string/string.h:225: error: syntax error before 'size_t'
../string/string.h:227: warning: function declaration isn't a prototype
../string/string.h:232: error: syntax error before 'size_t'
../string/string.h:233: warning: function declaration isn't a prototype
../string/string.h:235: error: syntax error before 'size_t'
../string/string.h:236: warning: function declaration isn't a prototype
../string/string.h:242: error: syntax error before 'strlen'
../string/string.h:243: warning: type defaults to 'int' in declaration of 'strlen'
../string/string.h:243: warning: data definition has no type or storage class
../string/string.h:249: error: syntax error before 'strnlen'
../string/string.h:249: error: syntax error before 'size_t'
../string/string.h:250: warning: type defaults to 'int' in declaration of 'strnlen'
../string/string.h:250: warning: function declaration isn't a prototype
../string/string.h:250: warning: data definition has no type or storage class
../string/string.h:281: error: syntax error before 'size_t'
../string/string.h:282: warning: function declaration isn't a prototype
../string/string.h:288: error: syntax error before 'size_t'
../string/string.h:288: warning: function declaration isn't a prototype
../string/string.h:292: error: syntax error before 'size_t'
../string/string.h:293: warning: function declaration isn't a prototype
../string/string.h:296: error: syntax error before 'size_t'
../string/string.h:296: warning: function declaration isn't a prototype
../string/string.h:299: error: syntax error before 'size_t'
../string/string.h:300: warning: function declaration isn't a prototype
../string/string.h:329: error: syntax error before 'size_t'
../string/string.h:330: warning: function declaration isn't a prototype
../string/string.h:341: error: syntax error before 'size_t'
../string/string.h:342: warning: function declaration isn't a prototype
../string/string.h:370: error: syntax error before 'size_t'
../string/string.h:371: warning: function declaration isn't a prototype
../string/string.h:373: error: syntax error before 'size_t'
../string/string.h:374: warning: function declaration isn't a prototype
../string/string.h:380: error: syntax error before 'size_t'
../string/string.h:380: warning: function declaration isn't a prototype
In file included from ../include/bits/string2.h:1,
from ../string/string.h:417,
from ../include/string.h:49,
from ../sysdeps/i386/i686/hp-timing.h:24,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../string/bits/string2.h:969: error: syntax error before '__strcspn_c1'
../string/bits/string2.h:969: warning: type defaults to 'int' in declaration of '__strcspn_c1'
../string/bits/string2.h:969: warning: data definition has no type or storage class
../string/bits/string2.h:971: error: syntax error before '__strcspn_c1'
../string/bits/string2.h:972: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strcspn_c1':
../string/bits/string2.h:973: error: syntax error before '__result'
../string/bits/string2.h:974: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: At top level:
../string/bits/string2.h:979: error: syntax error before '__strcspn_c2'
../string/bits/string2.h:980: warning: type defaults to 'int' in declaration of '__strcspn_c2'
../string/bits/string2.h:980: warning: data definition has no type or storage class
../string/bits/string2.h:982: error: syntax error before '__strcspn_c2'
../string/bits/string2.h:983: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strcspn_c2':
../string/bits/string2.h:984: error: syntax error before '__result'
../string/bits/string2.h:985: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: At top level:
../string/bits/string2.h:991: error: syntax error before '__strcspn_c3'
../string/bits/string2.h:992: warning: type defaults to 'int' in declaration of '__strcspn_c3'
../string/bits/string2.h:992: warning: data definition has no type or storage class
../string/bits/string2.h:994: error: syntax error before '__strcspn_c3'
../string/bits/string2.h:996: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strcspn_c3':
../string/bits/string2.h:997: error: syntax error before '__result'
../string/bits/string2.h:998: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: At top level:
../string/bits/string2.h:1045: error: syntax error before '__strspn_c1'
../string/bits/string2.h:1045: warning: type defaults to 'int' in declaration of '__strspn_c1'
../string/bits/string2.h:1045: warning: data definition has no type or storage class
../string/bits/string2.h:1047: error: syntax error before '__strspn_c1'
../string/bits/string2.h:1048: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strspn_c1':
../string/bits/string2.h:1049: error: syntax error before '__result'
../string/bits/string2.h:1051: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: At top level:
../string/bits/string2.h:1056: error: syntax error before '__strspn_c2'
../string/bits/string2.h:1057: warning: type defaults to 'int' in declaration of '__strspn_c2'
../string/bits/string2.h:1057: warning: data definition has no type or storage class
../string/bits/string2.h:1059: error: syntax error before '__strspn_c2'
../string/bits/string2.h:1060: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strspn_c2':
../string/bits/string2.h:1061: error: syntax error before '__result'
../string/bits/string2.h:1063: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: At top level:
../string/bits/string2.h:1068: error: syntax error before '__strspn_c3'
../string/bits/string2.h:1069: warning: type defaults to 'int' in declaration of '__strspn_c3'
../string/bits/string2.h:1069: warning: data definition has no type or storage class
../string/bits/string2.h:1071: error: syntax error before '__strspn_c3'
../string/bits/string2.h:1072: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strspn_c3':
../string/bits/string2.h:1073: error: syntax error before '__result'
../string/bits/string2.h:1075: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: In function '__strpbrk_c2':
../string/bits/string2.h:1129: error: 'size_t' undeclared (first use in this function)
../string/bits/string2.h:1129: error: syntax error before '__s'
../string/bits/string2.h:1130: warning: no return statement in function returning non-void
../string/bits/string2.h: In function '__strpbrk_c3':
../string/bits/string2.h:1142: error: 'size_t' undeclared (first use in this function)
../string/bits/string2.h:1142: error: syntax error before '__s'
../string/bits/string2.h:1143: warning: no return statement in function returning non-void
../string/bits/string2.h: At top level:
../string/bits/string2.h:1323: error: syntax error before 'size_t'
../string/bits/string2.h:1324: warning: function declaration isn't a prototype
In file included from ../sysdeps/i386/i686/hp-timing.h:24,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/string.h:118: error: syntax error before 'size_t'
../include/string.h:119: warning: function declaration isn't a prototype
../include/string.h:120: error: syntax error before 'size_t'
../include/string.h:121: warning: function declaration isn't a prototype
../include/string.h:123: error: syntax error before 'size_t'
../include/string.h:124: warning: function declaration isn't a prototype
../include/string.h:125: error: syntax error before 'size_t'
../include/string.h:126: warning: function declaration isn't a prototype
../include/string.h:129: error: syntax error before 'size_t'
../include/string.h:129: warning: function declaration isn't a prototype
../include/string.h:132: error: syntax error before 'size_t'
../include/string.h:132: warning: function declaration isn't a prototype
../include/string.h:135: error: syntax error before 'size_t'
../include/string.h:135: warning: function declaration isn't a prototype
../include/string.h:138: error: syntax error before 'size_t'
../include/string.h:138: warning: function declaration isn't a prototype
../include/string.h:141: error: syntax error before 'size_t'
../include/string.h:141: warning: function declaration isn't a prototype
In file included from ../include/time.h:5,
from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:23,
from ../nptl/descr.h:30,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../time/time.h:197: error: syntax error before 'strftime'
../time/time.h:197: error: syntax error before 'size_t'
../time/time.h:199: warning: type defaults to 'int' in declaration of 'strftime'
../time/time.h:199: warning: function declaration isn't a prototype
../time/time.h:199: warning: conflicting types for built-in function 'strftime'
../time/time.h:199: warning: data definition has no type or storage class
In file included from ../include/time.h:5,
from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:23,
from ../nptl/descr.h:30,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../time/time.h:215: error: syntax error before 'strftime_l'
../time/time.h:215: error: syntax error before 'size_t'
../time/time.h:218: warning: type defaults to 'int' in declaration of 'strftime_l'
../time/time.h:218: warning: function declaration isn't a prototype
../time/time.h:218: warning: data definition has no type or storage class
In file included from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:23,
from ../nptl/descr.h:30,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/time.h:33: error: syntax error before '__tzname_cur_max'
../include/time.h:33: warning: type defaults to 'int' in declaration of '__tzname_cur_max'
../include/time.h:33: warning: data definition has no type or storage class
../include/time.h:38: error: syntax error before 'size_t'
../include/time.h:39: warning: function declaration isn't a prototype
In file included from ../include/pthread.h:1,
from ../nptl/../nptl_db/thread_db.h:26,
from ../nptl/descr.h:33,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/sysdeps/pthread/pthread.h:259: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:259: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:263: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:263: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:319: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:320: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:326: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:326: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:332: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:332: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:338: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:338: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:345: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:346: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:351: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:352: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:399: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:400: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:403: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:404: warning: function declaration isn't a prototype
In file included from ../nptl/descr.h:33,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/../nptl_db/thread_db.h:415: error: syntax error before 'size_t'
../nptl/../nptl_db/thread_db.h:416: warning: function declaration isn't a prototype
In file included from ../misc/sys/uio.h:29,
from ../include/sys/uio.h:2,
from ../socket/sys/socket.h:27,
from ../include/sys/socket.h:2,
from ../inet/netinet/in.h:24,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:11,
from ../nptl/descr.h:39,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../sysdeps/unix/sysv/linux/bits/uio.h:45: error: syntax error before 'size_t'
../sysdeps/unix/sysv/linux/bits/uio.h:45: warning: no semicolon at end of struct or union
In file included from ../socket/sys/socket.h:35,
from ../include/sys/socket.h:2,
from ../inet/netinet/in.h:24,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:11,
from ../nptl/descr.h:39,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../sysdeps/unix/sysv/linux/bits/socket.h:221: error: syntax error before 'size_t'
../sysdeps/unix/sysv/linux/bits/socket.h:221: warning: no semicolon at end of struct or union
../sysdeps/unix/sysv/linux/bits/socket.h:224: error: syntax error before 'msg_controllen'
../sysdeps/unix/sysv/linux/bits/socket.h:224: warning: type defaults to 'int' in declaration of 'msg_controllen'
../sysdeps/unix/sysv/linux/bits/socket.h:224: warning: data definition has no type or storage class
../sysdeps/unix/sysv/linux/bits/socket.h:227: error: syntax error before '}' token
../sysdeps/unix/sysv/linux/bits/socket.h:232: error: syntax error before 'size_t'
../sysdeps/unix/sysv/linux/bits/socket.h:232: warning: no semicolon at end of struct or union
../sysdeps/unix/sysv/linux/bits/socket.h:239: error: syntax error before '}' token
../sysdeps/unix/sysv/linux/bits/socket.h: In function '__cmsg_nxthdr':
../sysdeps/unix/sysv/linux/bits/socket.h:266: error: 'size_t' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/bits/socket.h:266: error: syntax error before '__cmsg'
../sysdeps/unix/sysv/linux/bits/socket.h:271: error: dereferencing pointer to incomplete type
../sysdeps/unix/sysv/linux/bits/socket.h:271: error: syntax error before '~' token
../sysdeps/unix/sysv/linux/bits/socket.h:271: error: syntax error before ')' token
../sysdeps/unix/sysv/linux/bits/socket.h:272: error: invalid use of undefined type 'struct cmsghdr'
../sysdeps/unix/sysv/linux/bits/socket.h:272: error: dereferencing pointer to incomplete type
../sysdeps/unix/sysv/linux/bits/socket.h:273: error: dereferencing pointer to incomplete type
../sysdeps/unix/sysv/linux/bits/socket.h:274: error: dereferencing pointer to incomplete type
../sysdeps/unix/sysv/linux/bits/socket.h:274: error: syntax error before '~' token
../sysdeps/unix/sysv/linux/bits/socket.h:275: error: syntax error before '>' token
In file included from ../include/sys/socket.h:2,
from ../inet/netinet/in.h:24,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:11,
from ../nptl/descr.h:39,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../socket/sys/socket.h: At top level:
../socket/sys/socket.h:136: error: syntax error before 'size_t'
../socket/sys/socket.h:136: warning: function declaration isn't a prototype
../socket/sys/socket.h:143: error: syntax error before 'size_t'
../socket/sys/socket.h:143: warning: function declaration isn't a prototype
../socket/sys/socket.h:150: error: syntax error before 'size_t'
../socket/sys/socket.h:152: warning: function declaration isn't a prototype
../socket/sys/socket.h:161: error: syntax error before 'size_t'
../socket/sys/socket.h:163: warning: function declaration isn't a prototype
In file included from ../inet/netinet/in.h:24,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:11,
from ../nptl/descr.h:39,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/sys/socket.h:29: error: syntax error before 'size_t'
../include/sys/socket.h:30: warning: function declaration isn't a prototype
../include/sys/socket.h:31: error: syntax error before 'size_t'
../include/sys/socket.h:31: warning: function declaration isn't a prototype
../include/sys/socket.h:36: error: syntax error before 'size_t'
../include/sys/socket.h:36: warning: function declaration isn't a prototype
../include/sys/socket.h:40: error: syntax error before 'size_t'
../include/sys/socket.h:42: warning: function declaration isn't a prototype
../include/sys/socket.h:48: error: syntax error before 'size_t'
../include/sys/socket.h:50: warning: function declaration isn't a prototype
../include/sys/socket.h:64: error: syntax error before 'size_t'
../include/sys/socket.h:66: warning: function declaration isn't a prototype
../include/sys/socket.h:67: error: syntax error before 'size_t'
../include/sys/socket.h:69: warning: function declaration isn't a prototype
../include/sys/socket.h:75: error: syntax error before 'size_t'
../include/sys/socket.h:77: warning: function declaration isn't a prototype
In file included from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/descr.h:112: error: syntax error before 'tcbhead_t'
../nptl/descr.h:112: warning: no semicolon at end of struct or union
../nptl/descr.h:112: warning: no semicolon at end of struct or union
../nptl/descr.h:125: error: syntax error before '}' token
../nptl/descr.h:189: error: syntax error before 'specific_used'
../nptl/descr.h:189: warning: type defaults to 'int' in declaration of 'specific_used'
../nptl/descr.h:189: warning: data definition has no type or storage class
../nptl/descr.h:195: error: syntax error before 'report_events'
../nptl/descr.h:195: warning: type defaults to 'int' in declaration of 'report_events'
../nptl/descr.h:195: warning: data definition has no type or storage class
../nptl/descr.h:198: error: syntax error before 'user_stack'
../nptl/descr.h:198: warning: type defaults to 'int' in declaration of 'user_stack'
../nptl/descr.h:198: warning: data definition has no type or storage class
../nptl/descr.h:201: error: syntax error before 'stopped_start'
../nptl/descr.h:201: warning: type defaults to 'int' in declaration of 'stopped_start'
../nptl/descr.h:201: warning: data definition has no type or storage class
../nptl/descr.h:249: error: syntax error before 'stackblock_size'
../nptl/descr.h:249: warning: type defaults to 'int' in declaration of 'stackblock_size'
../nptl/descr.h:249: warning: data definition has no type or storage class
../nptl/descr.h:251: error: syntax error before 'guardsize'
../nptl/descr.h:251: warning: type defaults to 'int' in declaration of 'guardsize'
../nptl/descr.h:251: warning: data definition has no type or storage class
../nptl/descr.h:253: error: syntax error before 'reported_guardsize'
../nptl/descr.h:253: warning: type defaults to 'int' in declaration of 'reported_guardsize'
../nptl/descr.h:253: warning: data definition has no type or storage class
../nptl/descr.h:257: error: syntax error before '}' token
../nptl/descr.h:257: warning: empty declaration
<stdin>: In function 'dummy':
<stdin>:4: error: dereferencing pointer to incomplete type
<stdin>:5: error: dereferencing pointer to incomplete type
<stdin>:6: error: dereferencing pointer to incomplete type
<stdin>:7: error: dereferencing pointer to incomplete type
<stdin>:8: error: dereferencing pointer to incomplete type
<stdin>:9: error: syntax error before ')' token
<stdin>:10: error: syntax error before ')' token
<stdin>:11: error: dereferencing pointer to incomplete type
<stdin>: At top level:
../nptl/descr.h:256: warning: unused variable 'res'
../nptl/descr.h:253: warning: unused variable 'reported_guardsize'
../nptl/descr.h:251: warning: unused variable 'guardsize'
../nptl/descr.h:249: warning: unused variable 'stackblock_size'
../nptl/descr.h:248: warning: unused variable 'stackblock'
../nptl/descr.h:243: warning: unused variable 'exc'
../nptl/descr.h:239: warning: unused variable 'nextevent'
../nptl/descr.h:237: warning: unused variable 'eventbuf'
../nptl/descr.h:234: warning: unused variable 'arg'
../nptl/descr.h:233: warning: unused variable 'start_routine'
../nptl/descr.h:229: warning: unused variable 'schedpolicy'
../nptl/descr.h:228: warning: unused variable 'schedparam'
../nptl/descr.h:225: warning: unused variable 'result'
../nptl/descr.h:222: warning: unused variable 'flags'
../nptl/descr.h:217: warning: unused variable 'joinid'
../nptl/descr.h:208: warning: unused variable 'cpuclock_offset'
../nptl/descr.h:204: warning: unused variable 'lock'
../nptl/descr.h:201: warning: unused variable 'stopped_start'
../nptl/descr.h:198: warning: unused variable 'user_stack'
../nptl/descr.h:195: warning: unused variable 'report_events'
../nptl/descr.h:192: warning: unused variable 'specific'
../nptl/descr.h:189: warning: unused variable 'specific_used'
../nptl/descr.h:186: warning: unused variable 'specific_1stblock'
../nptl/descr.h:145: warning: unused variable 'cancelhandling'
../nptl/descr.h:141: warning: unused variable 'cleanup_jmp_buf'
../nptl/descr.h:138: warning: unused variable 'cleanup'
../nptl/descr.h:135: warning: unused variable 'pid'
../nptl/descr.h:132: warning: unused variable 'tid'
../nptl/descr.h:128: warning: unused variable 'list'
../nptl/descr.h:124: warning: unused variable '__padding'
../inet/netinet/in.h:207: warning: unused variable 'in6addr_loopback'
../inet/netinet/in.h:206: warning: unused variable 'in6addr_any'
make[2]: *** [/mnt/lfs/sources/glibc-build/tcb-offsets.h] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4'
make: *** [all] Error 2
我已检查了拷贝头文件的那一步,都拷过去了,但好象还是有问题
下面有make的输出,
还有个问题:
glibc原码中的#include <......h>的搜索路径是.../glibc-2.3.4/include
还是/tools/incldue ?
高手教教我
make输出如下:
make -r PARALLELMFLAGS="" CVSOPTS="" -C /mnt/lfs/sources/glibc-2.3.4 objdir=`pwd` all
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.3.4'
make -C csu subdir_lib
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.3.4/csu'
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/i386/tcb-offsets.sym \
| gcc -B/tools/bin/ -S -o /mnt/lfs/sources/glibc-build/tcb-offsets.hT3 -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=4 -I../include -I. -I/mnt/lfs/sources/glibc-build/csu -I.. -I../libio -I../nptl -I/mnt/lfs/sources/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /tools/bin/include -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -x c - \
-MD -MP -MF /mnt/lfs/sources/glibc-build/tcb-offsets.h.dT -MT '/mnt/lfs/sources/glibc-build/tcb-offsets.h.d /mnt/lfs/sources/glibc-build/tcb-offsets.h'
In file included from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../stdlib/stdlib.h:140: error: syntax error before '__ctype_get_mb_cur_max'
../stdlib/stdlib.h:140: warning: type defaults to 'int' in declaration of '__ctype_get_mb_cur_max'
../stdlib/stdlib.h:140: warning: data definition has no type or storage class
In file included from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../stdlib/stdlib.h:450: error: syntax error before 'size_t'
../stdlib/stdlib.h:450: warning: function declaration isn't a prototype
../stdlib/stdlib.h:480: error: syntax error before 'size_t'
../stdlib/stdlib.h:482: warning: function declaration isn't a prototype
../stdlib/stdlib.h:584: error: syntax error before '__size'
../stdlib/stdlib.h:584: warning: function declaration isn't a prototype
../stdlib/stdlib.h:586: error: syntax error before '__nmemb'
../stdlib/stdlib.h:587: warning: function declaration isn't a prototype
../stdlib/stdlib.h:595: error: syntax error before 'size_t'
../stdlib/stdlib.h:595: warning: function declaration isn't a prototype
In file included from ../include/alloca.h:3,
from ../stdlib/stdlib.h:606,
from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../stdlib/alloca.h:33: error: syntax error before '__size'
../stdlib/alloca.h:33: warning: function declaration isn't a prototype
In file included from ../stdlib/stdlib.h:606,
from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/alloca.h:9: error: syntax error before '__size'
../include/alloca.h:9: warning: function declaration isn't a prototype
../include/alloca.h:15: error: syntax error before 'size'
../include/alloca.h:15: warning: function declaration isn't a prototype
../include/alloca.h:16: error: syntax error before 'size'
../include/alloca.h:16: warning: function declaration isn't a prototype
In file included from ../nptl/sysdeps/pthread/allocalim.h:21,
from ../include/alloca.h:20,
from ../stdlib/stdlib.h:606,
from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/limits.h:124:26: error: limits.h: No such file or directory
In file included from ../include/alloca.h:20,
from ../stdlib/stdlib.h:606,
from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/sysdeps/pthread/allocalim.h:25: error: syntax error before 'size'
../nptl/sysdeps/pthread/allocalim.h:26: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/allocalim.h: In function '__libc_use_alloca':
../nptl/sysdeps/pthread/allocalim.h:27: error: 'size' undeclared (first use in this function)
../nptl/sysdeps/pthread/allocalim.h:27: error: (Each undeclared identifier is reported only once
../nptl/sysdeps/pthread/allocalim.h:27: error: for each function it appears in.)
In file included from ../include/stdlib.h:8,
from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../stdlib/stdlib.h: At top level:
../stdlib/stdlib.h:611: error: syntax error before '__size'
../stdlib/stdlib.h:611: warning: function declaration isn't a prototype
../stdlib/stdlib.h:616: error: syntax error before 'size_t'
../stdlib/stdlib.h:617: warning: function declaration isn't a prototype
../stdlib/stdlib.h:768: error: syntax error before 'size_t'
../stdlib/stdlib.h:769: warning: function declaration isn't a prototype
../stdlib/stdlib.h:773: error: syntax error before 'size_t'
../stdlib/stdlib.h:774: warning: function declaration isn't a prototype
../stdlib/stdlib.h:846: error: syntax error before 'size_t'
../stdlib/stdlib.h:846: warning: function declaration isn't a prototype
../stdlib/stdlib.h:849: error: syntax error before 'size_t'
../stdlib/stdlib.h:849: warning: function declaration isn't a prototype
../stdlib/stdlib.h:853: error: syntax error before 'size_t'
../stdlib/stdlib.h:854: warning: function declaration isn't a prototype
../stdlib/stdlib.h:857: error: syntax error before 'size_t'
../stdlib/stdlib.h:858: warning: function declaration isn't a prototype
../stdlib/stdlib.h:866: error: syntax error before 'size_t'
../stdlib/stdlib.h:866: warning: function declaration isn't a prototype
../stdlib/stdlib.h:869: error: syntax error before '*' token
../stdlib/stdlib.h:870: warning: function declaration isn't a prototype
../stdlib/stdlib.h:873: error: syntax error before 'wchar_t'
../stdlib/stdlib.h:873: warning: function declaration isn't a prototype
../stdlib/stdlib.h:877: error: syntax error before 'mbstowcs'
../stdlib/stdlib.h:877: error: syntax error before '*' token
../stdlib/stdlib.h:878: warning: type defaults to 'int' in declaration of 'mbstowcs'
../stdlib/stdlib.h:878: warning: function declaration isn't a prototype
../stdlib/stdlib.h:878: warning: data definition has no type or storage class
../stdlib/stdlib.h:880: error: syntax error before 'wcstombs'
../stdlib/stdlib.h:881: warning: type defaults to 'int' in declaration of 'wchar_t'
../stdlib/stdlib.h:881: error: syntax error before '*' token
../stdlib/stdlib.h:882: warning: type defaults to 'int' in declaration of 'wcstombs'
../stdlib/stdlib.h:882: warning: function declaration isn't a prototype
../stdlib/stdlib.h:882: warning: data definition has no type or storage class
../stdlib/stdlib.h:943: error: syntax error before 'size_t'
../stdlib/stdlib.h:944: warning: function declaration isn't a prototype
In file included from ../nptl/sysdeps/i386/i686/../tls.h:27,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/stdlib.h:44: error: syntax error before 'size_t'
../include/stdlib.h:44: warning: function declaration isn't a prototype
../include/stdlib.h:49: error: syntax error before 'size_t'
../include/stdlib.h:49: warning: function declaration isn't a prototype
../include/stdlib.h:80: error: syntax error before 'size_t'
../include/stdlib.h:80: warning: function declaration isn't a prototype
../include/stdlib.h:87: error: syntax error before 'size_t'
../include/stdlib.h:88: warning: function declaration isn't a prototype
../include/stdlib.h:98: error: syntax error before 'size_t'
../include/stdlib.h:99: warning: function declaration isn't a prototype
../include/stdlib.h:100: error: syntax error before 'alignment'
../include/stdlib.h:101: warning: function declaration isn't a prototype
../include/stdlib.h:197: warning: parameter names (without types) in function declaration
In file included from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/sysdeps/i386/i686/../tls.h:34: error: syntax error before 'size_t'
../nptl/sysdeps/i386/i686/../tls.h:34: warning: no semicolon at end of struct or union
../nptl/sysdeps/i386/i686/../tls.h:36: error: syntax error before '}' token
../nptl/sysdeps/i386/i686/../tls.h:36: warning: type defaults to 'int' in declaration of 'dtv_t'
../nptl/sysdeps/i386/i686/../tls.h:36: warning: data definition has no type or storage class
../nptl/sysdeps/i386/i686/../tls.h:43: error: syntax error before 'dtv_t'
../nptl/sysdeps/i386/i686/../tls.h:43: warning: no semicolon at end of struct or union
../nptl/sysdeps/i386/i686/../tls.h:47: error: syntax error before '}' token
../nptl/sysdeps/i386/i686/../tls.h:47: warning: type defaults to 'int' in declaration of 'tcbhead_t'
../nptl/sysdeps/i386/i686/../tls.h:47: warning: data definition has no type or storage class
In file included from ../include/sched.h:2,
from ../nptl/descr.h:24,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../posix/sched.h:76: error: syntax error before 'size_t'
../posix/sched.h:77: warning: function declaration isn't a prototype
../posix/sched.h:80: error: syntax error before 'size_t'
../posix/sched.h:81: warning: function declaration isn't a prototype
In file included from ../nptl/descr.h:24,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/sched.h:21: error: syntax error before 'size_t'
../include/sched.h:21: warning: function declaration isn't a prototype
In file included from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/descr.h:26:21: error: stdbool.h: No such file or directory
In file included from ../sysdeps/i386/i686/hp-timing.h:24,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/string.h:6: error: syntax error before 'size_t'
../include/string.h:6: warning: function declaration isn't a prototype
../include/string.h:8: error: syntax error before '__strnlen'
../include/string.h:8: error: syntax error before 'size_t'
../include/string.h:9: warning: type defaults to 'int' in declaration of '__strnlen'
../include/string.h:9: warning: function declaration isn't a prototype
../include/string.h:9: warning: data definition has no type or storage class
../include/string.h:17: error: syntax error before 'size_t'
../include/string.h:18: warning: function declaration isn't a prototype
../include/string.h:28: error: syntax error before 'size_t'
../include/string.h:29: warning: function declaration isn't a prototype
../include/string.h:37: error: syntax error before 'size_t'
../include/string.h:38: warning: function declaration isn't a prototype
../include/string.h:40: error: syntax error before 'size_t'
../include/string.h:41: warning: function declaration isn't a prototype
../include/string.h:45: error: syntax error before 'size_t'
../include/string.h:45: warning: function declaration isn't a prototype
In file included from ../include/string.h:49,
from ../sysdeps/i386/i686/hp-timing.h:24,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../string/string.h:39: error: syntax error before 'size_t'
../string/string.h:40: warning: function declaration isn't a prototype
../string/string.h:43: error: syntax error before 'size_t'
../string/string.h:44: warning: function declaration isn't a prototype
../string/string.h:52: error: syntax error before 'size_t'
../string/string.h:53: warning: function declaration isn't a prototype
../string/string.h:59: error: syntax error before 'size_t'
../string/string.h:59: warning: function declaration isn't a prototype
../string/string.h:62: error: syntax error before 'size_t'
../string/string.h:63: warning: function declaration isn't a prototype
../string/string.h:66: error: syntax error before 'size_t'
../string/string.h:67: warning: function declaration isn't a prototype
../string/string.h:77: error: syntax error before 'size_t'
../string/string.h:78: warning: function declaration isn't a prototype
../string/string.h:88: error: syntax error before 'size_t'
../string/string.h:89: warning: function declaration isn't a prototype
../string/string.h:96: error: syntax error before 'size_t'
../string/string.h:96: warning: function declaration isn't a prototype
../string/string.h:102: error: syntax error before 'size_t'
../string/string.h:103: warning: function declaration isn't a prototype
../string/string.h:109: error: syntax error before 'strxfrm'
../string/string.h:110: error: syntax error before 'size_t'
../string/string.h:111: warning: type defaults to 'int' in declaration of 'strxfrm'
../string/string.h:111: warning: function declaration isn't a prototype
../string/string.h:111: warning: data definition has no type or storage class
In file included from ../include/string.h:49,
from ../sysdeps/i386/i686/hp-timing.h:24,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../string/string.h:124: error: syntax error before 'strxfrm_l'
../string/string.h:124: error: syntax error before 'size_t'
../string/string.h:125: warning: type defaults to 'int' in declaration of 'strxfrm_l'
../string/string.h:125: warning: function declaration isn't a prototype
../string/string.h:125: warning: data definition has no type or storage class
../string/string.h:138: error: syntax error before 'size_t'
../string/string.h:139: warning: function declaration isn't a prototype
../string/string.h:184: error: syntax error before 'strcspn'
../string/string.h:185: warning: type defaults to 'int' in declaration of 'strcspn'
../string/string.h:185: warning: data definition has no type or storage class
../string/string.h:188: error: syntax error before 'strspn'
../string/string.h:189: warning: type defaults to 'int' in declaration of 'strspn'
../string/string.h:189: warning: data definition has no type or storage class
../string/string.h:225: error: syntax error before 'size_t'
../string/string.h:227: warning: function declaration isn't a prototype
../string/string.h:232: error: syntax error before 'size_t'
../string/string.h:233: warning: function declaration isn't a prototype
../string/string.h:235: error: syntax error before 'size_t'
../string/string.h:236: warning: function declaration isn't a prototype
../string/string.h:242: error: syntax error before 'strlen'
../string/string.h:243: warning: type defaults to 'int' in declaration of 'strlen'
../string/string.h:243: warning: data definition has no type or storage class
../string/string.h:249: error: syntax error before 'strnlen'
../string/string.h:249: error: syntax error before 'size_t'
../string/string.h:250: warning: type defaults to 'int' in declaration of 'strnlen'
../string/string.h:250: warning: function declaration isn't a prototype
../string/string.h:250: warning: data definition has no type or storage class
../string/string.h:281: error: syntax error before 'size_t'
../string/string.h:282: warning: function declaration isn't a prototype
../string/string.h:288: error: syntax error before 'size_t'
../string/string.h:288: warning: function declaration isn't a prototype
../string/string.h:292: error: syntax error before 'size_t'
../string/string.h:293: warning: function declaration isn't a prototype
../string/string.h:296: error: syntax error before 'size_t'
../string/string.h:296: warning: function declaration isn't a prototype
../string/string.h:299: error: syntax error before 'size_t'
../string/string.h:300: warning: function declaration isn't a prototype
../string/string.h:329: error: syntax error before 'size_t'
../string/string.h:330: warning: function declaration isn't a prototype
../string/string.h:341: error: syntax error before 'size_t'
../string/string.h:342: warning: function declaration isn't a prototype
../string/string.h:370: error: syntax error before 'size_t'
../string/string.h:371: warning: function declaration isn't a prototype
../string/string.h:373: error: syntax error before 'size_t'
../string/string.h:374: warning: function declaration isn't a prototype
../string/string.h:380: error: syntax error before 'size_t'
../string/string.h:380: warning: function declaration isn't a prototype
In file included from ../include/bits/string2.h:1,
from ../string/string.h:417,
from ../include/string.h:49,
from ../sysdeps/i386/i686/hp-timing.h:24,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../string/bits/string2.h:969: error: syntax error before '__strcspn_c1'
../string/bits/string2.h:969: warning: type defaults to 'int' in declaration of '__strcspn_c1'
../string/bits/string2.h:969: warning: data definition has no type or storage class
../string/bits/string2.h:971: error: syntax error before '__strcspn_c1'
../string/bits/string2.h:972: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strcspn_c1':
../string/bits/string2.h:973: error: syntax error before '__result'
../string/bits/string2.h:974: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: At top level:
../string/bits/string2.h:979: error: syntax error before '__strcspn_c2'
../string/bits/string2.h:980: warning: type defaults to 'int' in declaration of '__strcspn_c2'
../string/bits/string2.h:980: warning: data definition has no type or storage class
../string/bits/string2.h:982: error: syntax error before '__strcspn_c2'
../string/bits/string2.h:983: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strcspn_c2':
../string/bits/string2.h:984: error: syntax error before '__result'
../string/bits/string2.h:985: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: At top level:
../string/bits/string2.h:991: error: syntax error before '__strcspn_c3'
../string/bits/string2.h:992: warning: type defaults to 'int' in declaration of '__strcspn_c3'
../string/bits/string2.h:992: warning: data definition has no type or storage class
../string/bits/string2.h:994: error: syntax error before '__strcspn_c3'
../string/bits/string2.h:996: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strcspn_c3':
../string/bits/string2.h:997: error: syntax error before '__result'
../string/bits/string2.h:998: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: At top level:
../string/bits/string2.h:1045: error: syntax error before '__strspn_c1'
../string/bits/string2.h:1045: warning: type defaults to 'int' in declaration of '__strspn_c1'
../string/bits/string2.h:1045: warning: data definition has no type or storage class
../string/bits/string2.h:1047: error: syntax error before '__strspn_c1'
../string/bits/string2.h:1048: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strspn_c1':
../string/bits/string2.h:1049: error: syntax error before '__result'
../string/bits/string2.h:1051: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: At top level:
../string/bits/string2.h:1056: error: syntax error before '__strspn_c2'
../string/bits/string2.h:1057: warning: type defaults to 'int' in declaration of '__strspn_c2'
../string/bits/string2.h:1057: warning: data definition has no type or storage class
../string/bits/string2.h:1059: error: syntax error before '__strspn_c2'
../string/bits/string2.h:1060: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strspn_c2':
../string/bits/string2.h:1061: error: syntax error before '__result'
../string/bits/string2.h:1063: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: At top level:
../string/bits/string2.h:1068: error: syntax error before '__strspn_c3'
../string/bits/string2.h:1069: warning: type defaults to 'int' in declaration of '__strspn_c3'
../string/bits/string2.h:1069: warning: data definition has no type or storage class
../string/bits/string2.h:1071: error: syntax error before '__strspn_c3'
../string/bits/string2.h:1072: warning: return type defaults to 'int'
../string/bits/string2.h: In function '__strspn_c3':
../string/bits/string2.h:1073: error: syntax error before '__result'
../string/bits/string2.h:1075: error: '__result' undeclared (first use in this function)
../string/bits/string2.h: In function '__strpbrk_c2':
../string/bits/string2.h:1129: error: 'size_t' undeclared (first use in this function)
../string/bits/string2.h:1129: error: syntax error before '__s'
../string/bits/string2.h:1130: warning: no return statement in function returning non-void
../string/bits/string2.h: In function '__strpbrk_c3':
../string/bits/string2.h:1142: error: 'size_t' undeclared (first use in this function)
../string/bits/string2.h:1142: error: syntax error before '__s'
../string/bits/string2.h:1143: warning: no return statement in function returning non-void
../string/bits/string2.h: At top level:
../string/bits/string2.h:1323: error: syntax error before 'size_t'
../string/bits/string2.h:1324: warning: function declaration isn't a prototype
In file included from ../sysdeps/i386/i686/hp-timing.h:24,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/string.h:118: error: syntax error before 'size_t'
../include/string.h:119: warning: function declaration isn't a prototype
../include/string.h:120: error: syntax error before 'size_t'
../include/string.h:121: warning: function declaration isn't a prototype
../include/string.h:123: error: syntax error before 'size_t'
../include/string.h:124: warning: function declaration isn't a prototype
../include/string.h:125: error: syntax error before 'size_t'
../include/string.h:126: warning: function declaration isn't a prototype
../include/string.h:129: error: syntax error before 'size_t'
../include/string.h:129: warning: function declaration isn't a prototype
../include/string.h:132: error: syntax error before 'size_t'
../include/string.h:132: warning: function declaration isn't a prototype
../include/string.h:135: error: syntax error before 'size_t'
../include/string.h:135: warning: function declaration isn't a prototype
../include/string.h:138: error: syntax error before 'size_t'
../include/string.h:138: warning: function declaration isn't a prototype
../include/string.h:141: error: syntax error before 'size_t'
../include/string.h:141: warning: function declaration isn't a prototype
In file included from ../include/time.h:5,
from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:23,
from ../nptl/descr.h:30,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../time/time.h:197: error: syntax error before 'strftime'
../time/time.h:197: error: syntax error before 'size_t'
../time/time.h:199: warning: type defaults to 'int' in declaration of 'strftime'
../time/time.h:199: warning: function declaration isn't a prototype
../time/time.h:199: warning: conflicting types for built-in function 'strftime'
../time/time.h:199: warning: data definition has no type or storage class
In file included from ../include/time.h:5,
from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:23,
from ../nptl/descr.h:30,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../time/time.h:215: error: syntax error before 'strftime_l'
../time/time.h:215: error: syntax error before 'size_t'
../time/time.h:218: warning: type defaults to 'int' in declaration of 'strftime_l'
../time/time.h:218: warning: function declaration isn't a prototype
../time/time.h:218: warning: data definition has no type or storage class
In file included from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:23,
from ../nptl/descr.h:30,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/time.h:33: error: syntax error before '__tzname_cur_max'
../include/time.h:33: warning: type defaults to 'int' in declaration of '__tzname_cur_max'
../include/time.h:33: warning: data definition has no type or storage class
../include/time.h:38: error: syntax error before 'size_t'
../include/time.h:39: warning: function declaration isn't a prototype
In file included from ../include/pthread.h:1,
from ../nptl/../nptl_db/thread_db.h:26,
from ../nptl/descr.h:33,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/sysdeps/pthread/pthread.h:259: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:259: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:263: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:263: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:319: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:320: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:326: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:326: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:332: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:332: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:338: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:338: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:345: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:346: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:351: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:352: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:399: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:400: warning: function declaration isn't a prototype
../nptl/sysdeps/pthread/pthread.h:403: error: syntax error before 'size_t'
../nptl/sysdeps/pthread/pthread.h:404: warning: function declaration isn't a prototype
In file included from ../nptl/descr.h:33,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/../nptl_db/thread_db.h:415: error: syntax error before 'size_t'
../nptl/../nptl_db/thread_db.h:416: warning: function declaration isn't a prototype
In file included from ../misc/sys/uio.h:29,
from ../include/sys/uio.h:2,
from ../socket/sys/socket.h:27,
from ../include/sys/socket.h:2,
from ../inet/netinet/in.h:24,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:11,
from ../nptl/descr.h:39,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../sysdeps/unix/sysv/linux/bits/uio.h:45: error: syntax error before 'size_t'
../sysdeps/unix/sysv/linux/bits/uio.h:45: warning: no semicolon at end of struct or union
In file included from ../socket/sys/socket.h:35,
from ../include/sys/socket.h:2,
from ../inet/netinet/in.h:24,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:11,
from ../nptl/descr.h:39,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../sysdeps/unix/sysv/linux/bits/socket.h:221: error: syntax error before 'size_t'
../sysdeps/unix/sysv/linux/bits/socket.h:221: warning: no semicolon at end of struct or union
../sysdeps/unix/sysv/linux/bits/socket.h:224: error: syntax error before 'msg_controllen'
../sysdeps/unix/sysv/linux/bits/socket.h:224: warning: type defaults to 'int' in declaration of 'msg_controllen'
../sysdeps/unix/sysv/linux/bits/socket.h:224: warning: data definition has no type or storage class
../sysdeps/unix/sysv/linux/bits/socket.h:227: error: syntax error before '}' token
../sysdeps/unix/sysv/linux/bits/socket.h:232: error: syntax error before 'size_t'
../sysdeps/unix/sysv/linux/bits/socket.h:232: warning: no semicolon at end of struct or union
../sysdeps/unix/sysv/linux/bits/socket.h:239: error: syntax error before '}' token
../sysdeps/unix/sysv/linux/bits/socket.h: In function '__cmsg_nxthdr':
../sysdeps/unix/sysv/linux/bits/socket.h:266: error: 'size_t' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/bits/socket.h:266: error: syntax error before '__cmsg'
../sysdeps/unix/sysv/linux/bits/socket.h:271: error: dereferencing pointer to incomplete type
../sysdeps/unix/sysv/linux/bits/socket.h:271: error: syntax error before '~' token
../sysdeps/unix/sysv/linux/bits/socket.h:271: error: syntax error before ')' token
../sysdeps/unix/sysv/linux/bits/socket.h:272: error: invalid use of undefined type 'struct cmsghdr'
../sysdeps/unix/sysv/linux/bits/socket.h:272: error: dereferencing pointer to incomplete type
../sysdeps/unix/sysv/linux/bits/socket.h:273: error: dereferencing pointer to incomplete type
../sysdeps/unix/sysv/linux/bits/socket.h:274: error: dereferencing pointer to incomplete type
../sysdeps/unix/sysv/linux/bits/socket.h:274: error: syntax error before '~' token
../sysdeps/unix/sysv/linux/bits/socket.h:275: error: syntax error before '>' token
In file included from ../include/sys/socket.h:2,
from ../inet/netinet/in.h:24,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:11,
from ../nptl/descr.h:39,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../socket/sys/socket.h: At top level:
../socket/sys/socket.h:136: error: syntax error before 'size_t'
../socket/sys/socket.h:136: warning: function declaration isn't a prototype
../socket/sys/socket.h:143: error: syntax error before 'size_t'
../socket/sys/socket.h:143: warning: function declaration isn't a prototype
../socket/sys/socket.h:150: error: syntax error before 'size_t'
../socket/sys/socket.h:152: warning: function declaration isn't a prototype
../socket/sys/socket.h:161: error: syntax error before 'size_t'
../socket/sys/socket.h:163: warning: function declaration isn't a prototype
In file included from ../inet/netinet/in.h:24,
from ../include/netinet/in.h:3,
from ../resolv/resolv.h:57,
from ../include/resolv.h:11,
from ../nptl/descr.h:39,
from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../include/sys/socket.h:29: error: syntax error before 'size_t'
../include/sys/socket.h:30: warning: function declaration isn't a prototype
../include/sys/socket.h:31: error: syntax error before 'size_t'
../include/sys/socket.h:31: warning: function declaration isn't a prototype
../include/sys/socket.h:36: error: syntax error before 'size_t'
../include/sys/socket.h:36: warning: function declaration isn't a prototype
../include/sys/socket.h:40: error: syntax error before 'size_t'
../include/sys/socket.h:42: warning: function declaration isn't a prototype
../include/sys/socket.h:48: error: syntax error before 'size_t'
../include/sys/socket.h:50: warning: function declaration isn't a prototype
../include/sys/socket.h:64: error: syntax error before 'size_t'
../include/sys/socket.h:66: warning: function declaration isn't a prototype
../include/sys/socket.h:67: error: syntax error before 'size_t'
../include/sys/socket.h:69: warning: function declaration isn't a prototype
../include/sys/socket.h:75: error: syntax error before 'size_t'
../include/sys/socket.h:77: warning: function declaration isn't a prototype
In file included from ../nptl/sysdeps/i386/i686/../tls.h:98,
from ../nptl/sysdeps/i386/i686/tls.h:34,
from ../include/tls.h:6,
from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
from <stdin>:1:
../nptl/descr.h:112: error: syntax error before 'tcbhead_t'
../nptl/descr.h:112: warning: no semicolon at end of struct or union
../nptl/descr.h:112: warning: no semicolon at end of struct or union
../nptl/descr.h:125: error: syntax error before '}' token
../nptl/descr.h:189: error: syntax error before 'specific_used'
../nptl/descr.h:189: warning: type defaults to 'int' in declaration of 'specific_used'
../nptl/descr.h:189: warning: data definition has no type or storage class
../nptl/descr.h:195: error: syntax error before 'report_events'
../nptl/descr.h:195: warning: type defaults to 'int' in declaration of 'report_events'
../nptl/descr.h:195: warning: data definition has no type or storage class
../nptl/descr.h:198: error: syntax error before 'user_stack'
../nptl/descr.h:198: warning: type defaults to 'int' in declaration of 'user_stack'
../nptl/descr.h:198: warning: data definition has no type or storage class
../nptl/descr.h:201: error: syntax error before 'stopped_start'
../nptl/descr.h:201: warning: type defaults to 'int' in declaration of 'stopped_start'
../nptl/descr.h:201: warning: data definition has no type or storage class
../nptl/descr.h:249: error: syntax error before 'stackblock_size'
../nptl/descr.h:249: warning: type defaults to 'int' in declaration of 'stackblock_size'
../nptl/descr.h:249: warning: data definition has no type or storage class
../nptl/descr.h:251: error: syntax error before 'guardsize'
../nptl/descr.h:251: warning: type defaults to 'int' in declaration of 'guardsize'
../nptl/descr.h:251: warning: data definition has no type or storage class
../nptl/descr.h:253: error: syntax error before 'reported_guardsize'
../nptl/descr.h:253: warning: type defaults to 'int' in declaration of 'reported_guardsize'
../nptl/descr.h:253: warning: data definition has no type or storage class
../nptl/descr.h:257: error: syntax error before '}' token
../nptl/descr.h:257: warning: empty declaration
<stdin>: In function 'dummy':
<stdin>:4: error: dereferencing pointer to incomplete type
<stdin>:5: error: dereferencing pointer to incomplete type
<stdin>:6: error: dereferencing pointer to incomplete type
<stdin>:7: error: dereferencing pointer to incomplete type
<stdin>:8: error: dereferencing pointer to incomplete type
<stdin>:9: error: syntax error before ')' token
<stdin>:10: error: syntax error before ')' token
<stdin>:11: error: dereferencing pointer to incomplete type
<stdin>: At top level:
../nptl/descr.h:256: warning: unused variable 'res'
../nptl/descr.h:253: warning: unused variable 'reported_guardsize'
../nptl/descr.h:251: warning: unused variable 'guardsize'
../nptl/descr.h:249: warning: unused variable 'stackblock_size'
../nptl/descr.h:248: warning: unused variable 'stackblock'
../nptl/descr.h:243: warning: unused variable 'exc'
../nptl/descr.h:239: warning: unused variable 'nextevent'
../nptl/descr.h:237: warning: unused variable 'eventbuf'
../nptl/descr.h:234: warning: unused variable 'arg'
../nptl/descr.h:233: warning: unused variable 'start_routine'
../nptl/descr.h:229: warning: unused variable 'schedpolicy'
../nptl/descr.h:228: warning: unused variable 'schedparam'
../nptl/descr.h:225: warning: unused variable 'result'
../nptl/descr.h:222: warning: unused variable 'flags'
../nptl/descr.h:217: warning: unused variable 'joinid'
../nptl/descr.h:208: warning: unused variable 'cpuclock_offset'
../nptl/descr.h:204: warning: unused variable 'lock'
../nptl/descr.h:201: warning: unused variable 'stopped_start'
../nptl/descr.h:198: warning: unused variable 'user_stack'
../nptl/descr.h:195: warning: unused variable 'report_events'
../nptl/descr.h:192: warning: unused variable 'specific'
../nptl/descr.h:189: warning: unused variable 'specific_used'
../nptl/descr.h:186: warning: unused variable 'specific_1stblock'
../nptl/descr.h:145: warning: unused variable 'cancelhandling'
../nptl/descr.h:141: warning: unused variable 'cleanup_jmp_buf'
../nptl/descr.h:138: warning: unused variable 'cleanup'
../nptl/descr.h:135: warning: unused variable 'pid'
../nptl/descr.h:132: warning: unused variable 'tid'
../nptl/descr.h:128: warning: unused variable 'list'
../nptl/descr.h:124: warning: unused variable '__padding'
../inet/netinet/in.h:207: warning: unused variable 'in6addr_loopback'
../inet/netinet/in.h:206: warning: unused variable 'in6addr_any'
make[2]: *** [/mnt/lfs/sources/glibc-build/tcb-offsets.h] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4'
make: *** [all] Error 2
作者: panjie1982 发布时间: 2006-03-04
你是不是用2.4内核RH9做主系统的?
建议你用LFS的LiveCD做一次.
建议你用LFS的LiveCD做一次.
作者: youbest 发布时间: 2006-03-04
请问楼主问题解决了吗?怎么解决的 阿
作者: happyhui 发布时间: 2007-09-16
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28