Subject: Re: custom kernel doesn't build on macppc (long)
To: Havard Eidnes <>
From: <>
List: current-users
Date: 09/12/2004 20:39:08
Havard Eidnes wrote:

>I would have expected an error message from ld in there between
>the "link MYKERNEL/netbsd" line and the "Failed target:" line.
>Are you certain you redirected stderr as well as stdout to the
>build log (if you did any redirection, that is...)?
>Without the error message giving details about what exactly went
>wrong during linking, it's hard to suggest a fix.
>- Håvard
Thanks! You were right... it seems to be the snapper driver
(I suppose :-))...

  2113    #      link  MYKERNEL/netbsd
  2114    /usr/src/obj/tooldir.NetBSD-2.0_BETA-powerpc/bin/
powerpc--netbsd-ld -N -Ttext 0x100000 -e __start -S -o netbsd
 ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
  2115    snapper.o(.text+0x1170): In function `tas3004_write':
  2116    : undefined reference to `ki2c_write'
  2117    snapper.o(.text+0x18e4): In function `snapper_init':
  2118    : undefined reference to `ki2c_writereg'
  2120    *** Failed target:  netbsd
  2121    *** Failed command: echo '# ' [...]
And now? [Must I forget music on my laptop :-)?]

Thanks again