hi,<br>i am getting this error when i do make for mpijava:<br><br>make[2]: Leaving directory `/misc/local/mpiJAVA/mpiJava/src/Java'<br>--- Making C<br>make[2]: Entering directory `/misc/local/mpiJAVA/mpiJava/src/C'<br>
/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_MPI.o mpi_MPI.c<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Comm.o mpi_Comm<br>
.c<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Op.o mpi_Op.c<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Datatype.o mpi_<br>
Datatype.c<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Intracomm.o mpi<br>_Intracomm.c<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Intercomm.o mpi<br>
_Intercomm.c<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Cartcomm.o mpi_<br>Cartcomm.c<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Graphcomm.o mpi<br>
_Graphcomm.c<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Group.o mpi_Gro<br>up.c<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Status.o mpi_St<br>
atus.c<br>mpi_Status.c:244:8: warning: extra tokens at end of #endif directive<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Request.o mpi_R<br>
equest.c<br>/usr/local/mpich-1.2.6/bin/mpicc -c   -I/usr/java/j2sdk1.4.2/include -I/usr/java/j2sdk1.4.2/include/ -I/usr/local/mpich-1.2.6/include  -o mpi_Errhandler.o mp<br>i_Errhandler.c<br>rm -f ../../lib/libmpijava.so<br>
/usr/local/mpich-1.2.6/bin/mpicc  -o ../../lib/libmpijava.so \<br>                -L/usr/local/mpich-1.2.6/lib mpi_MPI.o       mpi_Comm.o mpi_Op.o        mpi_Datatype.o mpi_Intracomm.o mpi_Intercomm.o mpi_Cartcomm.o  mpi_Gr<br>
aphcomm.o mpi_Group.o     mpi_Status.o mpi_Request.o mpi_Errhandler.o ; <br>/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crt1.o(.text+0x21): In function `_start':<br>: undefined reference to `main'<br>
collect2: ld returned 1 exit status<br>make[2]: *** [../../lib/libmpi.so] Error 1<br>make[2]: Leaving directory `/misc/local/mpiJAVA/mpiJava/src/C'<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/misc/local/mpiJAVA/mpiJava/src'<br>
make: *** [all] Error 2<br>-----------------------------------<br><br><br>uname -a : Linux,testmc,2.6.9-42.0.2.EL_lustre.1.4.7.3smp #1 SMP 2006 x86_64 x86_64 x86_64 GNU/Linux,<br><br>mpich :/usr/local/mpich-1.2.6<br>java : /usr/java/j2sdk1.4.2<br>
<br>both are part of path variable...what is wrong?<br>