FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 12-25-2007, 04:47 PM
Craig White
 
Default problems building appletalk module with new kernel

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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 05:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org