Public bug reported:

In #1327619 you added UTS_UBUNTU_RELEASE_ABI which works for your ubuntu 
kernels. 
I am also using the kernels from http://kernel.ubuntu.com/~kernel-ppa/mainline/ 
mostly for testing compatibility with mainline kernels and with your kernel  
3.16.0-031600rc5-generic I am getting the following error:

  CC [M]  
/home/hauke/compat-wireless/tmp/drivers/net/ethernet/atheros/alx/main.o
In file included from 
/home/hauke/compat-wireless/tmp/backport-include/linux/skbuff.h:5:0,
                 from include/linux/if_ether.h:23,
                 from 
/home/hauke/compat-wireless/tmp/backport-include/linux/if_ether.h:3,
                 from include/uapi/linux/ethtool.h:17,
                 from include/linux/ethtool.h:16,
                 from 
/home/hauke/compat-wireless/tmp/backport-include/linux/ethtool.h:3,
                 from include/linux/netdevice.h:42,
                 from 
/home/hauke/compat-wireless/tmp/backport-include/linux/netdevice.h:3,
                 from 
/home/hauke/compat-wireless/tmp/drivers/net/ieee802154/fakehard.c:25:
include/generated/utsrelease.h:2:32: error: invalid suffix "rc5" on integer 
constant
 #define UTS_UBUNTU_RELEASE_ABI 031600rc5
                                ^
/home/hauke/compat-wireless/tmp/backport-include/linux/skbuff.h:333:56: note: 
in expansion of macro ‘UTS_UBUNTU_RELEASE_ABI’
     !(LINUX_VERSION_CODE == KERNEL_VERSION(3,13,11) && UTS_UBUNTU_RELEASE_ABI 
> 30)


The code in the affected line in skbuff.h:333 looks like this:
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,14,0) && \
    RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(7,0) && \
    !(LINUX_VERSION_CODE == KERNEL_VERSION(3,13,11) && UTS_UBUNTU_RELEASE_ABI > 
30)
....
#endif

In the mainline kernel versions I do not need UTS_UBUNTU_RELEASE_ABI. I would 
suggest you add  the EXTRAVERSION into some header.
I assume most of the APIs are changed in the ubuntu stable kernels like 
3.13.11.4 and not in the kernels like 3.13.0-32 which is based on it.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1347879

Title:
  Compile problem with external module and 031600rc5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1347879/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to