|
From: Tatsuro M. <tma...@ya...> - 2009-01-15 09:10:14
|
Hello I failed to build wxt term on mingw with the latest cvs sources (2009-01-14) I used the makefile.mgw. wxt_gui.o:wxt_gui.cpp:(.text+0x2841): undefined reference to `_gp_cairo_helper_coordval_to_chars' collect2: ld returned 1 exit status make: [gnuplot.exe] Error 1 (ignored) The gd libraries used is gd-2.0.36RC1 static build (buily myself.) If ./confgiure and make process were modified, is it necesarry to modify makefile.mgw? Regards Tatsuro -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ |
|
From: Timothée L. <tim...@lp...> - 2009-01-15 09:23:34
|
Tatsuro MATSUOKA a écrit : > Hello > > I failed to build wxt term on mingw with the latest cvs sources (2009-01-14) > I used the makefile.mgw. > > wxt_gui.o:wxt_gui.cpp:(.text+0x2841): undefined reference to `_gp_cairo_helper_coordval_to_chars' > collect2: ld returned 1 exit status > make: [gnuplot.exe] Error 1 (ignored) > The gd libraries used is gd-2.0.36RC1 static build (buily myself.) > > If ./confgiure and make process were modified, is it necesarry to modify makefile.mgw? > > > Regards > > Tatsuro > > Hello, Thanks for the report. You are right, I had forgotten to fix makefile.mgw. I just did it in CVS. Please tell me if it's ok now. Best regards, Timothée |
|
From: Tatsuro M. <tma...@ya...> - 2009-01-15 10:26:59
|
Hello Please add following **************** gp_cairo_helpers.$(O): wxterminal/gp_cairo_helpers.c wxterminal/gp_cairo_helpers.h $(CC) -c $(CFLAGS) $(CXXFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS) wxterminal/gp_cairo_helpers.c ******** after *********** gp_cairo.$(O): wxterminal/gp_cairo.c wxterminal/gp_cairo.h $(CC) -c $(CFLAGS) $(CXXFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS) wxterminal/gp_cairo.c ************* in makefile.mgw With the above modification wgnuplot.exe and wgnuplot_pipes.exe worked. BTW: For gnuplot.exe, the problem seems to be remained. Please see, http://www.nabble.com/Buildng-of-gnuplot.exe-for-win32-with-wxt-fails.-(mingw)-to20745152.html#a20745152 Regards Tatsuro --- Timoth将アe Lecomte <tim...@lp...> wrote: > Tatsuro MATSUOKA a セュ竺crit : > > Hello > > > > I failed to build wxt term on mingw with the latest cvs sources (2009-01-14) > > I used the makefile.mgw. > > > > wxt_gui.o:wxt_gui.cpp:(.text+0x2841): undefined reference to > `_gp_cairo_helper_coordval_to_chars' > > collect2: ld returned 1 exit status > > make: [gnuplot.exe] Error 1 (ignored) > > The gd libraries used is gd-2.0.36RC1 static build (buily myself.) > > > > If ./confgiure and make process were modified, is it necesarry to modify makefile.mgw? > > > > > > Regards > > > > Tatsuro > > > > > Hello, > > Thanks for the report. You are right, I had forgotten to fix > makefile.mgw. I just did it in CVS. Please tell me if it's ok now. > > Best regards, > > Timothセュ竺e > > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ |
|
From: Tatsuro M. <tma...@ya...> - 2009-01-15 10:35:11
|
Hello Timothee Lecomte Sorry I forgot to say thanks to you in the previous mail!! Regards Tatsuro --- Tatsuro MATSUOKA <tma...@ya...> wrote: > Hello > > Please add following > > **************** > gp_cairo_helpers.$(O): wxterminal/gp_cairo_helpers.c wxterminal/gp_cairo_helpers.h > $(CC) -c $(CFLAGS) $(CXXFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS) wxterminal/gp_cairo_helpers.c > ******** > > after > > *********** > gp_cairo.$(O): wxterminal/gp_cairo.c wxterminal/gp_cairo.h > $(CC) -c $(CFLAGS) $(CXXFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS) wxterminal/gp_cairo.c > ************* > > in makefile.mgw > > With the above modification wgnuplot.exe and wgnuplot_pipes.exe worked. > > BTW: > For gnuplot.exe, the problem seems to be remained. > Please see, > > http://www.nabble.com/Buildng-of-gnuplot.exe-for-win32-with-wxt-fails.-(mingw)-to20745152.html#a20745152 > > Regards > > Tatsuro > > > --- Timoth将アe Lecomte <tim...@lp...> wrote: > > > Tatsuro MATSUOKA a セュ竺crit : > > > Hello > > > > > > I failed to build wxt term on mingw with the latest cvs sources (2009-01-14) > > > I used the makefile.mgw. > > > > > > wxt_gui.o:wxt_gui.cpp:(.text+0x2841): undefined reference to > > `_gp_cairo_helper_coordval_to_chars' > > > collect2: ld returned 1 exit status > > > make: [gnuplot.exe] Error 1 (ignored) > > > The gd libraries used is gd-2.0.36RC1 static build (buily myself.) > > > > > > If ./confgiure and make process were modified, is it necesarry to modify makefile.mgw? > > > > > > > > > Regards > > > > > > Tatsuro > > > > > > > > Hello, > > > > Thanks for the report. You are right, I had forgotten to fix > > makefile.mgw. I just did it in CVS. Please tell me if it's ok now. > > > > Best regards, > > > > Timothセュ竺e > > > > > > > -------------------------------------- > Power up the Internet with Yahoo! Toolbar. > http://pr.mail.yahoo.co.jp/toolbar/ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ |
|
From: Timothée L. <tim...@lp...> - 2009-01-15 13:14:41
|
Tatsuro MATSUOKA a écrit : > Hello Timothee Lecomte > > Sorry I forgot to say thanks to you in the previous mail!! > > Regards > > Tatsuro > --- Tatsuro MATSUOKA <tma...@ya...> wrote: > > >> Hello >> >> Please add following >> >> **************** >> gp_cairo_helpers.$(O): wxterminal/gp_cairo_helpers.c wxterminal/gp_cairo_helpers.h >> $(CC) -c $(CFLAGS) $(CXXFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS) wxterminal/gp_cairo_helpers.c >> ******** >> >> after >> >> *********** >> gp_cairo.$(O): wxterminal/gp_cairo.c wxterminal/gp_cairo.h >> $(CC) -c $(CFLAGS) $(CXXFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS) wxterminal/gp_cairo.c >> ************* >> >> in makefile.mgw >> >> With the above modification wgnuplot.exe and wgnuplot_pipes.exe worked. >> >> BTW: >> For gnuplot.exe, the problem seems to be remained. >> Please see, >> >> >> > http://www.nabble.com/Buildng-of-gnuplot.exe-for-win32-with-wxt-fails.-(mingw)-to20745152.html#a20745152 > >> I have added the lines in CVS (I just removed "$(CXXFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS)" which should not be needed for gp_cairo_helpers.c which is just a C file without dependency on cairo and pango). Too bad I am not familiar enough with makefiles, because the real problem is simpler: it's just that this file is in a subfolder instead of being in src/ directly. As for the problem with wxt and gnuplot.exe, I am afraid I have no idea where the problem comes from. At first glance, I cannot see anything wrong in the gdb file that you provided. There is no segfault, and I cannot see a problem in the code either. Maybe you could try to execute "GNUTERM=win gnuplot.exe" to see if gnuplot starts properly with the default win terminal. Additionally, you could try to verify that wxt_waitforinput() (in wxt_gui.cpp, line 3117) calls ConsoleGetch(). Best regards, Timothée |