LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2014, 03:25 AM   #1
bsubramanian
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Rep: Reputation: Disabled
[Dahdi] Installation error


Ubuntu 12.04 (Precise)

root@li100-34:/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1# make
make -C linux all
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahd
i/firmware'
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi
/firmware'
You do not appear to have the sources for the 3.2.0-65-virtual kernel installed.
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux'
make: *** [all] Error 2

root@li100-34:/usr/src# uname -r
3.2.0-65-virtual

root@li100-34:/usr/src# dpkg -l | grep linux-headers
ii linux-headers-3.2.0-65 3.2.0-65.98 Header files related
to Linux kernel version 3.2.0
ii linux-headers-3.2.0-65-generic 3.2.0-65.98 Linux kernel headers
for version 3.2.0 on 64 bit x86 SMP
ii linux-headers-3.2.0-65-virtual 3.2.0-65.98 Linux kernel headers
for version 3.2.0 on 64 bit x86 Virtual Guests
ii linux-headers-generic 3.2.0.65.77 Generic Linux kernel
headers
ii linux-headers-virtual 3.2.0.65.77 Linux kernel headers
for virtual machines
root@li100-34:/usr/src#

root@li100-34:/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1# make clean
make -C linux clean
make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux'
make -C drivers/dahdi/firmware clean
make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahd
i/firmware'
rm -f dahdi-fw-*.o
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi
/firmware'
make -C /lib/modules/3.2.0-65-virtual/build M='/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/
linux/drivers/dahdi/oct612x' clean
make: Entering an unknown directory
make: *** /lib/modules/3.2.0-65-virtual/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux'
make: *** [clean] Error 2

Can anyone please help me on this issue? I need to fix this within today

Thanks
Bala
 
Old 07-01-2014, 04:51 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Did you refer the README file before start the installation?
* In some distributions (e.g.: in RHEL/CentOS, Fedora, Ubuntu) the
installation of the kernel-devel / kernel-headers package will
be of a version that is newer than the one you currently run. In
such a case you may need to upgrade the kernel package itself as
well and reboot.

Confirm the Pre-requirements before start the installation
 
Old 07-01-2014, 12:22 PM   #3
bsubramanian
LQ Newbie
 
Registered: Jul 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi Kirukan,

Thanks for replying me

you mean the dahdi readme file? I cannot see any kernal version mentioned in the dahdi readme file, can you please help me?

Here is the list of commands for your reference
=====================================================================
root@li100-34:/# uname -a
Linux li100-34 3.2.0-65-virtual #98-Ubuntu SMP Wed Jun 11 20:39:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
root@li100-34:/# uname -r
3.2.0-65-virtual
root@li100-34:/# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
root@li100-34:/# lsb_release -r
Release: 12.04
root@li100-34:/# fdisk -l

Disk /dev/xvda: 25.5 GB, 25501368320 bytes
255 heads, 63 sectors/track, 3100 cylinders, total 49807360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System

Disk /dev/xvdb: 268 MB, 268435456 bytes
255 heads, 63 sectors/track, 32 cylinders, total 524288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/xvdb doesn't contain a valid partition table
=====================================================================

Thanks
Bala
 
Old 07-01-2014, 10:31 PM   #4
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
As I have mentioned earlier check all the dependencies for dahdi driver. open the tar file and read the README file.

*In some distributions (e.g.: in RHEL/CentOS, Fedora, Ubuntu) the
installation of the kernel-devel / kernel-headers package will
be of a version that is newer than the one you currently run.

Did you check all the package are exist in your system as mentioned above?
 
Old 07-03-2014, 03:35 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Quote:
You do not appear to have the sources for the 3.2.0-65-virtual kernel installed.
This could be your major problem. You may not have kernel-devel and/or kernel-headers packages installed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation error during installation of RHEL 5 using usb drive sunrave Red Hat 1 05-14-2012 05:22 AM
How to configure Asterisk without zaptel/dahdi hardware myasir_genious Linux - Newbie 16 09-28-2010 01:54 AM
Unable to configur Dahdi myasir_genious Linux - Newbie 1 12-17-2009 01:58 AM
Installation of Binutils(configure:error:installation or configuration problem:C ...) h_r0019 Linux From Scratch 1 05-05-2007 07:40 AM
xen installation error: error 13: invalid or unsupported executable format Niceman2005 Linux - Software 0 01-05-2007 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration