skilion / onedrive

Free Client for OneDrive on Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Have an error when install

duccanh0022 opened this issue · comments

Hello,
When I install, have an error occurred. Please, help me!
OS: Centos 7
Error when run:
(dmd-2.094.1)[root@static onedrive]# make
echo v1.1.4 >version
dmd -g -ofonedrive -O -L-lcurl -L-lsqlite3 -L-ldl -J. src/config.d src/itemdb.d src/log.d src/main.d src/monitor.d src/onedrive.d src/qxor.d src/selective.d src/sqlite.d src/sync.d src/upload.d src/util.d
/bin/ld: /root/dlang/dmd-2.094.1/linux/bin64/../lib64/libphobos2.a(inflate.o): unrecognized relocation (0x2a) in section `.text'
/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
make: *** [onedrive] Error 1

Screen Shot 2020-11-01 at 17 17 19

Thank you!

@duccanh0022
Please read #518 very carefully and in full.

You have incompatible versions of DMD and your GCC toolchain. You need either to update your GCC version or downgrade DMD.