Paste: make error: Can't find size_t

Author: rictic
Mode: text
Date: Mon, 11 May 2009 22:38:49
Plain Text |
[speedy]$ echo $PATH
/home/teledroid/build/gcc-4.4.0/host-i686-pc-linux-gnu/gcc:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
[speedy]$ g++ --version
g++ (GCC) 4.4.0
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[speedy]$ make clean
rm -f vm/*.o
rm -f factor.dll
rm -f libfactor.*
rm -f libfactor-ffi-test.*
rm -f Factor.app/Contents/Frameworks/libfactor.dylib
[speedy]$ make
make `./build-support/factor.sh make-target`
make[1]: Entering directory `/home/.urban/teledroid/build/factor'
make factor factor-ffi-test CONFIG=vm/Config.linux.x86.32
make[2]: Entering directory `/home/.urban/teledroid/build/factor'
g++ -c -Wall -O3  -fomit-frame-pointer -export-dynamic -fno-builtin-strlen -fno-builtin-strcat -o vm/os-unix.o vm/os-unix.cpp
In file included from /usr/include/sys/types.h:31,
                 from /usr/include/bits/fcntl.h:25,
                 from /usr/include/fcntl.h:33,
                 from vm/master.hpp:13,
                 from vm/os-unix.cpp:1:
/usr/include/bits/types.h:31:20: error: stddef.h: No such file or directory
In file included from vm/master.hpp:14,
                 from vm/os-unix.cpp:1:
/usr/include/limits.h:124:26: error: no include path in which to search for limits.h
In file included from vm/os-unix.cpp:1:
vm/master.hpp:16:21: error: stdbool.h: No such file or directory
In file included from /usr/include/stdio.h:72,
                 from vm/master.hpp:18,
                 from vm/os-unix.cpp:1:
/usr/include/libio.h:53:21: error: stdarg.h: No such file or directory
In file included from /usr/include/sys/param.h:22,
                 from vm/master.hpp:23,
                 from vm/os-unix.cpp:1:
/usr/include/limits.h:124:26: error: no include path in which to search for limits.h
In file included from vm/os-unix.cpp:1:
vm/master.hpp:27:37: error: tr1/unordered_map: No such file or directory
In file included from /usr/include/sys/types.h:266,
                 from /usr/include/bits/fcntl.h:25,
                 from /usr/include/fcntl.h:33,
                 from vm/master.hpp:13,
                 from vm/os-unix.cpp:1:
/usr/include/bits/pthreadtypes.h:50: error: 'size_t' does not name a type
/usr/include/bits/pthreadtypes.h:53: error: 'size_t' does not name a type
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from vm/master.hpp:18,
                 from vm/os-unix.cpp:1:
/usr/include/gconv.h:72: error: 'size_t' has not been declared
/usr/include/gconv.h:88: error: 'size_t' has not been declared
/usr/include/gconv.h:97: error: 'size_t' has not been declared
/usr/include/gconv.h:174: error: 'size_t' does not name a type
In file included from /usr/include/stdio.h:72,
                 from vm/master.hpp:18,
                 from vm/os-unix.cpp:1:
/usr/include/libio.h:351: error: 'size_t' has not been declared
/usr/include/libio.h:360: error: 'size_t' has not been declared
/usr/include/libio.h:464: error: '__gnuc_va_list' has not been declared
/usr/include/libio.h:466: error: '__gnuc_va_list' has not been declared
/usr/include/libio.h:468: error: 'size_t' does not name a type
In file included from vm/master.hpp:18,
                 from vm/os-unix.cpp:1:
/usr/include/stdio.h:77: error: '__gnuc_va_list' does not name a type
In file included from vm/master.hpp:18,
                 from vm/os-unix.cpp:1:
/usr/include/stdio.h:284: error: 'size_t' has not been declared
/usr/include/stdio.h:290: error: 'size_t' has not been declared
/usr/include/stdio.h:302: error: 'size_t' has not been declared
/usr/include/stdio.h:309: error: 'size_t' has not been declared
/usr/include/stdio.h:337: error: '__gnuc_va_list' has not been declared
/usr/include/stdio.h:342: error: '__gnuc_va_list' has not been declared
/usr/include/stdio.h:345: error: '__gnuc_va_list' has not been declared
/usr/include/stdio.h:351: error: 'size_t' has not been declared
/usr/include/stdio.h:355: error: 'size_t' has not been declared
/usr/include/stdio.h:356: error: '__gnuc_va_list' has not been declared
/usr/include/stdio.h:365: error: '__gnuc_va_list' has not been declared
/usr/include/stdio.h:381: error: '__gnuc_va_list' has not been declared
/usr/include/stdio.h:412: error: '__gnuc_va_list' has not been declared
/usr/include/stdio.h:419: error: '__gnuc_va_list' has not been declared
/usr/include/stdio.h:424: error: '__gnuc_va_list' has not been declared
/usr/include/stdio.h:560: error: 'size_t' has not been declared
/usr/include/stdio.h:563: error: 'size_t' has not been declared
/usr/include/stdio.h:573: error: 'size_t' has not been declared
/usr/include/stdio.h:603: error: 'size_t' does not name a type
/usr/include/stdio.h:609: error: 'size_t' does not name a type
/usr/include/stdio.h:631: error: 'size_t' does not name a type
/usr/include/stdio.h:633: error: 'size_t' does not name a type
In file included from vm/master.hpp:18,
                 from vm/os-unix.cpp:1:
/usr/include/stdio.h:798: error: '__gnuc_va_list' has not been declared
In file included from /usr/include/stdio.h:828,
                 from vm/master.hpp:18,
                 from vm/os-unix.cpp:1:
/usr/include/bits/stdio.h:34: error: '__gnuc_va_list' has not been declared
/usr/include/bits/stdio.h:102: error: 'size_t' has not been declared
In file included from vm/master.hpp:19,
                 from vm/os-unix.cpp:1:
/usr/include/stdlib.h:137: error: 'size_t' does not name a type
In file included from vm/master.hpp:19,
                 from vm/os-unix.cpp:1:
/usr/include/stdlib.h:433: error: 'size_t' has not been declared
/usr/include/stdlib.h:462: error: 'size_t' has not been declared
/usr/include/stdlib.h:556: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:556: error: expected ',' or ';' before 'throw'
/usr/include/stdlib.h:558: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:558: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:558: error: initializer expression list treated as compound expression
/usr/include/stdlib.h:559: error: expected ',' or ';' before 'throw'
/usr/include/stdlib.h:567: error: 'size_t' has not been declared
In file included from /usr/include/stdlib.h:578,
                 from vm/master.hpp:19,
                 from vm/os-unix.cpp:1:
/usr/include/alloca.h:33: error: 'size_t' was not declared in this scope
/usr/include/alloca.h:33: error: expected ',' or ';' before 'throw'
In file included from vm/master.hpp:19,
                 from vm/os-unix.cpp:1:
/usr/include/stdlib.h:583: error: 'size_t' was not declared in this scope
/usr/include/stdlib.h:583: error: expected ',' or ';' before 'throw'
/usr/include/stdlib.h:588: error: 'size_t' has not been declared
/usr/include/stdlib.h:588: error: 'size_t' has not been declared
/usr/include/stdlib.h:739: error: 'size_t' has not been declared
/usr/include/stdlib.h:739: error: 'size_t' has not been declared
/usr/include/stdlib.h:743: error: 'size_t' has not been declared
/usr/include/stdlib.h:743: error: 'size_t' has not been declared
/usr/include/stdlib.h:812: error: 'size_t' has not been declared
/usr/include/stdlib.h:815: error: 'size_t' has not been declared
/usr/include/stdlib.h:819: error: 'size_t' has not been declared
/usr/include/stdlib.h:822: error: 'size_t' has not been declared
/usr/include/stdlib.h:830: error: 'size_t' has not been declared
/usr/include/stdlib.h:834: error: 'size_t' has not been declared
/usr/include/stdlib.h:841: error: 'size_t' does not name a type
/usr/include/stdlib.h:844: error: 'size_t' does not name a type
/usr/include/stdlib.h:906: error: 'size_t' has not been declared
In file included from vm/master.hpp:20,
                 from vm/os-unix.cpp:1:
/usr/include/string.h:39: error: 'size_t' has not been declared
/usr/include/string.h:42: error: 'size_t' has not been declared
/usr/include/string.h:51: error: 'size_t' has not been declared
/usr/include/string.h:58: error: 'size_t' has not been declared
/usr/include/string.h:61: error: 'size_t' has not been declared
/usr/include/string.h:65: error: 'size_t' has not been declared
/usr/include/string.h:75: error: 'size_t' has not been declared
/usr/include/string.h:86: error: 'size_t' has not been declared
/usr/include/string.h:93: error: 'size_t' has not been declared
/usr/include/string.h:99: error: 'size_t' has not been declared
/usr/include/string.h:106: error: 'size_t' does not name a type
/usr/include/string.h:120: error: 'size_t' does not name a type
/usr/include/string.h:133: error: 'size_t' has not been declared
/usr/include/string.h:176: error: 'size_t' does not name a type
/usr/include/string.h:180: error: 'size_t' does not name a type
/usr/include/string.h:215: error: 'size_t' has not been declared
/usr/include/string.h:216: error: 'size_t' has not been declared
/usr/include/string.h:222: error: 'size_t' has not been declared
/usr/include/string.h:224: error: 'size_t' has not been declared
/usr/include/string.h:230: error: 'size_t' does not name a type
/usr/include/string.h:236: error: 'size_t' does not name a type
/usr/include/string.h:248: error: 'size_t' has not been declared
/usr/include/string.h:253: error: 'size_t' has not been declared
/usr/include/string.h:257: error: 'size_t' has not been declared
/usr/include/string.h:260: error: 'size_t' has not been declared
/usr/include/string.h:263: error: 'size_t' has not been declared
/usr/include/string.h:291: error: 'size_t' has not been declared
/usr/include/string.h:302: error: 'size_t' has not been declared
/usr/include/string.h:330: error: 'size_t' has not been declared
/usr/include/string.h:332: error: 'size_t' has not been declared
/usr/include/string.h:338: error: 'size_t' has not been declared
In file included from vm/master.hpp:21,
                 from vm/os-unix.cpp:1:
/usr/include/time.h:197: error: 'size_t' does not name a type
/usr/include/time.h:215: error: 'size_t' does not name a type
In file included from vm/master.hpp:22,
                 from vm/os-unix.cpp:1:
/usr/include/unistd.h:312: error: 'size_t' has not been declared
/usr/include/unistd.h:318: error: 'size_t' has not been declared
/usr/include/unistd.h:328: error: 'size_t' has not been declared
/usr/include/unistd.h:336: error: 'size_t' has not been declared
/usr/include/unistd.h:356: error: 'size_t' has not been declared
/usr/include/unistd.h:360: error: 'size_t' has not been declared
/usr/include/unistd.h:448: error: 'size_t' has not been declared
In file included from vm/master.hpp:22,
                 from vm/os-unix.cpp:1:
/usr/include/unistd.h:538: error: 'size_t' does not name a type
/usr/include/unistd.h:707: error: 'size_t' has not been declared
/usr/include/unistd.h:732: error: 'size_t' has not been declared
/usr/include/unistd.h:761: error: 'size_t' has not been declared
In file included from vm/master.hpp:22,
                 from vm/os-unix.cpp:1:
/usr/include/unistd.h:783: error: 'size_t' has not been declared
/usr/include/unistd.h:790: error: 'size_t' has not been declared
/usr/include/unistd.h:800: error: 'size_t' has not been declared
/usr/include/unistd.h:801: error: 'size_t' has not been declared
/usr/include/unistd.h:818: error: 'size_t' has not been declared
/usr/include/unistd.h:819: error: 'size_t' has not been declared
In file included from vm/os-unix.hpp:1,
                 from vm/platform.hpp:27,
                 from vm/master.hpp:38,
                 from vm/os-unix.cpp:1:
/usr/include/dirent.h:311: error: 'size_t' has not been declared
/usr/include/dirent.h:327: error: 'size_t' has not been declared
In file included from vm/os-unix.hpp:2,
                 from vm/platform.hpp:27,
                 from vm/master.hpp:38,
                 from vm/os-unix.cpp:1:
/usr/include/sys/mman.h:58: error: 'size_t' has not been declared
/usr/include/sys/mman.h:71: error: 'size_t' has not been declared
/usr/include/sys/mman.h:77: error: 'size_t' has not been declared
/usr/include/sys/mman.h:82: error: 'size_t' has not been declared
/usr/include/sys/mman.h:90: error: 'size_t' has not been declared
/usr/include/sys/mman.h:95: error: 'size_t' has not been declared
/usr/include/sys/mman.h:99: error: 'size_t' has not been declared
/usr/include/sys/mman.h:104: error: 'size_t' has not been declared
/usr/include/sys/mman.h:107: error: 'size_t' has not been declared
/usr/include/sys/mman.h:122: error: 'size_t' has not been declared
/usr/include/sys/mman.h:122: error: 'size_t' has not been declared
/usr/include/sys/mman.h:130: error: 'size_t' has not been declared
/usr/include/sys/mman.h:135: error: 'size_t' has not been declared
/usr/include/sys/mman.h:136: error: 'size_t' has not been declared
In file included from vm/os-unix.hpp:7,
                 from vm/platform.hpp:27,
                 from vm/master.hpp:38,
                 from vm/os-unix.cpp:1:
/usr/include/dlfcn.h:150: error: 'size_t' does not name a type
In file included from /usr/include/signal.h:341,
                 from vm/os-unix.hpp:8,
                 from vm/platform.hpp:27,
                 from vm/master.hpp:38,
                 from vm/os-unix.cpp:1:
/usr/include/bits/sigstack.h:54: error: 'size_t' does not name a type
In file included from /usr/include/pthread.h:20,
                 from vm/os-unix.hpp:9,
                 from vm/platform.hpp:27,
                 from vm/master.hpp:38,
                 from vm/os-unix.cpp:1:
/usr/include/sched.h:76: error: 'size_t' has not been declared
/usr/include/sched.h:80: error: 'size_t' has not been declared
In file included from vm/os-unix.hpp:9,
                 from vm/platform.hpp:27,
                 from vm/master.hpp:38,
                 from vm/os-unix.cpp:1:
/usr/include/pthread.h:247: error: 'size_t' has not been declared
/usr/include/pthread.h:251: error: 'size_t' has not been declared
/usr/include/pthread.h:272: error: 'size_t' has not been declared
/usr/include/pthread.h:277: error: 'size_t' has not been declared
/usr/include/pthread.h:284: error: 'size_t' has not been declared
/usr/include/pthread.h:288: error: 'size_t' has not been declared
In file included from vm/platform.hpp:112,
                 from vm/master.hpp:38,
                 from vm/os-unix.cpp:1:
vm/cpu-x86.hpp:61: error: 'size_t' has not been declared
In file included from vm/master.hpp:64,
                 from vm/os-unix.cpp:1:
vm/code_gc.hpp:28: error: 'std::tr1' has not been declared
vm/code_gc.hpp:28: error: expected ',' or '...' before '<' token
vm/code_gc.hpp:29: error: 'std::tr1' has not been declared
vm/code_gc.hpp:29: error: expected ',' or '...' before '<' token
In file included from vm/master.hpp:75,
                 from vm/os-unix.cpp:1:
vm/utilities.hpp:4: error: 'size_t' was not declared in this scope
vm/os-unix.cpp: In function 'factor::segment* factor::alloc_segment(factor::cell)':
vm/os-unix.cpp:82: error: 'factor::safe_malloc' cannot be used as a function
make[2]: *** [vm/os-unix.o] Error 1
make[2]: Leaving directory `/home/.urban/teledroid/build/factor'
make[1]: *** [linux-x86-32] Error 2
make[1]: Leaving directory `/home/.urban/teledroid/build/factor'
make: *** [default] Error 2

New Annotation

Summary:
Author:
Mode:
Body: