error compiling python2-biggles-1.6.4

iwamae atsushi iwamaeatsushi@hotmail.com
Mon May 17 03:28:00 GMT 2004


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

_________________________________________________________________
メッセンジャーで総額1億円プレゼント! 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/



More information about the Cygwin mailing list