You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a vendor environment targeting an aarch64 platform with a gcc 11.2 and kernel close to 5.4.x kernel
# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 4
SUBLEVEL = 70
EXTRAVERSION =
NAME = Kleptomaniac Octopus
and then building the jool kernel module
CC [M] /home/ubuntu/build/jool-4.1.10/src/mod/common/rfc7915/6to4.o
../jool-4.1.10/src/mod/common/rfc7915/6to4.c: In function 'update_icmp4_csum':
../jool-4.1.10/src/mod/common/rfc7915/6to4.c:825:28: error: implicit declaration of function 'csum_ipv6_magic'; did you mean 'csum_tcpudp_magic'? [-Werror=implicit-function-declaration]
825 | tmp = ~csum_unfold(csum_ipv6_magic(&in_ip6->saddr, &in_ip6->daddr,
| ^~~~~~~~~~~~~~~
| csum_tcpudp_magic
cc1: some warnings being treated as errors
So, resolved this with this patch that seems to work on all of the platforms targeted with arm and aarch64
This might be a problem in a linux tree - but, the patch seemed benign enough to report upstream.
The text was updated successfully, but these errors were encountered:
chardin-cpi
changed the title
compiling against a vendor kernel for 5.15 resulted in an undeclared function
compiling against a vendor kernel for 5.4 resulted in an undeclared function
Jun 27, 2023
This is a vendor environment targeting an aarch64 platform with a gcc 11.2 and kernel close to 5.4.x kernel
and then building the jool kernel module
So, resolved this with this patch that seems to work on all of the platforms targeted with arm and aarch64
This might be a problem in a linux tree - but, the patch seemed benign enough to report upstream.
The text was updated successfully, but these errors were encountered: