snapapi 0.7.24 compile under Slackware 12

Discussion in 'Acronis True Image Product Line' started by spirosco, Nov 11, 2007.

Thread Status:
Not open for further replies.
  1. spirosco

    spirosco Registered Member

    Joined:
    Nov 6, 2007
    Posts:
    3
    I'm trying to compile trueimage agent on slackware 12 with no success.

    First, i have installed dkms on the server and followed instructions found here: https://www.wilderssecurity.com/showthread.php?t=173463 (HOWTO: Install Acronis on Ubuntu 7.04)

    I tried with slack vanilla kernel 2.6.21.5 and also with a custom 2.6.23.
    dkms in both cases fails to compile modules:

    The make.log:
    It contains more than thoose in quote, but i think its clear from the beginning of the log file that there is a problem at least with some paths.

    My kernel sources are in place: /usr/src/linux
    Since devs have removed config.h from 2.6.19 or so, a touch a config.h in /usr/src/linux/include/linux/
    All the other headers are in place also (posix_types.h, types.h and so on).

    I have tried also with arch=686 with no luck, always the same error.

    Is there any solution on this, or maybe someone who managed to compile snapapi modules on slackware 12?

    PS. i'v tried and 0.7.5 also with no luck

    edit: version 0.7.10 gives the error bellow:
    Thanks in advance
     
    Last edited: Nov 11, 2007
  2. spirosco

    spirosco Registered Member

    Joined:
    Nov 6, 2007
    Posts:
    3
    I tried again and solved the path problems by making some changes in Makefile on 0.7.24, but again it hits wall:
    gcc version 4.1.2

    Is there anyone who managed to compile snapapi with gcc 4.1?
     
  3. spirosco

    spirosco Registered Member

    Joined:
    Nov 6, 2007
    Posts:
    3
    Finally i managed to compile snapapi 0.7.24 but only when i downgraded to 2.6.18.
    It was not gcc the problem.
    So i revise my question -sorry for any inconvenience-, does anyone manage to compile it with a latest kernel or is there any update availlable?
    It's not acceptable to downgrade a lot of servers to older kernels.

    Thanks
     
Thread Status:
Not open for further replies.