Re: FBSD 6.2-PRE: todays cvsupdate break kernel build



O. Hartmann wrote:
Today's cvsupdate seems to break kernel build at this pint on FreeBSD
6.2-PRE/AMD64:

awk -f /usr/src/sys/modules/ata/atapicam/../../../conf/kmod_syms.awk
atapicam.ko export_syms | xargs -J% objcopy % atapicam.ko
objcopy --strip-debug atapicam.ko
===> ath (all)
make: don't know how to make
/usr/src/sys/modules/ath/../../contrib/dev/ath/freebsd/ah_osdep.h. Stop
*** Error code 2

Stop in /usr/src/sys/modules.
*** Error code 1


Regards,
Oliver

It might mean that there are stale object files somewhere in you source tree. Try

# find /usr/src -type f -name \*.o -exec rm {} \;

as root. That _might_ help.
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Build error
    ... The device xl is disabled in my kernel config. ... xargs -J% objcopy % if_xl.kld ... *** Error code 2 ...
    (comp.unix.bsd.freebsd.misc)
  • Re: FBSD 6.2-PRE: todays cvsupdate break kernel build
    ... atapicam.ko export_syms | xargs -J% objcopy % atapicam.ko ... objcopy --strip-debug atapicam.ko ... *** Error code 2 ... Energy Sciences Network (ESnet) ...
    (freebsd-stable)
  • Re: FBSD 6.2-PRE: todays cvsupdate break kernel build
    ... O. Hartmann wrote: ... atapicam.ko export_syms | xargs -J% objcopy % atapicam.ko ... objcopy --strip-debug atapicam.ko ... *** Error code 2 ...
    (freebsd-stable)
  • Re: kernel build error (zlib.ko)
    ... export_syms | xargs -J% objcopy % zlib.kld ... *** Error code 2 ... I have both options in the kernel config. ...
    (freebsd-current)
  • Re: buildkernel (zlib module) broken?
    ... export_syms | xargs -J% objcopy % zlib.kld ... objcopy --strip-debug zlib.ko.debug zlib.ko ... *** Error code 2 ...
    (freebsd-stable)