Subject: Re: athhal-elf.o: No such file or directory
To: None <port-i386@NetBSD.org, wulf@ping.net.au>
From: List Mail User <track@Plectere.com>
List: port-i386
Date: 11/14/2004 03:34:40
Does your kernel Makefile contain a section like below?
--------------------------------------------------------------------------------
# XXX - Ugly, but make doesn't easily handle .o.uue (assumes it's a suffix)
# XXX - Also, config has no simple was to just add foo.o to the Makefile.
# It needs a pathname of some sort for "object"
.if !empty(OBJS:M\/athhal-elf.o)
OBJS:=${OBJS:C/\/athhal-elf.o/athhal-elf.o/}
.PATH: $S/../contrib/sys/arch/i386/dev
ATH_UUDEC?= @${_MKSHMSG} "uudecode ${.CURDIR:T}/${.TARGET}"; \
${_MKSHECHO}\
${UUDECODE} -p $> \> ${.TARGET}; \
rm -f ${.TARGET}; \
${UUDECODE} -p $> > ${.TARGET}
athhal-elf.o: athhal-elf-o.uue
${ATH_UUDEC}
.endif
--------------------------------------------------------------------------------
This is the piece of "makefile"'ese magic is added by "config" when
an "ath" is configured in. (my config's are all either PCI only or PCI+CardBus,
maybe there is a bug if the configuration is CardBus only - I don't know - is
that your case? In fact, it looks like the "magic" is triggered by the config
`source' file at ".../sys/dev/pci/files.ath", so that may likely be the bug if
that is the type of configuration you're trying to create.)
If not, check the config file, rerun config look again; If it's still
missing, all I can offer is "it works for me" using "-current sources. It
works just two minutes ago!
Good luck,
Paul Shupak
track@plectere.com