Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 6 Mar 2003 20:01:59 +0000 Message-ID: <8987-Thu06Mar2003200159+0000-starksb@ebi.ac.uk> From: David Starks-Browning MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Jean-Luc Vay Cc: cygwin AT cygwin DOT com Subject: undefined reference to `___w32_sharedptr_initialize' In-Reply-To: <3E678759.4040804@lbl.gov> References: <3E678759 DOT 4040804 AT lbl DOT gov> On Thursday 6 Mar 03, Jean-Luc Vay writes: > I have just updated cygwin on a Windows2000 pc and recompiled a code. > At the linking phase, I now get the following error message: > > gcc -shared -Wl,--enable-auto-image-base -Wl,--export-all-symbols \ > -Wl,--allow-multiple-definition \ > -o warpC.dll warpC.o toppymodule.o envpymodule.o w3dpymodule.o > f3dpymodule.o wxy > pymodule.o fxypymodule.o wrzpymodule.o frzpymodule.o cirpymodule.o > herpymodule.o > chopymodule.o top.p.o env.p.o w3d.p.o f3d.p.o wxy.p.o fxy.p.o wrz.p.o > frz.p.o c > ir.p.o her.p.o cho.p.o pybasisC.o env.o frz.o wxy.o f3d.o fxy.o util.o > w3d.o dto > p.o f3d_mgrid.o f3d_conductors.o fxy_mgrid.o frz_mgrid.o dw3d.o dwrz.o > fft.o top > .o wrz.o cir.o her.o cho.o pmath_rng.o ranf.o initpgfortran.o \ > -L/usr/local/LAPACK -llapack_CYGWIN -lblas_CYGWIN \ > c:/cygwin/lib/python2.2/site-packages/Numeric*/*/*/*.o \ ^^ I could be wrong, but I wouldn't expect this to work. Use Cygwin (POSIX) paths to refer to object files on the gcc command line. Regards, David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/