R: build failure of Octave 3.2.0 on cygwin
Marco Atzeri
marco_atzeri@yahoo.it
Fri Jun 26 08:55:00 GMT 2009
Hi Tatsuro,
unfortunately the cygwin fltk is not X version and
octave expect a fltk version, so there are some changes
adding additional -lGL -lGLU on the build.
I built 3.2.0 but the fltk is not working at at all.
Give me some days and I will upload octave 3.2.0 and
latest octave forge for cygwin-1.7.
I need also to upload
arpack-96-1
ftgl-2.1.3~rc5-1
qrupdate-1.0-2
but these are already on my site,
http://matzeri.altervista.org/
so you can already test them.
Regards
Marco
--- Ven 26/6/09, Tatsuro MATSUOKA <tmacchant2@yahoo.co.jp> ha scritto:
> Da: Tatsuro MATSUOKA
> Oggetto: build failure of Octave 3.2.0 on cygwin
> A: cygwin@cygwin.com
> Data: Venerdì 26 giugno 2009, 07:09
> Hello
>
> I'm trying to build octave-3.2.0 on cygwin.
> I prepared ftgl-2.1.3~rc5, ARPACK, qrupdate, the atlas
> libralies optimized for my CPU.
>
> In the make, I have encounterd the building error on the
> fltk library.
> g++-4 -shared -Wl,--export-all-symbols
> -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc
> -o
> fltk_backend.oct fltk_backend.o -L../libcruft -lcruft
> -L../liboctave -loctave -L. -loctinterp
> -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd
> -lcxsparse -llapack -lcblas -lf77blas -latlas
> -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline
> -lncurses -ldl -lwsock32 -lcblas -lf77blas -latlas
> -lhdf5 -lz -lm -lwsock32 -L/home/octaves/Octlibs/lib
> -L/home/octaves/buildoct/exlibs/lib
> -L/usr/lib/gcc/i686-pc-cygwin/4.3.2
> -L/usr/lib/gcc/i686-pc-cygwin/4.3.2/../../.. -lhdf5 -lz -lm
> -lgfortranbegin -lgfortran -lcygwin -luser32 -lkernel32
> -ladvapi32 -lshell32 -mwindows -lfltk_gl
> -lglu32 -lopengl32 -lfltk -lole32 -luuid -lcomctl32
> -lwsock32 -lfreetype -lz
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x29):
> undefined reference to `_glPushMatrix'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x3b):
> undefined reference to `_glMatrixMode'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x40):
> undefined reference to `_glLoadIdentity'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x4c):
> undefined reference to `_glMatrixMode'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x51):
> undefined reference to `_glLoadIdentity'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x7d):
> undefined reference to `_gluOrtho2D'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x89):
> undefined reference to `_glPushAttrib'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x95):
> undefined reference to `_glDisable'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0xa1):
> undefined reference to `_glLineWidth'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0xad):
> undefined reference to `_glBegin'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0xfd):
> undefined reference to `_glVertex2d'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x141):
> undefined reference to `_glVertex2d'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x186):
> undefined reference to `_glVertex2d'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x1cb):
> undefined reference to `_glVertex2d'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x20f):
> undefined reference to `_glVertex2d'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x214):
> undefined reference to `_glEnd'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x219):
> undefined reference to `_glPopAttrib'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x251):
> undefined reference to `_glMatrixMode'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x256):
> undefined reference to `_glLoadIdentity'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x272):
> undefined reference to `_glViewport'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk12draw_overlayEv[OpenGL_fltk::draw_overlay()]+0x225):
> undefined reference to `_glPopMatrix'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk6resizeEiiii[OpenGL_fltk::resize(int,
> int, int,
> int)]+0x3e): undefined reference to `_glMatrixMode'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk6resizeEiiii[OpenGL_fltk::resize(int,
> int, int,
> int)]+0x43): undefined reference to `_glLoadIdentity'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk6resizeEiiii[OpenGL_fltk::resize(int,
> int, int,
> int)]+0x5f): undefined reference to `_glViewport'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk4drawEv[OpenGL_fltk::draw()]+0x169):
> undefined
> reference to `_glMatrixMode'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk4drawEv[OpenGL_fltk::draw()]+0x16e):
> undefined
> reference to `_glLoadIdentity'
> fltk_backend.o:fltk_backend.cc:(.text$_ZN11OpenGL_fltk4drawEv[OpenGL_fltk::draw()]+0x18a):
> undefined
> reference to `_glViewport'
> collect2: ld returned 1 exit status
> make[2]: *** [fltk_backend.oct] Error 1
>
> Any suggestions?
>
> Regards
>
> Tatsuro
>
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ:
> http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list