Comments (2)
Hi,
On Fri, Feb 13, 2015 at 12:54:43PM -0800, RageLtMan wrote:
When attempting to build against 3.17.6, we're seeing redefinition errors on sg_copy calls - at first glance it looks like the API changed and call param order was swapped.
make -C /lib/modules/3.17.6-i7/build SUBDIRS=`pwd` modules make[1]: Entering directory `/usr/src/linux-headers-3.17.6-i7' CC [M] /opt/build/cryptodev-linux/authenc.o In file included from /opt/build/cryptodev-linux/authenc.c:46:0: /opt/build/cryptodev-linux/util.h:1:5: error: conflicting types for ‘sg_copy’ int sg_copy(struct scatterlist *sg_from, struct scatterlist *sg_to, int len); ^ In file included from include/linux/dmaengine.h:28:0, from include/linux/skbuff.h:31, from include/crypto/algapi.h:18, from include/crypto/scatterwalk.h:20, from /opt/build/cryptodev-linux/authenc.c:42: include/linux/scatterlist.h:253:5: note: previous declaration of ‘sg_copy’ was here int sg_copy(struct scatterlist *dst_sg, struct scatterlist *src_sg, ^ make[2]: *** [/opt/build/cryptodev-linux/authenc.o] Error 1 make[1]: *** [_module_/opt/build/cryptodev-linux] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.17.6-i7' make: *** [build] Error 2
Scatterlist.h of 3.17.6 does not have a prototype named 'sg_copy'. You
probably run a patched kernel. The function in question has been added
to cryptodev-linux after extracting it from a patch sent to LKML (see:
https://lkml.org/lkml/2011/1/17/258). Maybe you have that one applied to
your kernel?
Cheers, Phil
from cryptodev-linux.
Closing due to missing feedback. Feel free to reopen in case you are still affected by this issue.
from cryptodev-linux.
Related Issues (20)
- SSH with openssl "mux digest failed" HOT 5
- make fail: zc.c:80:8: error: too many arguments to function ‘get_user_pages_remote’ HOT 9
- Openembedded out of tree patches HOT 5
- OpenSSL patch website cannot be opened, where to find the patch please? HOT 3
- encrypt-then-mac in aead is more secure
- kle
- openssl_wrapper.c needs to be updated for openssl 3.0.0 HOT 3
- "possible circular locking dependency" warning HOT 3
- pgcrypto to use cryptodev HOT 2
- [OpenBMC] Kernel panic while running "openssl engine" within cryptodev-linux kernel module inserted HOT 1
- What's the supported kernel version list? HOT 2
- Unable to fetch URL from any source HOT 3
- No file to patch. Skipping patch. HOT 3
- module install HOT 1
- Cryptodev module fails to load with Unknown symbol errors HOT 1
- Cipher supports in cryptodev-linux HOT 2
- AES-GCM tag issue HOT 5
- performance issue HOT 4
- the async mode is not truely async
- Phase 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptodev-linux.