dahdi-linux-complete-2.6.1+2.6.1 installation on Centos 7

Issues related to applications and software problems
Post Reply
a.delgra
Posts: 2
Joined: 2019/07/18 08:46:06

dahdi-linux-complete-2.6.1+2.6.1 installation on Centos 7

Post by a.delgra » 2019/07/18 08:53:29

Hi Please help me with this error. I have no choice because Atcom driver did no longer releasing a dahdi 3.0 driver I think the problem is in the kernel that the Centos 7 is using. please help me to install the kernel of 2.xx on centos 7.

Code: Select all

/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:91:2  warning: #warning "No CONFIG_BKL is an experimental configuration." [-Wcpp]
 #warning "No CONFIG_BKL is an experimental configuration."
  ^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c: In function ‘dahdi_proc_open’:
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:902:2: error: implicit declaration of function ‘PDE’ [-Werror=implicit-function-declaration]
  return single_open(file, dahdi_seq_show, PDE(inode)->data);
  ^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:902:53: error: invalid type argument of ‘->’ (have ‘int’)
  return single_open(file, dahdi_seq_show, PDE(inode)->data);
                                                     ^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c: In function ‘_dahdi_assign_span’:
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:6945:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
   span->proc_entry = create_proc_entry(tempfile, 0444,
   ^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:6945:20: warning: assignment makes pointer from integer without a cast [enabled by default]
   span->proc_entry = create_proc_entry(tempfile, 0444,
                    ^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:6952:19: error: dereferencing pointer to incomplete type
   span->proc_entry->data = (void *)(long)span->spanno;
                   ^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:6953:19: error: dereferencing pointer to incomplete type
   span->proc_entry->proc_fops = &dahdi_proc_ops;
                   ^
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c: In function ‘_dahdi_unassign_span’:
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:7137:37: error: dereferencing pointer to incomplete type
   remove_proc_entry(span->proc_entry->name, root_proc_entry);
                                     ^
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.o] Error 1
make[2]: *** [_module_/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi] Error 2
make[2]: Leaving directory `/usr/src/kernels/3.10.0-862.el7.x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux'
make: *** [all] Error 2

User avatar
TrevorH
Forum Moderator
Posts: 27127
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: dahdi-linux-complete-2.6.1+2.6.1 installation on Centos 7

Post by TrevorH » 2019/07/18 13:58:21

You cannot install a 2.x kernel on CentOS 7.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

a.delgra
Posts: 2
Joined: 2019/07/18 08:46:06

Re: dahdi-linux-complete-2.6.1+2.6.1 installation on Centos 7

Post by a.delgra » 2019/07/19 01:39:23

how can I fix the above error?

tunk
Posts: 622
Joined: 2017/02/22 15:08:17

Re: dahdi-linux-complete-2.6.1+2.6.1 installation on Centos 7

Post by tunk » 2019/07/19 10:10:39

I don't know what the problem is, but why use 2.6.1 when there's a newer 3.0 version?
You may also want to run yum update as 3.10.0-862.el7.x86_64 is more than one year out of date.

Post Reply

Return to “CentOS 7 - Software Support”