[CUWiN-Dev] error when building 0.5.9 from source

zzeng2 at uiuc.edu zzeng2 at uiuc.edu
Fri Jan 13 20:32:06 CST 2006


I'm trying to build an image from the 0.5.9 source using 
cuwin-0.5.9-src-main/boot-image/build.

I modified 'build' to match my paths as follows:
EXTSRC=$HOME/cuwin-0.5.9-src-extern
BUILDDIR=$HOME/scratch-cuw CUWSRC=$(dirname $0)
SRC=${SRC:-$HOME/cuwin-0.5.9-src-netbsd/src}

and the last line of 'build', I use -i
./mkstaboot $MKSTABOOT_OPTS -i justtestimg -s $SRC -P $PWDDB 
${EXTRAS:-} "$@"
----------

cuwin-0.5.9-src-extern             cuwin-0.5.9-src-netbsd  
scratch-cuw                        cuwin-0.5.9-src-main

are all in the same directory.


The problem error occurs in step 'modules':

nbmake: don't know how to make cgi.c. Stop

nbmake: stopped in /nfshome/zzeng2/cuwin-0.5.9-src-
main/clearsilver/cgi

*** Failed target:  depend-cgi
*** Failed command: _makedirtarget() { dir="$1"; shift; 
target="$1"; shift; case "${dir}" in /*) this="${dir}/"; 
real="${dir}" ;; .) this="clearsilver/"; 
real="/nfshome/zzeng2/cuwin-0.5.9-src-main/clearsilver" ;; 
*) this="clearsilver/${dir}/"; real="/nfshome/zzeng2/cuwin-
0.5.9-src-main/clearsilver/${dir}" ;; esac; show=${this:-.}; 
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; 
cd "${real}" && /nfshome/zzeng2/scratch-cuw/T/bin/nbmake 
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget cgi 
depend
*** Error code 2

Stop.
nbmake: stopped in /nfshome/zzeng2/cuwin-0.5.9-src-
main/clearsilver

*** Failed target:  depend-clearsilver
*** Failed command: _makedirtarget() { dir="$1"; shift; 
target="$1"; shift; case "${dir}" in /*) this="${dir}/"; 
real="${dir}" ;; .) this=""; real="/nfshome/zzeng2/cuwin-
0.5.9-src-main" ;; *) this="${dir}/"; 
real="/nfshome/zzeng2/cuwin-0.5.9-src-main/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: 
$@)}"; cd "${real}" && /nfshome/zzeng2/scratch-
cuw/T/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; 
_makedirtarget clearsilver depend
*** Error code 1

Stop.
nbmake: stopped in /nfshome/zzeng2/cuwin-0.5.9-src-main
-----------------------
I found almost the same question in previous post, but after 
adding EXTSRC and remove scratch-cuw/Z, I still got the same 
problem. I cannot empty the whole scratch-cuw directory as 
Mark Summer suggested. If so, the build starts from the very 
begining(tool). Any suggestions?

Thanks a lot!

Zheng Zeng 


More information about the CU-Wireless-Dev mailing list