Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: build failure in games/fortune/strfile/strfile.c
On Sun, Oct 19, 2008 at 09:58:24AM +0200, Alan Barrett wrote:
> On Sun, 19 Oct 2008, David Holland wrote:
> > On Sun, Oct 19, 2008 at 12:34:31AM -0400, Kurt J. Lidl wrote:
> > > /nbsd/src/tools/strfile/../../games/fortune/strfile/strfile.h:44: error:
> > syntax error before "u_int32_t"
> >
> > Does changing that to uint32_t fix things?
>
> It probably also needs to #include <stdint.h>. I have just committed a
> change which I hope will fix it.
Well, a 'cvs -q update -dP' tonight gives me a tree that fails before
it gets as far into the build. Now it dies build the 'tools' version
of awk.
Same environment -- cross-compile from a sparc running solaris 10 update 4,
building for a mvme68k.
-Kurt
# create awk/tran.d
/nbsd/mvme68k/tools/bin/nbhost-mkdep -f tran.d --
-I/nbsd/mvme68k/obj/tools/compat -I/nbsd/mvme68k/obj/tools/compat/include
-I/nbsd/src/tools/awk/../compat -DHAVE_NBTOOL_CONFIG_H=1
-D_FILE_OFFSET_BITS=64 -I/nbsd/src/dist/nawk -I. -DHAS_ISBLANK
/nbsd/src/dist/nawk/tran.c
# create awk/.depend
rm -f .depend
/nbsd/mvme68k/tools/bin/nbhost-mkdep -d -f .depend -s .lo\ .ln awkgram.d b.d
lex.d lib.d main.d parse.d proctab.d run.d tran.d
# compile awk/awkgram.lo
gcc64 -O -I/nbsd/mvme68k/obj/tools/compat
-I/nbsd/mvme68k/obj/tools/compat/include -I/nbsd/src/tools/awk/../compat
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/nbsd/src/dist/nawk -I.
-DHAS_ISBLANK -c -o awkgram.lo.o awkgram.c
In file included from /nbsd/src/dist/nawk/awk.h:232,
from /nbsd/src/dist/nawk/awkgram.y:32:
/nbsd/src/dist/nawk/proto.h:164: error: conflicting types for 'gettemp'
/nbsd/src/tools/awk/../compat/compat_defs.h:316: error: previous declaration of
'gettemp' was here
/nbsd/src/dist/nawk/proto.h:164: error: conflicting types for 'gettemp'
/nbsd/src/tools/awk/../compat/compat_defs.h:316: error: previous declaration of
'gettemp' was here
*** Failed target: awkgram.lo
*** Failed command: gcc64 -O -I/nbsd/mvme68k/obj/tools/compat
-I/nbsd/mvme68k/obj/tools/compat/include -I/nbsd/src/tools/awk/../compat
-DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/nbsd/src/dist/nawk -I.
-DHAS_ISBLANK -c -o awkgram.lo.o awkgram.c
*** Error code 1
Stop.
nbmake: stopped in /nbsd/src/tools/awk
*** Failed target: dependall
*** Failed command: cd /nbsd/src/tools/awk; /nbsd/mvme68k/tools/bin/nbmake
realall
*** Error code 1
Stop.
nbmake: stopped in /nbsd/src/tools/awk
*** Failed target: dependall-awk
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/";
real="/nbsd/src/tools" ;; *) this="tools/${dir}/";
real="/nbsd/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===>
${show%/}${1:+ (with: $@)}"; cd "${real}" && /nbsd/mvme68k/tools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget awk dependall
*** Error code 1
Stop.
nbmake: stopped in /nbsd/src/tools
*** Failed target: do-tools
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/nbsd/src" ;; *) this="${dir}/"; real="/nbsd/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}"
&& /nbsd/mvme68k/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget tools dependall
*** Error code 1
Stop.
nbmake: stopped in /nbsd/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/nbsd/src" ;; *) this="${dir}/"; real="/nbsd/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}"
&& /nbsd/mvme68k/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget . do-tools
*** Error code 1
Stop.
nbmake: stopped in /nbsd/src
ERROR: Failed to make build
*** BUILD ABORTED ***
Home |
Main Index |
Thread Index |
Old Index