LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-07-2006, 05:09 PM   #1
karloslambchop
LQ Newbie
 
Registered: May 2006
Location: Leeds
Distribution: Ubuntu
Posts: 29

Rep: Reputation: 15
trying to make and install 'snapapi26' module


Hello everyone karloslambchop here,

I have been trying to install true image 8 on my ubuntu server (dapper 6.06 + 2.6.15-26-386)

I have been trying to run the following command:

dkms build -m snapapi26 -v 0.6.4 -k 2.6.15-26-386 --config /boot/config-2.6.15-26-386 --arch 386 --kernelsourcedir /usr/src/linux-headers-2.6.15-26-386


Forgive me, but I thought I would include all the logs.

Also I do have the linux headers installed and it seems to start in the right direction..


It reads....


Preparing kernel 2.6.15-26-386 for module build:
(This is not compiling a kernel, only just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....(bad exit status: 2)
using /boot/config-2.6.15-26-386
make oldconfig....
make prepare-all....


Then it starts to give bad exit warnings?

Building module:
cleaning build area....
make KERNELRELEASE=2.6.15-26-386 -C /usr/src/linux-headers-2.6.15-26-386 SUBDIRS=/var/lib/dkms/snapapi26/0.6.4/build modules....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.15-26-386 (386)
Consult the make.log in the build directory
/var/lib/dkms/snapapi26/0.6.4/build/ for more information.
root@networkbox:/home/vmadmin/completed_torrents/Acronis TrueImage 8.0 Linux (Build 914)/trueimagelinuxserver8.0-914.s.e#



the log output states:


Mon Aug 7 22:57:18 BST 2006
make: Entering directory `/usr/src/linux-headers-2.6.15-26-386'
CC [M] /var/lib/dkms/snapapi26/0.6.4/build/snapapi26.o
/var/lib/dkms/snapapi26/0.6.4/build/snapapi26.c: In function ‘session_devinfo’:
/var/lib/dkms/snapapi26/0.6.4/build/snapapi26.c:1391: error: ‘struct hd_struct’ has no member named ‘reads’
/var/lib/dkms/snapapi26/0.6.4/build/snapapi26.c:1392: error: ‘struct hd_struct’ has no member named ‘read_sectors’
/var/lib/dkms/snapapi26/0.6.4/build/snapapi26.c:1393: error: ‘struct hd_struct’ has no member named ‘writes’
/var/lib/dkms/snapapi26/0.6.4/build/snapapi26.c:1394: error: ‘struct hd_struct’ has no member named ‘write_sectors’
/var/lib/dkms/snapapi26/0.6.4/build/snapapi26.c:1397: error: ‘struct disk_stats’ has no member named ‘reads’
/var/lib/dkms/snapapi26/0.6.4/build/snapapi26.c:1398: error: ‘struct disk_stats’ has no member named ‘read_sectors’
/var/lib/dkms/snapapi26/0.6.4/build/snapapi26.c:1399: error: ‘struct disk_stats’ has no member named ‘writes’
/var/lib/dkms/snapapi26/0.6.4/build/snapapi26.c:1400: error: ‘struct disk_stats’ has no member named ‘write_sectors’
make[1]: *** [/var/lib/dkms/snapapi26/0.6.4/build/snapapi26.o] Error 1
make: *** [_module_/var/lib/dkms/snapapi26/0.6.4/build] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.15-26-386'


Any help on this is greatly apprecited


Karloslambchop
 
  


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
make install failure: No module BusLogic found for kernel 2.6.12.1 shawphone Linux - Kernel 3 07-20-2006 10:18 AM
problems install module-init-tools, can't make DrowningFish Linux - Software 0 04-18-2006 11:51 PM
module-assistant auto-install ov511 ... make: *** [build-stamp] Error 2 brynjarh Linux - Hardware 1 11-13-2005 02:31 PM
install after or before gcc,binutils,make,module-init when migrating kernel 2.6 eatmars Linux - Software 1 10-02-2005 12:52 PM
php static module & dynamic module install. eye Linux - Software 0 10-18-2003 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:48 PM.

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