From help-octave-request at bevo dot che dot wisc dot edu Fri Dec 19 11:08:20 2003 Subject: distributed ocatave and cygwin From: "Trevor R.H. Clarke" To: help-octave at bevo dot che dot wisc dot edu Date: Fri, 19 Dec 2003 12:09:03 -0500 I'm trying to compile distributed octave under cygwin and I'm having some trouble. Has anybody succeeded in doing this? I'm using distributed octave sp20040402. I can patch and compile octave and serially execute parallel code. When I try and compile the mpi pil everything is good until it tries to build the pil from the objects. Here's the mpiCC command it is attempting. mpiCC -g -O2 -DUSE_MPI_API -DUSE_PARALLEL_CMD \ -I/usr/local/include/octave-2.1.45 \ -I/usr/local/include/octave-2.1.45/octave \ -I/usr/local/include -fPIC -DHAVE_CONFIG_H -shared -o octave_mpi.pil \ pil_octave_mpi.o pil_mpi_comm.o pil_mpi_misc.o pil_mpi_tags.o \ pil_mpi_xrecv.o pil_mpi_xsend.o I get pages of errors along the lines of: pil_octave_mpi.o(.text+0x68): In function `pil_initialize': .../mpi_pil-sp20040402/pil_octave_mpi.cc:69: undefined reference to `___gxx_personality_sj0' pil_octave_mpi.o(.text+0xbd):.../mpi_pil-sp20040402/pil_octave_mpi.cc:71: undefined reference to `operator new(unsigned)' I tried adding (in various combinations and with the appropriate -L's) -loctave -lcruft -lc -lstdc++ -lm to no avail. I believe I've had similar problems before (something with the way cygwin handles refs to shared libs within shared libs I believe) but can't remember how I fixed it. Any thoughts? -- Trevor R.H. Clarke trc2876 at cs dot rit dot edu Computer Science Department and Lab for Applied Computing Rochester Institute of Technology PGP key available at keyserver.net ID: 0C01D2A6 ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------