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 X-RCPTTO: cygwin AT cygwin DOT com Message-ID: <42628123.EEDCD324@gist.ac.kr> Date: Mon, 18 Apr 2005 00:30:43 +0900 From: Zhuanshi He MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: How to compile ScientificPython-2.4.9 under XP cygwin environment? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Dear All, I try to compile ScientificPython-2.4.9 (http://starship.python.net/~hinsen/ScientificPython/) under Windows XP cygwin environment using python 2.3.3 ,and gcc (GCC) 3.3.3 (cygwin special). The information shows as fillows: ---------------------------------------------------------- Using netCDF installation in /usr/local running build running build_py running build_ext building 'Scientific_netcdf' extension gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.5.10-i686-2.3/Src/Scientific_netcdf.o -L/usr/local/lib -L/usr/lib/python2.3/config -lnetcdf -lpython2.3 -o build/lib.cygwin-1.5.10-i686-2.3/Scientific/cygwin/Scientific_netcdf.dll build/temp.cygwin-1.5.10-i686-2.3/Src/Scientific_netcdf.o(.text+0x6eb): In function `initScientific_netcdf': /cygdrive/c/pygmt/ScientificPython-2.4.9/Src/Scientific_netcdf.c:2050: undefined reference to `_ncopts' build/temp.cygwin-1.5.10-i686-2.3/Src/Scientific_netcdf.o(.text+0x3067): In function `netcdf_seterror': /cygdrive/c/pygmt/ScientificPython-2.4.9/Src/Scientific_netcdf.c:46: undefined reference to `_ncerr' collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 ------------------------------------------------ Does anyone meet same problem? -- Zhuanshi He / Z. He Advanced Environmental Monitoring Research Center (ADEMRC) Gwangju Institute of Science and Technology (GIST) 1 Oryong-dong, Puk-gu, Gwangju 500-712, South Korea Tel: +82-(0)62-970-3406 Fax: +82-(0)62-970-3404 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/