Comments (6)
I am using gcc version 7.40 ubuntu18.04.1 and cuda 9.1
from xmp.
from xmp.
@luitjens I modified the header by myself. When I compile the file it came up "fatal error: xmp.h: No such file or directory", then I thought the header path might be wrong,
from xmp.
I modified the header again and this time it came up wtih :
/tmp/ccTMzBKy.o: In function `main':
rsa.cc:(.text+0x175): undefined reference to `xmpHandleCreate'
rsa.cc:(.text+0x192): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x199): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x20d): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x22a): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x231): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x2a4): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x2c1): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x2c8): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x33c): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x359): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x360): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x3d5): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x3f2): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x3f9): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x46e): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x48b): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x492): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x507): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x524): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x52b): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x62d): undefined reference to `xmpIntegersImport'
rsa.cc:(.text+0x64e): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x655): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x6df): undefined reference to `xmpIntegersImport'
rsa.cc:(.text+0x700): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x707): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x792): undefined reference to `xmpIntegersImport'
rsa.cc:(.text+0x7b3): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x7ba): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x84a): undefined reference to `xmpIntegersImport'
rsa.cc:(.text+0x86b): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x872): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x902): undefined reference to `xmpIntegersPowm'
rsa.cc:(.text+0x91f): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x926): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xa01): undefined reference to `xmpIntegersPowm'
rsa.cc:(.text+0xa1e): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xa25): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xaea): undefined reference to `xmpIntegersCmp'
rsa.cc:(.text+0xb07): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xb0e): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xbe7): undefined reference to `xmpIntegersDestroy'
rsa.cc:(.text+0xc04): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xc0b): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xc77): undefined reference to `xmpIntegersDestroy'
rsa.cc:(.text+0xc94): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xc9b): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xd07): undefined reference to `xmpIntegersDestroy'
rsa.cc:(.text+0xd24): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xd2b): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xd97): undefined reference to `xmpIntegersDestroy'
rsa.cc:(.text+0xdb4): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xdbb): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xe20): undefined reference to `xmpHandleDestroy'
rsa.cc:(.text+0xe3d): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xe44): undefined reference to `cudaGetErrorString'
collect2: error: ld returned 1 exit status
···
from xmp.
from xmp.
I fixed the problem. I am using the Linux version downloaded from the "https://nvlads.github.io/xmp" and it provided the older version of xmp.h
and I followed the new api docs. Thanks anyway!
from xmp.
Related Issues (9)
- Feature request: add GMP API compatibility, gmpbench results HOT 4
- Can provide Windows binaries until Cuda 8.0 for Maxwell testing? HOT 1
- Error in doc HOT 1
- error: ‘memcpy’ was not declared in this scope HOT 1
- Compute 7_0 errors
- crt_rsa sample gets stuck for large number of iterations
- Calling functions from device HOT 2
- Newer CUDA?
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 xmp.