InsightSoftwareConsortium / InsightSoftwareConsortium/DCMTK-old
compile error
- Dominant language
- C++
- Stars
- 24
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
I try to compile on aws,but somehow i got error below,please help me:
Scanning dependencies of target dcmdump
[ 15%] Building CXX object dcmdata/apps/CMakeFiles/dcmdump.dir/dcmdump.cc.o
[ 15%] Linking CXX executable ../../bin/dcmdump
/usr/bin/ld: ../../lib/libdcmdata.a(vrscanl.c.o): relocation R_X86_64_32S against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
dcmdata/apps/CMakeFiles/dcmdump.dir/build.make:98: recipe for target 'bin/dcmdump' failed
make[2]: *** [bin/dcmdump] Error 1
CMakeFiles/Makefile2:856: recipe for target 'dcmdata/apps/CMakeFiles/dcmdump.dir/all' failed
make[1]: *** [dcmdata/apps/CMakeFiles/dcmdump.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.