RE: Redhat compilation woes
Joerg Albert <[email protected]>
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <Pine.LNX.4.56.0404032235550.873@invb> |
Hi, On Fri, 2 Apr 2004, Christopher Piggott HOME wrote: > Hi, > > I made it compile ... the problem was all related to modver. I tried early > on compiling my kernel without modver and it didn't help ... but the reason > for that is that it had already been compiled with modversions turned on > once before, and 'make clean' isn't sufficient to remove everything from > that build. Something in the at76c503 makefile was still confused, thinking > modversions were turned on. I don't think it's the at76c503 make's fault, > but the only way I knew how to fix it was to comment this out: > > # ifeq ($(MODVER),1) > # MFLAG = -DMODVERSIONS -include $(KERNEL_HEADERS)/linux/modversions.h > # endif > > and unset MODVER. Then, it compiled. as MODVER comes from MODVER = $(shell if cat $(KERNEL_HEADERS)/linux/autoconf.h 2>/dev/null | \ grep -q '^[[:space:]]*\#define[[:space:]]*CONFIG_MODVERSIONS[[:space:]]*1'; \ then echo 1; else echo 0; fi) I guess you still had an old include/linux/autoconf.h file with a "#define CONFIG_MODVERSIONS 1" in it. AFAIK this is overwritten by a "make oldconfig" (or any "make *config" possible). /Jörg