We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partclone 0.3.17 fails to build on RHEL/CentOS 7, while it works on newer distributions such as RHEL/CentOS 8:
… gcc -DRESTORE -DDD -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wl,-z,relro -o partclone.restore partclone_restore-main.o partclone_restore-partclone.o partclone_restore-progress.o partclone_restore-checksum.o partclone_restore-torrent_helper.o partclone_restore-ddclone.o -lcrypto -lncursesw -lpthread -ltinfo gcc -DCHKIMG -DDD -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wall -Wl,-z,relro -o partclone.chkimg partclone_chkimg-main.o partclone_chkimg-partclone.o partclone_chkimg-progress.o partclone_chkimg-checksum.o partclone_chkimg-torrent_helper.o partclone_chkimg-ddclone.o -lcrypto -lncursesw -lpthread -ltinfo partclone_dd-progress.o: In function `progress_init': /builddir/build/BUILD/partclone-0.3.17/src/progress.c:50: undefined reference to `__fpclassifyf' /builddir/build/BUILD/partclone-0.3.17/src/progress.c:50: undefined reference to `__fpclassifyf' collect2: error: ld returned 1 exit status make[2]: *** [partclone.dd] Error 1 …
It seems like this is caused by commit 536bec0. Setting LDFLAGS=-lm on RHEL/CentOS 7 myself works around the issue.
LDFLAGS=-lm
The text was updated successfully, but these errors were encountered:
got it, I will test and add -lm to automake
Sorry, something went wrong.
Link with -lm for isnormal()/__fpclassifyf() as needed
7fd312e
See also: Thomas-Tsai#153
Successfully merging a pull request may close this issue.
Partclone 0.3.17 fails to build on RHEL/CentOS 7, while it works on newer distributions such as RHEL/CentOS 8:
It seems like this is caused by commit 536bec0. Setting
LDFLAGS=-lm
on RHEL/CentOS 7 myself works around the issue.The text was updated successfully, but these errors were encountered: