Hi,

The kernel-image-2.4.19-r5k-ip22 seems to be built without modversions
support.  Trying to build ALSA produces the following:

gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/modules/alsa-driver/include  
-I/usr/src/linux/include -O2 -G 0 -mips2 -fno-pic -mno-abicalls -mlong-calls 
-DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 
-fno-strict-aliasing -fno-common -pipe -DALSA_BUILD   -DEXPORT_SYMTAB -c hwdep.c
In file included from /usr/src/modules/alsa-driver/include/adriver.h:51,
                 from /usr/src/modules/alsa-driver/include/sound/driver.h:42,
                 from hwdep.c:22:
/usr/src/linux/include/linux/module.h:21:34: linux/modversions.h: No such file 
or directory


For one, due to lack of modversions.h in kernel-headers-2.4.19.  But ALSA
builds with EXPORT_SYMTAB defined, which invoked the following in 
module.h:

#ifdef __GENKSYMS__
#  define _set_ver(sym) sym
#  undef  MODVERSIONS
#  define MODVERSIONS
#else /* ! __GENKSYMS__ */
# if !defined(MODVERSIONS) && defined(EXPORT_SYMTAB)
#   define _set_ver(sym) sym
#   include <linux/modversions.h>
# endif

and it tries to include linux/modversions.h.

Any ideas?  Is this deliberately so?

-- 
Ryan Underwood, <nemesis at icequake.net>, icq=10317253

Reply via email to