In compiling matplotlib and scipy, I get errors complaining about multiply defined symbols (See below). I tried to fix this with - multiply_defined suppress but this did not work. Is there a way to make this go away?
-Rob Scipy error: c++ -bundle -undefined dynamic_lookup build/temp.macosx-10.4-i386-2.4/ Lib/sandbox/delaunay/_delaunay.o build/temp.macosx-10.4-i386-2.4/Lib/ sandbox/delaunay/VoronoiDiagramGenerator.o build/temp.macosx-10.4- i386-2.4/Lib/sandbox/delaunay/delaunay_utils.o build/temp.macosx-10.4- i386-2.4/Lib/sandbox/delaunay/natneighbors.o -Lbuild/temp.macosx-10.4- i386-2.4 -o build/lib.macosx-10.4-i386-2.4/scipy/sandbox/delaunay/ _delaunay.so /usr/bin/ld: multiple definitions of symbol __NPY_SIGINT_BUF build/temp.macosx-10.4-i386-2.4/Lib/sandbox/delaunay/_delaunay.o definition of __NPY_SIGINT_BUF in section (__DATA,__common) build/temp.macosx-10.4-i386-2.4/Lib/sandbox/delaunay/ VoronoiDiagramGenerator.o definition of __NPY_SIGINT_BUF in section (__DATA,__common) collect2: ld returned 1 exit status /usr/bin/ld: multiple definitions of symbol __NPY_SIGINT_BUF build/temp.macosx-10.4-i386-2.4/Lib/sandbox/delaunay/_delaunay.o definition of __NPY_SIGINT_BUF in section (__DATA,__common) build/temp.macosx-10.4-i386-2.4/Lib/sandbox/delaunay/ VoronoiDiagramGenerator.o definition of __NPY_SIGINT_BUF in section (__DATA,__common) collect2: ld returned 1 exit status error: Command "c++ -bundle -undefined dynamic_lookup build/ temp.macosx-10.4-i386-2.4/Lib/sandbox/delaunay/_delaunay.o build/ temp.macosx-10.4-i386-2.4/Lib/sandbox/delaunay/ VoronoiDiagramGenerator.o build/temp.macosx-10.4-i386-2.4/Lib/sandbox/ delaunay/delaunay_utils.o build/temp.macosx-10.4-i386-2.4/Lib/sandbox/ delaunay/natneighbors.o -Lbuild/temp.macosx-10.4-i386-2.4 -o build/ lib.macosx-10.4-i386-2.4/scipy/sandbox/delaunay/_delaunay.so" failed with exit status 1 matplotlib error: c++ -bundle -undefined dynamic_lookup build/temp.macosx-10.4-i386-2.4/ agg23/src/agg_trans_affine.o build/temp.macosx-10.4-i386-2.4/agg23/ src/agg_path_storage.o build/temp.macosx-10.4-i386-2.4/agg23/src/ agg_bezier_arc.o build/temp.macosx-10.4-i386-2.4/agg23/src/ agg_curves.o build/temp.macosx-10.4-i386-2.4/agg23/src/ agg_vcgen_dash.o build/temp.macosx-10.4-i386-2.4/agg23/src/ agg_vcgen_stroke.o build/temp.macosx-10.4-i386-2.4/agg23/src/ agg_rasterizer_scanline_aa.o build/temp.macosx-10.4-i386-2.4/agg23/ src/agg_image_filters.o build/temp.macosx-10.4-i386-2.4/src/_image.o build/temp.macosx-10.4-i386-2.4/src/ft2font.o build/temp.macosx-10.4- i386-2.4/src/mplutils.o build/temp.macosx-10.4-i386-2.4/CXX/ cxx_extensions.o build/temp.macosx-10.4-i386-2.4/CXX/cxxsupport.o build/temp.macosx-10.4-i386-2.4/CXX/IndirectPythonInterface.o build/ temp.macosx-10.4-i386-2.4/CXX/cxxextensions.o build/temp.macosx-10.4- i386-2.4/src/_ns_backend_agg.o -L/usr/local/lib -L/usr/lib -L/usr/ local/lib -L/usr/lib -lpng -lz -lstdc++ -lm -lfreetype -lz -lstdc++ - lm -o build/lib.macosx-10.4-i386-2.4/matplotlib/backends/ _ns_backend_agg.so /usr/bin/ld: multiple definitions of symbol __NPY_SIGINT_BUF build/temp.macosx-10.4-i386-2.4/src/_image.o definition of __NPY_SIGINT_BUF in section (__DATA,__common) build/temp.macosx-10.4-i386-2.4/src/_ns_backend_agg.o definition of __NPY_SIGINT_BUF in section (__DATA,__common) collect2: ld returned 1 exit status /usr/bin/ld: multiple definitions of symbol __NPY_SIGINT_BUF build/temp.macosx-10.4-i386-2.4/src/_image.o definition of __NPY_SIGINT_BUF in section (__DATA,__common) build/temp.macosx-10.4-i386-2.4/src/_ns_backend_agg.o definition of __NPY_SIGINT_BUF in section (__DATA,__common) collect2: ld returned 1 exit status error: Command "c++ -bundle -undefined dynamic_lookup build/ temp.macosx-10.4-i386-2.4/agg23/src/agg_trans_affine.o build/ temp.macosx-10.4-i386-2.4/agg23/src/agg_path_storage.o build/ temp.macosx-10.4-i386-2.4/agg23/src/agg_bezier_arc.o build/ temp.macosx-10.4-i386-2.4/agg23/src/agg_curves.o build/ temp.macosx-10.4-i386-2.4/agg23/src/agg_vcgen_dash.o build/ temp.macosx-10.4-i386-2.4/agg23/src/agg_vcgen_stroke.o build/ temp.macosx-10.4-i386-2.4/agg23/src/agg_rasterizer_scanline_aa.o build/temp.macosx-10.4-i386-2.4/agg23/src/agg_image_filters.o build/ temp.macosx-10.4-i386-2.4/src/_image.o build/temp.macosx-10.4- i386-2.4/src/ft2font.o build/temp.macosx-10.4-i386-2.4/src/mplutils.o build/temp.macosx-10.4-i386-2.4/CXX/cxx_extensions.o build/ temp.macosx-10.4-i386-2.4/CXX/cxxsupport.o build/temp.macosx-10.4- i386-2.4/CXX/IndirectPythonInterface.o build/temp.macosx-10.4- i386-2.4/CXX/cxxextensions.o build/temp.macosx-10.4-i386-2.4/src/ _ns_backend_agg.o -L/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/ lib -lpng -lz -lstdc++ -lm -lfreetype -lz -lstdc++ -lm -o build/ lib.macosx-10.4-i386-2.4/matplotlib/backends/_ns_backend_agg.so" failed with exit status 1 On Aug 24, 2006, at 2:18 PM, Travis Oliphant wrote: > Albert Strasheim wrote: > >> Dialog pops up: >> >> --------------------------- >> python.exe - Application Error >> --------------------------- >> The exception unknown software exception (0xc0000029) occurred in the >> application at location 0x7c86d474. >> >> >> Click on OK to terminate the program >> Click on CANCEL to debug the program >> --------------------------- >> OK Cancel >> --------------------------- >> >> In the Python console it prints: >> >> -2147483648 >> >> If you can give me some idea of what should be happening, I can >> take a look >> at fixing it. >> >> > > When does the crash happen? Does it happen when you press Ctrl-C? > > What's supposed to be happening is that we are registering a > handler for > Ctrl-C that longjmps back to just after the code between NPY_SIGINT_ON > and NPY_SIGINT_OFF. > > I'm not sure how to actually accomplish something like that under > windows as I've heard mention that longjmp should not be used with > signals under win32. > > The easy "fix" is to just define NPY_NO_SIGNAL in setup.py when on a > platform that doesn't support using signals and longjmp (like > apparently > win32). > > If you could figure out what to do instead on windows that would be > preferrable. > > -Travis > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Numpy-discussion mailing list > Numpy-discussion@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/numpy-discussion ---- Rob Hetland, Associate Professor Dept. of Oceanography, Texas A&M University http://pong.tamu.edu/~rob phone: 979-458-0096, fax: 979-845-6331 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion