Entering edit mode
10.5 years ago
dago
★
2.8k
I'm trying to install patse-v3e.2
I downloaded the file as .tar.gz, extracted and tryied to install it using make
the following error:
gcc -O2 -DOPTIONS -c -o options.o options.c
gcc -O2 -DOPTIONS -c -o main.o main.c
In file included from options.h:24:0,
from main.c:14:
definitions.h:31:0: warning: "INFINITY" redefined [enabled by default]
/usr/include/x86_64-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
gcc -O2 -DOPTIONS -c -o command-line.o command-line.c
In file included from options.h:24:0,
from command-line.c:10:
definitions.h:31:0: warning: "INFINITY" redefined [enabled by default]
/usr/include/x86_64-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
gcc -O2 -DOPTIONS -c -o parse-line.o parse-line.c
In file included from options.h:24:0,
from parse-line.c:15:
definitions.h:31:0: warning: "INFINITY" redefined [enabled by default]
/usr/include/x86_64-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
gcc -O2 -DOPTIONS -c -o parse-line-help.o parse-line-help.c
In file included from options.h:24:0,
from parse-line-help.c:14:
definitions.h:31:0: warning: "INFINITY" redefined [enabled by default]
/usr/include/x86_64-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
parse-line-help.c: In function 'pl_Help':
parse-line-help.c:27:15: error: invalid storage class for function 'print_directions'
parse-line-help.c: At top level:
parse-line-help.c:43:13: warning: conflicting types for 'print_directions' [enabled by default]
parse-line-help.c:43:13: error: static declaration of 'print_directions' follows non-static declaration
parse-line-help.c:37:7: note: previous implicit declaration of 'print_directions' was here
make: *** [parse-line-help.o] Error 1
Looking this previous post :
How Do I Get Patser To Compile On Linux/Osx?
I changed the indicated line in the file parse-line-help.c
However, when I retype make
I get again a similar error:
gcc -O2 -DOPTIONS -c -o parse-line-help.o parse-line-help.c
In file included from options.h:24:0,
from parse-line-help.c:14:
definitions.h:31:0: warning: "INFINITY" redefined [enabled by default]
/usr/include/x86_64-linux-gnu/bits/inf.h:27:0: note: this is the location of the previous definition
parse-line-help.c: In function 'pl_Help':
parse-line-help.c:29:15: error: invalid storage class for function 'print_directions'
make: *** [parse-line-help.o] Error 1
Do you have any idea how to fix that?
Thank you very much for your help.