This fix looks corrent to me, but I can not find this fix in git at [0]
or in the ubuntu mainline kernel version 3.14.18 or 3.17-rc3.
I am still getting this error:
CC [M]
/pub/mem/hauke/devel/tmp/.tmp.ckmake/3.14.18/drivers/net/wireless/rndis_wlan.o
In file included from
/pub/mem/hauke/devel/tmp/.tmp.ckmake/3.14.18/backport-include/generated/utsrelease.h:1:0,
from
/pub/mem/hauke/devel/tmp/.tmp.ckmake/3.14.18/backport-include/linux/u64_stats_sync.h:5,
from include/net/snmp.h:52,
from include/net/netns/mib.h:4,
from include/net/net_namespace.h:13,
from
/pub/mem/hauke/devel/tmp/.tmp.ckmake/3.14.18/backport-include/net/net_namespace.h:4,
from
/pub/mem/hauke/devel/tmp/.tmp.ckmake/3.14.18/compat/backport-3.15.c:16:
include/generated/utsrelease.h:2:32: error: invalid digit "8" in octal constant
#define UTS_UBUNTU_RELEASE_ABI 031418
^
/pub/mem/hauke/devel/tmp/.tmp.ckmake/3.14.18/backport-include/linux/u64_stats_sync.h:118:56:
note: in expansion of macro ‘UTS_UBUNTU_RELEASE_ABI’
!(LINUX_VERSION_CODE == KERNEL_VERSION(3,13,11) && UTS_UBUNTU_RELEASE_ABI
> 30)
^
[0]: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-
utopic.git;a=history;f=debian/rules.d/2-binary-
arch.mk;h=ccce6666d6321819abed65430592e3d8b959ff75;hb=HEAD
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1347879
Title:
Compile problem with external module and 031600rc5
Status in “linux” package in Ubuntu:
Fix Released
Status in “linux” source package in Trusty:
Fix Released
Status in “linux” source package in Utopic:
Fix Released
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1347879/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp