Slightly off topic, but I was wondering if anyone had successfully built SPRNG 
(http://sprng.cs.fsu.edu/) with a macports based gcc and mpich2.

I have gcc45 and mpich+gcc45 installed, and I receive the error:

Undefined symbols for architecture x86_64:
  "_main", referenced from:
      start in crt1.10.5.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
if g++ -DHAVE_CONFIG_H -I../SRC -I../include   -DAdd_  -DSPRNG_MPI    -g -O2 
-Wno-deprecated -DLONG64=long -MT libsprng_a-sprng.o -MD -MP -MF 
".deps/libsprng_a-sprng.Tpo" -c -o libsprng_a-sprng.o `test -f 'sprng.cpp' || 
echo './'`sprng.cpp; \
        then mv -f ".deps/libsprng_a-sprng.Tpo" ".deps/libsprng_a-sprng.Po"; 
else rm -f ".deps/libsprng_a-sprng.Tpo"; exit 1; fi
In file included from sprng.cpp:6:0:
communicate.cpp:2:17: fatal error: mpi.h: No such file or directory
compilation terminated.

Thanks,

-gideon

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to