View Single Post
Old 2015-11-07, 16:33   #1
rmd
 
Nov 2015

102 Posts
Default Compiling ggnfs on linux

Hello.
I'm trying to build ggnfs-0.77.1-20060513 on a linux (fedora20) box, but it stops with the following error :
......
......
/bin/ld: cannot find -ltpie
collect2: error: ld returned 1 exit status
make[2]: *** [../bin/sieve] Error 1
make[2]: Leaving directory `/sdb1/math/ggnfs-0.77.1-20060513/src'
make[1]: *** [x86common] Error 2
make[1]: Leaving directory `/sdb1/math/ggnfs-0.77.1-20060513'

Looking into Makefile in src directory, it says:
ALLOPT=-march=$(ARCH) -pipe
INC=-I. -I.. -I../include $(LOCALINC)
LIBS=-lgmp -lm
BINDIR=../bin
LIBFLAGS=$(LOCALLIB)

MATBUILD_TPIE=1
TPIE_DIR=F:/tmp/nfs/tpie
......
......
This last line does not make sense in linux, it seems a Windows path...

How can I fix it?
Thank you.
rmd is offline   Reply With Quote