delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/16/23:20:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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-Originating-IP: [130.54.130.67]
X-Originating-Email: [iwamaeatsushi AT hotmail DOT com]
X-Sender: iwamaeatsushi AT hotmail DOT com
Reply-To: iwamae AT kues DOT kyoto-u DOT ac DOT jp
From: "iwamae atsushi" <iwamaeatsushi AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: error compiling python2-biggles-1.6.4
Date: Mon, 17 May 2004 12:20:30 +0900
Mime-Version: 1.0
Message-ID: <BAY15-F19QzOsJE19q40005e1cd@hotmail.com>
X-OriginalArrivalTime: 17 May 2004 03:20:30.0370 (UTC) FILETIME=[E8328820:01C43BBD]
X-IsSubscribed: yes

I have an error to compile the latest version of python2-biggles on 
Cygwin/WindowsXP.
I would appreciate if someone would help me to build biggles.
I paste the error message at the bottom. 
The message says that the undefined reference "_png_*" in ibrary libplot.a

I have downloaded and made
zlib-1,2,1.tar.gz
libpng-1.25.tar.gz
plotutils-2.4.1.tar.gz
Numeric-23.1.tar.gz

The libplot.a was built in ~/plotutils-2.4.1/libplot
When I created libplot.a in plotutils there was an warning,
/plotutils-2.4.1/libplot
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin 
shared libraries


-----------
$ python setup.py install
running install
running build
running build_py
running build_ext
building 'libplot.libplot' extension
gcc -shared -Wl,--enable-auto-image-base 
build/temp.cygwin-1.5.9-i686-2.3/src/libplot/libplot.o -L/usr/local/lib 
-L/usr/X11R6/lib -L/usr/lib/python2.3/config -lplot -lXaw -lXmu -lXt -lSM 
-lICE -lXext -lX11 -lpython2.3 -o 
build/lib.cygwin-1.5.9-i686-2.3/biggles/libplot/libplot.dll
/usr/local/lib/libplot.a(z_write.o)(.text+0x10d):z_write.c: undefined 
reference to `_png_create_write_struct'
/usr/local/lib/libplot.a(z_write.o)(.text+0x11f):z_write.c: undefined 
reference to `_png_create_info_struct'
/usr/local/lib/libplot.a(z_write.o)(.text+0x15b):z_write.c: undefined 
reference to `_png_init_io'
/usr/local/lib/libplot.a(z_write.o)(.text+0x204):z_write.c: undefined 
reference to `_png_set_IHDR'
/usr/local/lib/libplot.a(z_write.o)(.text+0x44c):z_write.c: undefined 
reference to `_png_set_text'
/usr/local/lib/libplot.a(z_write.o)(.text+0x464):z_write.c: undefined 
reference to `_png_write_info'
/usr/local/lib/libplot.a(z_write.o)(.text+0x548):z_write.c: undefined 
reference to `_png_write_rows'
/usr/local/lib/libplot.a(z_write.o)(.text+0x585):z_write.c: undefined 
reference to `_png_write_end'
/usr/local/lib/libplot.a(z_write.o)(.text+0x59b):z_write.c: undefined 
reference to `_png_destroy_write_struct'
/usr/local/lib/libplot.a(z_write.o)(.text+0x606):z_write.c: undefined 
reference to `_png_set_interlace_handling'
/usr/local/lib/libplot.a(z_write.o)(.text+0x66e):z_write.c: undefined 
reference to `_png_set_tRNS'
/usr/local/lib/libplot.a(z_write.o)(.text+0x7f3):z_write.c: undefined 
reference to `_png_get_error_ptr'
/usr/local/lib/libplot.a(z_write.o)(.text+0x876):z_write.c: undefined 
reference to `_png_get_error_ptr'
Info: resolving _XtStrings by linking to __imp__XtStrings (auto-import)
Info: resolving _XtShellStrings by linking to __imp__XtShellStrings 
(auto-import)
Info: resolving _applicationShellWidgetClass by linking to 
__imp__applicationShellWidgetClass (auto-import)
Info: resolving _labelWidgetClass by linking to __imp__labelWidgetClass 
(auto-import)
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
-----------------------------

_________________________________________________________________
$B%a%C%;%s%8%c!<$GAm3[(B1$B2/1_%W%l%<%s%H!*(B http://im.msn.co.jp/home.htm 


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019