RE: Redhat compilation woes

"Christopher Piggott HOME" <[email protected]>
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
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.

So that's good :)  Now on to trying to make it work with 2.6.4.  So far I'm
still getting the "Invalid module format" message, which may have to do with
the fact that I'm using busybox's version of insmod.  (It has 2.6 support
and recognizes/finds the modules as .ko files).  If anybody can confirm that
this should work, that would be helpful.  Meanwhile, I am going to build a
full-blown insmod and see if that works (or at least gives me more useful
debugging information).

--Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.