Quote:
Originally Posted by SPlissken
well , i had several problem when trying to patch ath-0.10.5.10.patch
|
Sorry, my fault, it should be:
Code:
# cd /usr/src/sys
# patch < /path/ath-0.10.5.10.patch
Quote:
Originally Posted by SPlissken
And when trying to compile kernel i had link problem because usr/src was on external hard drive on fat file system because i have size issue on my 4Go SSD
ln: libintl.h: Operation not supported
configure: error: can not link libintl.h to /mnt/archos/usr/src/tools/binutils/../../gnu/dist/binutils/intl/libgettext.h
|
It fails most likely because FAT file system doesn't support symlinks. You would need FFS for that.
But, maybe you could try something like this:
Code:
BSDSRCDIR=/mnt/archos/usr/src # <- Put that entry in /etc/mk.conf
# build.sh -T /ffs_system/test/tools \
-D /ffs_system/test/destdir \
-R /ffs_system/test/release \
-O /ffs_system/test/obj tools kernel=GENERIC
Of course you would need to create those directories before starting build.sh, and they have to reside on a FFS partition.
I'm not on a NetBSD system and cannot check this right now, so I cannot tell you if this works. Experiment with options and see if it helps.