Hi, just confirmed building world and buildkernel in teh /usr/src works fine. However, when I use freesbie2 to build it with "make flash", it failed with the same kernel conf file. Here is the errors: --------------------------------------------------------------
>>> stage 1.1: legacy release compatibility shims -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh /usr/ src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/ obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/ sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS="-m /usr/src/tools/build/mk __MAKE_CONF=/root/freesbie2/ conf/make.conf TARGET_ARCH=i386 SRCCONF=/dev/null -m /usr/src/share/ mk" make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=700055 - DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DWITHOUT_NLS - DNO_PIC -DWITHOUT_PROFILE -DNO...skipping... /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error: limits.h: No such file or directory /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error: time.h: No such file or directory In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/ unwind-dw2.c:40: /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'size_of_encoded_value': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:90: warning: incompatible implicit declaration of built-in function 'abort' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'base_of_encoded_value': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:122: warning: incompatible implicit declaration of built-in function 'abort' /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In function 'read_encoded_value_with_base': /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:259: warning: incompatible implicit declaration of built-in function 'abort' In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/ gthr.h:114, from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/ unwind-dw2.c:42: ./gthr-default.h:43:21: error: pthread.h: No such file or directory In file included from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/ gthr.h:114, from /usr/src/gnu/lib/libgcc/../../../contrib/gcc/ unwind-dw2.c:42: ./gthr-default.h: At top level: ./gthr-default.h:92: error: 'pthread_once' undeclared here (not in a function) ./gthr-default.h:93: error: 'pthread_getspecific' undeclared here (not in a function) ./gthr-default.h:94: error: 'pthread_setspecific' undeclared here (not in a function) ./gthr-default.h:95: error: 'pthread_create' undeclared here (not in a function) ./gthr-default.h:96: error: 'pthread_cancel' undeclared here (not in a function) ./gthr-default.h:97: error: 'pthread_mutex_lock' undeclared here (not in a function) ./gthr-default.h:98: error: 'pthread_mutex_trylock' undeclared here (not in a function) ./gthr-default.h:99: error: 'pthread_mutex_unlock' undeclared here (not in a function) ./gthr-default.h:100: error: 'pthread_mutex_init' undeclared here (not in a function) ./gthr-default.h:103: error: 'pthread_key_create' undeclared here (not in a function) ./gthr-default.h:104: error: 'pthread_key_delete' undeclared here (not in a function) ./gthr-default.h:105: error: 'pthread_mutexattr_init' undeclared here (not in a function) ./gthr-default.h:106: error: 'pthread_mutexattr_settype' undeclared here (not in a function) ./gthr-default.h:107: error: 'pthread_mutexattr_destroy' undeclared here (not in a function) ./gthr-default.h: In function '__gthread_once': ./gthr-default.h:575: error: called object '__gthrw_pthread_once' is not a function ./gthr-default.h: In function '__gthread_key_create': ./gthr-default.h:583: error: called object '__gthrw_pthread_key_create' is not a function ./gthr-default.h: In function '__gthread_key_delete': ./gthr-default.h:589: error: called object '__gthrw_pthread_key_delete' is not a function ./gthr-default.h: In function '__gthread_getspecific': ./gthr-default.h:595: error: called object '__gthrw_pthread_getspecific' is not a function ./gthr-default.h: In function '__gthread_setspecific': ./gthr-default.h:601: error: called object '__gthrw_pthread_setspecific' is not a function ./gthr-default.h: In function '__gthread_mutex_lock': ./gthr-default.h:608: error: called object '__gthrw_pthread_mutex_lock' is not a function ./gthr-default.h: In function '__gthread_mutex_trylock': ./gthr-default.h:617: error: called object '__gthrw_pthread_mutex_trylock' is not a function ./gthr-default.h: In function '__gthread_mutex_unlock': ./gthr-default.h:626: error: called object '__gthrw_pthread_mutex_unlock' is not a function ./gthr-default.h: In function '__gthread_recursive_mutex_init_function': ./gthr-default.h:640: error: called object '__gthrw_pthread_mutexattr_init' is not a function ./gthr-default.h:642: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) : -- FreeSBIE mailing list (http://www.freesbie.org)