[CUWiN-Dev] Problems building 0.5.9 from source

Mark Summer mslists at kermit.org
Sat Nov 26 17:00:34 CST 2005


I'm trying to build a flash image from the 0.5.9 sources for a Geode  
based board (WRAP) and the compilation fails. I'm not very  
experienced with NetBSD so I'm not too sure where to start looking.

Here are the details or my environment and the error message I get.  
Any ideas on what's wrong ?

I've got a NetBSD box setup and running here on which I'm trying to  
compile the CUWiN sources.
I downloaded the the sources (all three files) and expanded them in  
my home directory and created a scratch directory.
In $HOME/cuwin-0.5.9/cuwin-0.5.9-src-main/boot-image I modified  
"buildgeode128" to match my paths and then execute it. It runs for  
quite a while (I've got a really slow system) and then bombs with  
these errors:


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

nbmake: stopped in /home/mark/cuwin-0.5.9/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="/home/mark/cuwin-0.5.9/cuwin-0.5.9-src- 
main/clearsilver" ;; *) this="clearsilver/${dir}/"; real="/home/mark/ 
cuwin-0.5.9/cuwin-0.5.9-src-main/clearsilver/${dir}" ;; esac; show=$ 
{this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "$ 
{real}" && /home/mark/cuwin-0.5.9/scratch/T/bin/nbmake _THISDIR_="$ 
{this}" "$@" ${target}; }; _makedirtarget cgi depend
*** Error code 2

Stop.
nbmake: stopped in /home/mark/cuwin-0.5.9/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="/home/mark/cuwin-0.5.9/cuwin-0.5.9-src-main" ;; *)  
this="${dir}/"; real="/home/mark/cuwin-0.5.9/cuwin-0.5.9-src-main/$ 
{dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+  
(with: $@)}"; cd "${real}" && /home/mark/cuwin-0.5.9/scratch/T/bin/ 
nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget  
clearsilver depend
*** Error code 1

Stop.
nbmake: stopped in /home/mark/cuwin-0.5.9/cuwin-0.5.9-src-main


Thanks a lot,

Mark


More information about the CU-Wireless-Dev mailing list