[slackintosh-users] Re: kernel headers

  • From: Joost Kremers <joostkremers@xxxxxxxxxxx>
  • To: slackintosh-users@xxxxxxxxxxxxx
  • Date: Thu, 12 Apr 2007 22:26:10 +0200

On Thu, Apr 12, 2007 at 03:04:16PM +0200, Adrian Ulrich wrote:
> 
> > cc1: include/linux/autoconf.h: No such file or directory
> > i'm not sure where mol is looking for include/linux/autoconf.h...
> 
> You did not configure the kernel at /usr/src/linux-foo
> 
>  - cd /usr/src/linux-foo
>  - zcat /proc/config.gz > .config ; make oldconfig ; make bzImage

mmm, there's no target bzImage, but just make works too, of course.

anyway, the error disappeared, but was replaced by another one... 

= Building molvconfig            
+ Entering kmod
+ Entering Linux
  AS [x]   /home/joost/src/mol-0.9.72/obj-ppc/build/src/kmod/_traps.o
  Building modules, stage 2.
    Kernel source                 : /lib/modules/2.6.17.13/build
    Module compiled for           :     2.6.17.13
    Running kernel                : 2.6.17.13
/bin/sh: line 0: test: ../../../obj-ppc/lib/modules/: binary operator expected
ln: `../../../obj-ppc/lib/modules/': hard link not allowed for directory
make[4]: *** [all-local] Error 1
make[3]: *** [sub-Linux-all] Error 2
make[2]: *** [sub-kmod-all] Error 2
make[1]: *** [sub-src-all] Error 2
make: *** [auto-bootstrap] Error 2

anyways, i think i'll follow marco's suggestion and see about creating a
disk image without mol-img.

-- 
Joost Kremers, PhD
University of Cologne
Institute for German Language and Literature
Albertus Magnus Platz
50923 Cologne, Germany
Tel. +49 221 / 4703807

Other related posts: