problems building appletalk module with new kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I've been doing this on CentOS 4 and CentOS 5 but after installing
2.6.18-53.1.4el kernel, I'm having a bit of a struggle...

# make -C /lib/modules/2.6.18-53.1.4.el5/build \
  SUBDIRS=/usr/src/appletalk modules
make: Entering directory `/usr/src/kernels/2.6.18-53.1.4.el5-i686'
  CC [M]  /usr/src/appletalk/aarp.o
  CC [M]  /usr/src/appletalk/ddp.o
  CC [M]  /usr/src/appletalk/dev.o
  CC [M]  /usr/src/appletalk/atalk_proc.o
  CC [M]  /usr/src/appletalk/sysctl_net_atalk.o
  LD [M]  /usr/src/appletalk/appletalk.o
  Building modules, stage 2.
  MODPOST
  CC      /usr/src/appletalk/appletalk.mod.o
  LD [M]  /usr/src/appletalk/appletalk.ko
make: Leaving directory `/usr/src/kernels/2.6.18-53.1.4.el5-i686'

# make -C /lib/modules/2.6.18-53.1.4.el5/build \
  SUBDIRS=/usr/src/appletalk modules_install
make: Entering directory `/usr/src/kernels/2.6.18-53.1.4.el5-i686'
  INSTALL /usr/src/appletalk/appletalk.ko
  DEPMOD  2.6.18-53.1.4.el5
make: Leaving directory `/usr/src/kernels/2.6.18-53.1.4.el5-i686'

and here is my problem...
# insmod /lib/modules/2.6.18-53.1.4.el5/extra/appletalk.ko
insmod: error inserting
'/lib/modules/2.6.18-53.1.4.el5/extra/appletalk.ko': -1 Invalid module
format

The above reflects an adjustment in my Makefile but it didn't seem to
help

why all of a sudden, this 'Invalid module format' ?

Craig

my Makefile that I have been using for quite some time but not the one
used above is...
#
# Makefile for the Linux AppleTalk layer.
#

CONFIG_ATALK=m

obj-$(CONFIG_IPDDP) += ipddp.o
obj-$(CONFIG_COPS) += cops.o
obj-$(CONFIG_LTPC) += ltpc.o


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux