[gmx-users] Cannot compile Gromacs on Solaris
MS
xmagg at tlen.pl
Thu Jun 22 22:20:34 CEST 2006
Hi Mark,
Some more meat:
> gcc 2.95 is pretty ancient... I'd suggest you get a real compiler and
> try again :-)
>
> Mark
I change compiler to gcc 3.2.3. But:
Some idea?
Magda
/usr/local/gnu/gcc/3.2.3/bin/gcc -DHAVE_CONFIG_H -I. -I.
-I../../../src -I../../../include
-DGMXLIBDIR=\"/home/magg/usr/gromacs/share/top\"
-I/home/magg/usr/fftw/include -MT nonbonded.lo -MD -MP -MF
.deps/nonbonded.Tpo -c nonbonded.c -fPIC -DPIC -o .libs/nonbonded.o
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from ../../../include/sysstuff.h:53,
from ../../../include/typedefs.h:52,
from nonbonded.c:46:
/usr/include/sys/siginfo.h:259: syntax error before "ctid_t"
/usr/include/sys/siginfo.h:292: syntax error before '}' token
/usr/include/sys/siginfo.h:294: syntax error before '}' token
/usr/include/sys/siginfo.h:390: syntax error before "ctid_t"
/usr/include/sys/siginfo.h:398: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: syntax error before '}' token
/usr/include/sys/siginfo.h:428: syntax error before '}' token
/usr/include/sys/siginfo.h:432: syntax error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: syntax error before '}' token
In file included from /usr/include/signal.h:26,
from ../../../include/sysstuff.h:53,
from ../../../include/typedefs.h:52,
from nonbonded.c:46:
/usr/include/sys/signal.h:85: syntax error before "siginfo_t"
In file included from ../../../include/sysstuff.h:53,
from ../../../include/typedefs.h:52,
from nonbonded.c:46:
/usr/include/signal.h:111: syntax error before "siginfo_t"
/usr/include/signal.h:113: syntax error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `nonbonded.lo'
Current working directory /home/magg/tmp/gromacs-3.3.1/src/gmxlib/nonbonded
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list=' nb_kernel'; for subdir
in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/magg/tmp/gromacs-3.3.1/src/gmxlib/nonbonded
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='nonbonded gmx_blas gmx_lapack'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/magg/tmp/gromacs-3.3.1/src/gmxlib
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='gmxlib mdlib kernel tools ngmx contrib'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/magg/tmp/gromacs-3.3.1/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /home/magg/tmp/gromacs-3.3.1/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='include src admin scripts share man'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
More information about the gromacs.org_gmx-users
mailing list