dme1737 under CentOS 2.6.18 kernel

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

 



Hi, 
 I'm trying to compile dme1737 driver under CentOS 5.1 with 2.6.18-
53.1.21.el5 kernel to support VIA EPIA-SN 18000G motherboard 
sensors.
 Followed Juerg's instruction from post http://lists.lm-sensors.org/
pipermail/lm-sensors/2007-December/022166.html

 Code compiled with warnings:

#make all
make -C /lib/modules/`uname -r`/build M=/install/lm_sensors/driver 
modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-53.1.21.el5-i
686'
 CC [M] /install/lm_sensors/driver/dme1737.o
/install/lm_sensors/driver/dme1737.c:55: warning: initialization 
discards qualifiers from pointer target type
/install/lm_sensors/driver/dme1737.c: In function 'dme1737_i2c_
detect':
/install/lm_sensors/driver/dme1737.c:2139: warning: assignment from 
incompatible pointer type
/install/lm_sensors/driver/dme1737.c: In function 'dme1737_i2c_
detach_client':
/install/lm_sensors/driver/dme1737.c:2172: warning: passing argument
1 of 'hwmon_device_unregister' from incompatible pointer type
/install/lm_sensors/driver/dme1737.c: In function 'dme1737_isa_
probe':
/install/lm_sensors/driver/dme1737.c:2324: warning: assignment from 
incompatible pointer type
/install/lm_sensors/driver/dme1737.c: In function 'dme1737_isa_
remove':
/install/lm_sensors/driver/dme1737.c:2348: warning: passing argument
1 of 'hwmon_device_unregister' from incompatible pointer type
 Building modules, stage 2.
 MODPOST
 CC     /install/lm_sensors/driver/dme1737.mod.o
 LD [M] /install/lm_sensors/driver/dme1737.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-53.1.21.el5-i
686'
[root at server driver]#

 dme1737.ko module is created and copied in /lib/modules/2.6.18-
53.1.21.el5/kernel/drivers/hwmon path. But when I tried to insert 
this module into kernel, module is not loaded with following error 
message:

#insmod dme1737.ko
insmod: error inserting 'dme1737.ko': -1 Unknown symbol in module

Do you have any idea where is a mistake? Thanks for your reply
Jaroslav


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20080526/9ed91536/attachment.html 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux