Hello -
I am having trouble compiling the Patser (v3e) motif search tool from the Stormo lab. I've tried on BioLinux 7 and OSX 10.6 with the same general error message:
$ make
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,
from main.c:14:
definitions.h:31:1: warning: "INFINITY" redefined
In file included from /usr/include/math.h:28,
from options.h:18,
from main.c:14:
/usr/include/architecture/i386/math.h:76:1: warning: 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,
from command-line.c:10:
definitions.h:31:1: warning: "INFINITY" redefined
In file included from /usr/include/math.h:28,
from options.h:18,
from command-line.c:10:
/usr/include/architecture/i386/math.h:76:1: warning: 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,
from parse-line.c:15:
definitions.h:31:1: warning: "INFINITY" redefined
In file included from /usr/include/math.h:28,
from options.h:18,
from parse-line.c:15:
/usr/include/architecture/i386/math.h:76:1: warning: 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,
from parse-line-help.c:14:
definitions.h:31:1: warning: "INFINITY" redefined
In file included from /usr/include/math.h:28,
from options.h:18,
from parse-line-help.c:14:
/usr/include/architecture/i386/math.h:76:1: warning: this is the location of the previous definition
parse-line-help.c: In function ‘pl_Help’:
parse-line-help.c:27: error: invalid storage class for function ‘print_directions’
parse-line-help.c: At top level:
parse-line-help.c:44: warning: conflicting types for ‘print_directions’
parse-line-help.c:44: error: static declaration of ‘print_directions’ follows non-static declaration
parse-line-help.c:37: error: previous implicit declaration of ‘print_directions’ was here
make: *** [parse-line-help.o] Error 1
Note: the tar.gz file linked to above is a tarbomb so it is wise to put it in a separate directory before extracting.