Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Compile error when using zsim-nvmain #7

Open
cyjseagull opened this issue Sep 14, 2015 · 0 comments
Open

Compile error when using zsim-nvmain #7

cyjseagull opened this issue Sep 14, 2015 · 0 comments

Comments

@cyjseagull
Copy link

when I compile zsim-nvmain , error listed below appearanced:

/usr/bin/ld: /usr/lib/librt.a(clock_gettime.o): relocation R_X86_64_32 against `__pthread_clock_gettime' can not be used when making a shared object; recompile with -fPIC

I tried many methods to solve this problem , but failed finally. Can anyone tell me what happend ? The environment was not ready ? Or librt.a had something wrong?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant