decNumber
decNumber copied to clipboard
COMPILATION: shared library build fails with gcc (Debian 14.2.0-16) 14.2.0
Tried with patched decBasic.c, decNumber.c, decNumberLocal.h,
build.sh chmoded "+x", "dos2unixed", and "re-commented" to use gcc.
Result:
...
Making static lib libdecnum.a
Making shared lib libdecnum.so
/usr/bin/ld: decimal128.o: warning: relocation against `COMBMSD' in read-only section `.text'
/usr/bin/ld: decNumber.o: relocation R_X86_64_PC32 against symbol `DECPOWERS' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
Installing libdecnum.a to install
Installing libdecnum.so to install
cp: cannot stat 'build/libdecnum.so': No such file or directory
Installing headers to install