[asterisk-users] mISDN compiling error

Peter Gelencser peter.gelencser at gov-info.hu
Mon May 24 16:00:39 CDT 2010


Hi,


I try to compile mISDN 1_1_9_2 (kernel: 2.6.32.13). I had the following 
compiling error:


make[1]: Entering directory `/usr/src/linux-2.6.32.13'
   CC [M]  /usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.o
/usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c: In 
function ‘mISDN_register_sysfs_obj’:
/usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c:139: 
error: ‘struct device’ has no member named ‘bus_id’
/usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c:139: 
error: ‘BUS_ID_SIZE’ undeclared (first use in this function)
/usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c:139: 
error: (Each undeclared identifier is reported only once
/usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c:139: 
error: for each function it appears in.)
/usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c:149: 
warning: ignoring return value of ‘device_create_file’, declared with 
attribute warn_unused_result
/usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c:150: 
warning: ignoring return value of ‘device_create_file’, declared with 
attribute warn_unused_result
/usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.c:151: 
warning: ignoring return value of ‘device_create_file’, declared with 
attribute warn_unused_result
make[2]: *** 
[/usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN/sysfs_obj.o] Error 1
make[1]: *** 
[_module_/usr/src/mISDN-1_1_9_2/drivers/isdn/hardware/mISDN] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.32.13'
make: *** [all] Error 2


Do you have any clue what is the problem and how to solve it? Thank you 
for your help in advance.

Best regards,
Peter Gelencser






More information about the asterisk-users mailing list