![]() |
|
|
#12 |
|
Sep 2002
Database er0rr
3,739 Posts |
|
|
|
|
|
|
#13 |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
37×263 Posts |
LOL. I know that, so after I issued a "install curl dev" instruction the following make warning resulted when I tried to compile the executable:
Code:
[chalsall@burrow linux64]$ make
[ ! -e ../security.h ] && touch ../security.h || true
[ ! -e ../security.c ] && touch ../security.c || true
[ ! -e ../secure5.c ] && touch ../secure5.c || true
gcc -I.. -I../gwnum -I/usr/local/include -DX86_64 -O2 -c prime.c
gcc -I.. -I../gwnum -I/usr/local/include -DX86_64 -O2 -c menu.c
menu.c: In function ‘get_line’:
menu.c:28:38: warning: implicit declaration of function ‘sigterm_handler’ [-Wimplicit-function-declaration]
if (fgets (buf, 80, stdin) == NULL) sigterm_handler (SIGTERM); // Treat EOF the same as a termination signal
^~~~~~~~~~~~~~~
gcc -Wl,-M -Wl,-L/usr/local/lib -o mprime prime.o menu.o factor64.o ../gwnum/gwnum.a ../gwnum/gwnum.ld -lm -lpthread -Wl,-Bstatic -lcurl -Wl,-Bdynamic -lrt -lstdc++ -ldl
gcc: error: ../gwnum/gwnum.a: No such file or directory
makefile:31: recipe for target 'mprime' failed
make: *** [mprime] Error 1
|
|
|
|
|
|
#14 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
165468 Posts |
The missing forward declaration in menu.c has been fixed. Are you building 29.1 build 16 (look in commonc.h)? No matter, you can just delete the offending line from menu.c.
To build a linux 64-bit version I go to the gwnum directory: make -f make64 cd ../linux64 make Sometimes I have to edit the makefile and remove -lz -lxml2 from the LIBS line. I've been meaning to fix that.... |
|
|
|
|
|
#15 | ||
|
If I May
"Chris Halsall"
Sep 2002
Barbados
37×263 Posts |
Quote:
Quote:
Code:
chalsall@burrow linux64]$ make -f make64 make: make64: No such file or directory make: *** No rule to make target 'make64'. Stop. [chalsall@burrow linux64]$ pwd /home/chalsall/i4l/gimps/test1/gwnum/linux64 |
||
|
|
|
|
|
#16 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
2·53·71 Posts |
Use "make64" in ~/i4l/gimps/test1/gwnum directory.
Use "makefile" in ~/i4l/gimps/test1/linux64 directory. Yes that is horribly inconsistent. Note there is nothing to be done in the ~/i4l/gimps/test1/gwnum/linux64 directory |
|
|
|
|
|
#17 |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
37·263 Posts |
|
|
|
|