This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

talpa doesn't compile on ubuntu 17.04 linux 4.10

talpa doesn't compile since I upgraded to ubuntu 17.04.  This uses linux 4.10.

The last few lines of talpaselect.log are:

......
checking for linux/dcache.h... yes
checking for __d_path prototype... available
checking for exported __d_path... undetectable
checking for linux/dcache.h... yes
checking for 2.6.38 style locking... post 2.6.38 style locking
checking for __d_path address... 0xffffffff812617f0
checking for __d_path type... struct path
checking for vfsmount and br lock... vfsmount lock is mount_lock seqlock
checking for __lookup_mnt_last address... configure: error: not found

Traceback (most recent call last):
File "talpa_select.py", line 2176, in _action
File "talpa_select.py", line 1074, in load
File "talpa_select.py", line 841, in select
File "talpa_select.py", line 1696, in select
File "talpa_select.py", line 1780, in build
File "talpa_select.py", line 1910, in __try_build
File "talpa_select.py", line 1773, in checkConfigureErrors
SelectException: exc-configure-failed-freeversion

I believe that the __lookup_mnt_last address function has been removed from linux 4.9 - see https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.15

I also raised this as an Issue on talpa in github at https://github.com/sophos/talpa/issues/2 



This thread was automatically locked due to age.
  • I should add that I am using the autodeploy.sh script, so should have the very latest version.

    If any more information is needed please ask.  Here's the start of the talpaselect.log.

    [Talpa-select]
    Copyright 1989-2017 Sophos Limited. All rights reserved.
    2017-04-18 14:57:27 BST /opt/sophos-av/engine/_/talpa_select load --hook talpa_vfshook --wait 10
    Linux distribution: [ubuntu]
    Product: [Ubuntu 17.04]
    Kernel: [4.10.0-19-generic]
    Multiprocessor support enabled.
    Searching for source pack...
    Searching for suitable binary pack...
    No suitable binary pack available.
    Preparing for build...
    Extracting sources...
    Configuring build of version 0.9.95...
    configuring checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    /opt/sophos-av/talpa/build/talpa-0.9.95/config/missing: Unknown `--is-lightweight' option
    Try `/opt/sophos-av/talpa/build/talpa-0.9.95/config/missing --help' for more information
    configure: WARNING: 'missing' script is too old or missing
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk

  • Hello pastim,

    can't say if is notified when you raise an issue at github, but he gets notifications from the Community.

    Christian

  • Hi,

    I've raised a Jira ticket to add support for kernels 4.9 and 4.10 to Talpa.

    I'm afraid a quick look at that commit suggests it won't be trivial to do the update.

  • Thanks.  I guessed that that sort of issue might be non-trivial to resolve.  No matter, at least it's in hand.

    I'm slightly puzzled as to why no one has seen it before.  Linux 4.9 was out at the end of last year.  Never mind.  :)

  • We've managed to fix Talpa to work on 4.9 and 4.10 kernels for us. It's been pushed to github perforce branch.

  • Thanks very much.  All seems OK - compiled, built and being used by Sophos-av.  If I have any comments I'll leave them on the github issue if that is OK.