make depend error - libl
Peter Grehan
grehan at freebsd.org
Tue Jun 6 21:03:38 UTC 2006
Hi Aditya,
> 1. I'm trying to compile the ppc kernel. I've taken the GENERIC config
> and running make depend stops in the aic7xxx/aicasm directory. The
> error is that the linker cannot find libl.
> This seems to be a userspace program. Can I bypass this step while
> compiling the kernel? Otherwise, how can I fix it? I am running fbsd 6
> on an i386.
It's not possible to build on i386 without doing a proper cross-build.
Which leads to your next question:
> 2. How can I setup a complete crosscompile environment including the
> cross compiled libc and other libraries?
You'll want to grab hold of a FreeBSD source tree. Then, cd to the
src/ directory, and 'make buildworld TARGET_ARCH=powerpc', and then
'make buildkernel TARGET_ARCH=powerpc'.
'man build' and 'man development' has more info, as well as the
developer section of the FreeBSD website.
later,
Peter.
More information about the freebsd-ppc
mailing list