tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
issues to compile a kernel
Hi,
I working on Bi quad cores opteron (amd64, 8 cores), i want to customize
my kernel,
i've installed NetBSD 7.0rc3, also i download syssrc.gz and installed it.
When i try to compile tools > like this :
# ./build.sh tools into the directory /usr/src/.
i've got issues, this is my ouput :
-----------------------------------------------------------------------------------------------------
^
In file included from /usr/src/sys/fs/msdosfs/msdosfs_fat.c:72:0:
/usr/src/tools/makefs/../../usr.sbin/makefs/ffs/buf.h:78:6: note:
expected 'int' but argument is of type 'void *'
int bread(struct vnode *, daddr_t, int, int, struct buf **);
^
/usr/src/sys/fs/msdosfs/msdosfs_fat.c:959:8: error: too many arguments
to function 'bread'
NOCRED, 0, &bp);
^
In file included from /usr/src/sys/fs/msdosfs/msdosfs_fat.c:72:0:
/usr/src/tools/makefs/../../usr.sbin/makefs/ffs/buf.h:78:6: note:
declared here
int bread(struct vnode *, daddr_t, int, int, struct buf **);
^
*** Failed target: msdosfs_fat.lo
*** Failed command: cc -O -I.
-I/usr/src/obj/tooldir.NetBSD-7.0_RC3-amd64/include/nbinclude
-I/usr/src/obj/tooldir.NetBSD-7.0_RC3-amd64/include
-I/usr/src/obj/tooldir.NetBSD-7.0_RC3-amd64/include/nbinclude
-I/usr/src/obj/tooldir.NetBSD-7.0_RC3-amd64/include/compat
-I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64
-I/usr/src/tools/makefs/../../usr.sbin/makefs -I/usr/src/sbin/mknod
-I/usr/src/usr.sbin/mtree -DMAKEFS -I/usr/src/sys/fs/cd9660
-I/usr/src/sys/ufs/chfs -DV7FS_EI -I/usr/src/sys/fs/v7fs
-I/usr/src/sbin/newfs_v7fs -I/usr/src/sbin/fsck -DMSDOS_EI
-I/usr/src/sys/fs/msdosfs -I/usr/src/sbin/newfs_msdos
-I/usr/src/sys/fs/udf -I/usr/src/sbin/newfs_udf -I/usr/src/sbin/fsck -c
-o msdosfs_fat.lo.o /usr/src/sys/fs/msdosfs/msdosfs_fat.c
*** Error code 1
Stop.
nbmake[3]: stopped in /usr/src/tools/makefs
*** Failed target: dependall
*** Failed command: cd "/usr/src/tools/makefs";
/usr/src/obj/tooldir.NetBSD-7.0_RC3-amd64/bin/nbmake realall
*** Error code 1
Stop.
nbmake[2]: stopped in /usr/src/tools/makefs
*** Failed target: dependall-makefs
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src/tools" ;; *) this="${dir}/"; real="/usr/src/tools/${dir}"
;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$@)}"; cd "${real}" &&
/usr/src/obj/tooldir.NetBSD-7.0_RC3-amd64/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget makefs dependall
*** Error code 1
Stop.
nbmake[1]: stopped in /usr/src/tools
*** Failed target: build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src/tools" ;; *) this="${dir}/"; real="/usr/src/tools/${dir}"
;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
$@)}"; cd "${real}" &&
/usr/src/obj/tooldir.NetBSD-7.0_RC3-amd64/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget . dependall-dbsym dependall-mdsetimage
dependall-asn1_compile dependall-cksum dependall-compile_et dependall-db
dependall-file dependall-lint1 dependall-slc dependall-makefs
*** Error code 1
Stop.
nbmake: stopped in /usr/src/tools
ERROR: Failed to make build_install in "tools"
*** BUILD ABORTED ***
dct-pegasus#
----------------------------------------------------------------------------------------------------------------
Some one can help me ?
Regards
Philippe
Home |
Main Index |
Thread Index |
Old Index