Subject: Re: build fails: no machine/loadfile_machdep.h
To: None <current-users@netbsd.org>
From: Dheeraj Reddy <dheerajr@gmail.com>
List: current-users
Date: 05/03/2005 19:50:45
fwiw, it is funny that repeatedly running ./build.sh -u build OR make depen=
dall
would make the build succeed.

dheeraj
On 5/3/05, Jukka Salmi <j+nbsd@2005.salmi.ch> wrote:
> Hi,
>=20
> building currently fails:
>=20
> #    create  sa/loadfile.d
> [...]
> In file included from /usr/src/sys/lib/libsa/loadfile.c:90:
> /usr/src/sys/lib/libsa/loadfile.h:74:34: machine/loadfile_machdep.h: No s=
uch file or directory
> nbmkdep: compile failed.
>=20
> *** Failed target:  loadfile.d
> *** Failed command: CC=3D/opt/tools/i386/bin/i386--netbsdelf-gcc /opt/too=
ls/i386/bin/nbmkdep -f loadfile.d -- -I/usr/src/sys/arch/i386/stand/bootxx/=
bootxx_ffsv1/../../../../..//lib/libsa -DBOOTXX -I /usr/src/sys/arch/i386/s=
tand/bootxx/bootxx_ffsv1/../../lib -I /build/nbsd/i386/sys/arch/i386/stand/=
bootxx/bootxx_ffsv1 -DBOOTXX_SECTORS=3D15 -DPRIMARY_LOAD_ADDRESS=3D0x600 -D=
SECONDARY_LOAD_ADDRESS=3D0x10000 -DXXfs_open=3Dffsv1_open -DXXfs_close=3Dff=
sv1_close -DXXfs_read=3Dffsv1_read -DXXfs_stat=3Dffsv1_stat -DFS=3Dffsv1 -D=
NO_LBA_CHECK -nostdinc -D_STANDALONE -I/usr/src/sys/arch/i386/stand/bootxx/=
bootxx_ffsv1/../../../../../ -DLIBSA_SINGLE_FILESYSTEM=3Dxxfs -DLIBSA_NO_TW=
IDDLE -DLIBSA_NO_FD_CHECKING -DLIBSA_NO_RAW_ACCESS -DLIBSA_NO_FS_WRITE -DLI=
BSA_NO_FS_SEEK -DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET -DLIBSA_SINGLE_DEVICE=
=3Dblkdev -DLIBKERN_OPTIMISE_SPACE -D"blkdevioctl(x,y,z)=3DEINVAL" -D"blkde=
vclose(f)=3D0" -D"devopen(f,n,fl)=3D(*(fl)=3D(void *)n,0)" -DLIBSA_NO_DISKL=
ABEL_MSGS -nostdinc -isystem /opt/dst/i386/usr/include -DCOMPAT_UFS -nostdi=
nc -isystem /opt/dst/i386/usr/include /usr/src/sys/arch/i386/stand/bootxx/b=
ootxx_ffsv1/../../../../..//lib/libsa/loadfile.c
> *** Error code 1
>=20
> Stop.
> nbmake: stopped in /build/nbsd/i386/sys/arch/i386/stand/bootxx/bootxx_ffs=
v1/lib/sa
>=20
> *** Failed target:  dependsalib
>=20
> --
> bashian roulette:
> $ ((RANDOM%6)) || rm -rf ~
>=20


--=20
dheeraj