View Single Post
Old 29th June 2009
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 192
Default

Quote:
Originally Posted by SPlissken View Post
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 View Post
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.
__________________
The best way to learn UNIX is to play with it, and the harder you play, the more you learn.
If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD
Reply With Quote