Subject: build of alpha (cross from amd64) fails in
To: None <current-users@netbsd.org, port-alpha@netbsd.org>
From: Rhialto <rhialto@falu.nl>
List: current-users
Date: 09/24/2005 02:58:04
On Sat 24 Sep 2005 at 01:17:10 +0200, Rhialto wrote:
> It seems that the problem was a very old objdir for Alpha that was still
> around from when I was building on my Alpha itself.
But the following seems to be a real problem. A missing header include
perhaps? <sys/socket.h> defines MSG_OOB but it does not seem to be
included.
===> build.sh command: ./build.sh -D /vol1/rhialto/destdir.alpha -m alpha -O /vol1/rhialto/obj.alpha -R /vol1/rhialto/release.alpha -T /vol1/rhialto/tools.amd64 -u -U -N 1 release
===> build.sh started: Sat Sep 24 01:13:09 CEST 2005
objdir /vol1/rhialto/obj.alpha/tools
===> MACHINE: alpha
===> MACHINE_ARCH: alpha
===> TOOLDIR path: /vol1/rhialto/tools.amd64
===> DESTDIR path: /vol1/rhialto/destdir.alpha
===> RELEASEDIR path: /vol1/rhialto/release.alpha
===> makewrapper: /vol1/rhialto/tools.amd64/bin/nbmake-alpha
===> Updated /vol1/rhialto/tools.amd64/bin/nbmake-alpha
...
dependall ===> sys/lkm/compat/osf1
create osf1/lkminit_emul.d
...
create osf1/osf1_time.d
create osf1/.depend
compile osf1/lkminit_emul.o
compile osf1/osf1_cvt.o
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:251: error: `MSG_OOB' undeclared here (not in a function)
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:251: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:251: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[0].nval')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:251: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:251: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[0]')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:252: error: `MSG_PEEK' undeclared here (not in a function)
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:252: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:252: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[1].nval')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:252: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:252: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[1]')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:253: error: `MSG_DONTROUTE' undeclared here (not in a function)
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:253: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:253: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[2].nval')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:253: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:253: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[2]')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:254: error: `MSG_EOR' undeclared here (not in a function)
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:254: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:254: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[3].nval')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:254: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:254: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[3]')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:255: error: `MSG_TRUNC' undeclared here (not in a function)
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:255: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:255: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[4].nval')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:255: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:255: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[4]')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:256: error: `MSG_CTRUNC' undeclared here (not in a function)
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:256: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:256: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[5].nval')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:256: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:256: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[5]')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:257: error: `MSG_WAITALL' undeclared here (not in a function)
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:257: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:257: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[6].nval')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:257: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:257: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[6]')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:258: error: initializer element is not constant
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:258: error: (near initialization for `osf1_sendrecv_msg_flags_xtab[7]')
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c: In function `osf1_cvt_msghdr_xopen_to_native':
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:411: error: dereferencing pointer to incomplete type
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:412: error: dereferencing pointer to incomplete type
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:413: error: dereferencing pointer to incomplete type
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:414: error: dereferencing pointer to incomplete type
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:417: error: dereferencing pointer to incomplete type
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:417: error: dereferencing pointer to incomplete type
/vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c:424: error: dereferencing pointer to incomplete type
*** Failed target: osf1_cvt.o
*** Failed command: /vol1/rhialto/tools.amd64/bin/alpha--netbsd-gcc -O2 -ffreestanding -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Werror -mieee -mno-fp-regs -DSYSVSEM -DSYSVMSG -DSYSVSHM -DCOMPAT_OSF1 -nostdinc -nostdinc -I. -I/vol1/rhialto/cvs/src/sys/lkm/compat/osf1 -isystem /vol1/rhialto/cvs/src/sys -isystem /vol1/rhialto/cvs/src/sys/arch -D_KERNEL -D_LKM -c /vol1/rhialto/cvs/src/sys/compat/osf1/osf1_cvt.c
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src/sys/lkm/compat/osf1
*** Failed target: dependall
*** Failed command: cd /vol1/rhialto/cvs/src/sys/lkm/compat/osf1; /vol1/rhialto/tools.amd64/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src/sys/lkm/compat/osf1
*** Failed target: dependall-osf1
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="sys/lkm/compat/"; real="/vol1/rhialto/cvs/src/sys/lkm/compat" ;; *) this="sys/lkm/compat/${dir}/"; real="/vol1/rhialto/cvs/src/sys/lkm/compat/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget osf1 dependall
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src/sys/lkm/compat
*** Failed target: dependall-compat
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="sys/lkm/"; real="/vol1/rhialto/cvs/src/sys/lkm" ;; *) this="sys/lkm/${dir}/"; real="/vol1/rhialto/cvs/src/sys/lkm/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget compat dependall
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src/sys/lkm
*** Failed target: dependall-lkm
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="sys/"; real="/vol1/rhialto/cvs/src/sys" ;; *) this="sys/${dir}/"; real="/vol1/rhialto/cvs/src/sys/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lkm dependall
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src/sys
*** Failed target: dependall-sys
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/vol1/rhialto/cvs/src" ;; *) this="${dir}/"; real="/vol1/rhialto/cvs/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget sys dependall
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src
*** Failed target: do-build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/vol1/rhialto/cvs/src" ;; *) this="${dir}/"; real="/vol1/rhialto/cvs/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall BUILD_tools=no BUILD_lib=no
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/vol1/rhialto/cvs/src" ;; *) this="${dir}/"; real="/vol1/rhialto/cvs/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-build
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/vol1/rhialto/cvs/src" ;; *) this="${dir}/"; real="/vol1/rhialto/cvs/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src
*** Failed target: release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/vol1/rhialto/cvs/src" ;; *) this="${dir}/"; real="/vol1/rhialto/cvs/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . distribution
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src
ERROR: Failed to make release
*** BUILD ABORTED ***
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.