Subject: build fails: no machine/loadfile_machdep.h
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 05/03/2005 19:50:22
Hi,

building currently fails:

#    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 suc=
h file or directory
nbmkdep: compile failed.
 =20
*** Failed target:  loadfile.d
*** Failed command: CC=3D/opt/tools/i386/bin/i386--netbsdelf-gcc /opt/tools=
/i386/bin/nbmkdep -f loadfile.d -- -I/usr/src/sys/arch/i386/stand/bootxx/bo=
otxx_ffsv1/../../../../..//lib/libsa -DBOOTXX -I /usr/src/sys/arch/i386/sta=
nd/bootxx/bootxx_ffsv1/../../lib -I /build/nbsd/i386/sys/arch/i386/stand/bo=
otxx/bootxx_ffsv1 -DBOOTXX_SECTORS=3D15 -DPRIMARY_LOAD_ADDRESS=3D0x600 -DSE=
CONDARY_LOAD_ADDRESS=3D0x10000 -DXXfs_open=3Dffsv1_open -DXXfs_close=3Dffsv=
1_close -DXXfs_read=3Dffsv1_read -DXXfs_stat=3Dffsv1_stat -DFS=3Dffsv1 -DNO=
_LBA_CHECK -nostdinc -D_STANDALONE -I/usr/src/sys/arch/i386/stand/bootxx/bo=
otxx_ffsv1/../../../../../ -DLIBSA_SINGLE_FILESYSTEM=3Dxxfs -DLIBSA_NO_TWID=
DLE -DLIBSA_NO_FD_CHECKING -DLIBSA_NO_RAW_ACCESS -DLIBSA_NO_FS_WRITE -DLIBS=
A_NO_FS_SEEK -DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET -DLIBSA_SINGLE_DEVICE=3D=
blkdev -DLIBKERN_OPTIMISE_SPACE -D"blkdevioctl(x,y,z)=3DEINVAL" -D"blkdevcl=
ose(f)=3D0" -D"devopen(f,n,fl)=3D(*(fl)=3D(void *)n,0)" -DLIBSA_NO_DISKLABE=
L_MSGS -nostdinc -isystem /opt/dst/i386/usr/include -DCOMPAT_UFS -nostdinc =
-isystem /opt/dst/i386/usr/include /usr/src/sys/arch/i386/stand/bootxx/boot=
xx_ffsv1/../../../../..//lib/libsa/loadfile.c
*** Error code 1
 =20
Stop.
nbmake: stopped in /build/nbsd/i386/sys/arch/i386/stand/bootxx/bootxx_ffsv1=
/lib/sa
 =20
*** Failed target:  dependsalib

--=20
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~