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
|