LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Håvard Berland (berland+lam_at_[hidden])
Date: 2003-10-03 08:03:55


Compiling 7.0.2 on a FreeBSD 4.8 machine fails in totalview.c, where it
includes some system header file. Is this error related to the old
problems lam has had with FreeBSD system files?

Making all in mpirun
make[2]: Entering directory
`/usr/store/store/fimfpc/lam-c/src-7.0.2-386freebsd4
  /otb/mpirun'
source='mpirun.c' object='mpirun.o' libtool=no \
depfile='.deps/mpirun.Po' tmpdepfile='.deps/mpirun.TPo' \
depmode=gcc /bin/bash ../.././config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../share/include
-DLAM_SYSCONFDIR="\"/store/et c\""
-DLAM_BINDIR="\"/store/bin\"" -I../../share/ssi/include
-I../../share/incl ude -DLAM_BUILDING=1
-pthread -g -c `test -f 'mpirun.c' || echo './'`mpirun.c
source='totalview.c' object='totalview.o' libtool=no \
depfile='.deps/totalview.Po'
tmpdepfile='.deps/totalview.TPo' \
depmode=gcc /bin/bash ../.././config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../share/include
-DLAM_SYSCONFDIR="\"/store/et c\""
-DLAM_BINDIR="\"/store/bin\"" -I../../share/ssi/include
-I../../share/include -DLAM_BUILDING=1
-pthread -g -c `test -f 'totalview.c' || echo './'`total
      view.c
In file included from totalview.c:30:
/usr/include/sys/socket.h:52: parse error before `sa_family_t'
/usr/include/sys/socket.h:52: warning: data definition has no type or storage cl ass
/usr/include/sys/socket.h:163: parse error before `u_char'
/usr/include/sys/socket.h:163: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:164: warning: data definition has no type or storage c
[..continues with lots of parse errors..]

(sorry for bad linebreaking)

-- 
Håvard Berland
http://www.math.ntnu.no/~berland