From: Juergen W. <wie...@fr...> - 2006-07-08 15:33:57
|
On Friday 07 July 2006 02:10 Timoth=E9e Lecomte wrote: > This turned out to be an interesting information. I was obviously relying > on an undocumented behaviour so that Init(wxWindowDC*) was working, > whereas it is absent from the wxWidgets manual, even from 2.6.x > > I solved that problem in the CVS, so if you want you can try again and > report other interesting bits like those ones ;-) Well, probably not that interesting. Though I found some things. =46irst the warnings: parse.c:846: warning: `is_ud_function' defined but not used plot3d.c:1159: warning: `specs' might be used uninitialized in this function =2E./term/wxt.trm:112: warning: `font_setting' might be used uninitialized = in=20 this function wxterminal/gp_cairo.c:1029: warning: `overprinted_width' might be used=20 uninitialized in this function The first one is recently introduced, the second one seems to be false alarm. Of the third one I've heard similar diagnose on the list. Linking fails with: g++ -g -O2 -I/usr/lib/wx/include/gtk2-unicode-release-2.5=20 =2DI/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BIT= S=3D64=20 =2DD_LARGE_FILES -I/usr/local/include/cairo -I/usr/X11R6/include=20 =2DI/usr/include/libpng12 -I/usr/include/freetype2 =20 =2DI/usr/local/include/pango-1.0 -I/opt/gnome/include/glib-2.0=20 =2DI/opt/gnome/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE= _API=20 =2DI/usr/local/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freety= pe2=20 =2DI/usr/include/freetype2/config -I/opt/gnome/include/gtk-2.0=20 =2DI/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0=20 =2DI/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -L/usr= /lib=20 =2DWl,-rpath,/usr/lib -L/usr/X11R6/lib -o gnuplot alloc.o axis.o breaders.= o=20 bitmap.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o=20 gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o=20 internal.o interpol.o matrix.o misc.o mouse.o parse.o plot.o plot2d.o=20 plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard= =2Eo=20 stdfn.o tables.o term.o time.o unset.o util.o util3d.o variable.o version.o= =20 gp_cairo.o wxt_gui.o -lreadline -lncurses -lz -lgd -lXpm -lX11 -ljpeg=20 =2Dlfontconfig -lfreetype -lpng12 -lz -lm -pthread -L/usr/X11R6/lib =20 =2Dlwx_gtk2u_xrc-2.5 -lwx_gtk2u_html-2.5 -lwx_gtk2u_adv-2.5 -lwx_gtk2u_core= =2D2.5=20 =2Dlwx_baseu_xml-2.5 -lwx_baseu_net-2.5 -lwx_baseu-2.5 -L/usr/local/lib=20 =2DL/usr/X11R6/lib -lcairo -lXrender -lX11 -lXext -lpng12 -lz -lm -lfreetyp= e=20 =2Dlfontconfig -L/usr/local/lib -L/opt/gnome/lib -lpango-1.0 -lgobject-2.= 0=20 =2Dlgmodule-2.0 -ldl -lglib-2.0 -L/usr/local/lib -L/opt/gnome/lib=20 =2Dlgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0= =20 =2Dlpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl= =20 =2Dlglib-2.0 -lm=20 wxterminal/gp_cairo.c:1592: undefined reference to `pango_cairo_create_layo= ut' gp_cairo.o(.text+0x18a3): In function `gp_cairo_enhanced_flush': wxterminal/gp_cairo.c:1202: undefined reference to `pango_cairo_create_layo= ut' gp_cairo.o(.text+0x19a5):wxterminal/gp_cairo.c:1167: undefined reference to= =20 `pango_cairo_create_layout' gp_cairo.o(.text+0x19f0):wxterminal/gp_cairo.c:1175: undefined reference to= =20 `pango_cairo_create_layout' gp_cairo.o(.text+0x1bf1):wxterminal/gp_cairo.c:1101: undefined reference to= =20 `pango_cairo_create_layout' gp_cairo.o(.text+0x1dc7):wxterminal/gp_cairo.c:1124: more undefined referen= ces=20 to `pango_cairo_create_layout' follow gp_cairo.o(.text+0x2ec6): In function `gp_cairo_draw_enhanced_text': wxterminal/gp_cairo.c:1391: undefined reference to `pango_cairo_update_layo= ut' gp_cairo.o(.text+0x2ed5):wxterminal/gp_cairo.c:1392: undefined reference to= =20 `pango_cairo_show_layout' gp_cairo.o(.text+0x3c9a): In function `gp_cairo_draw_text': wxterminal/gp_cairo.c:637: undefined reference to `pango_cairo_create_layou= t' gp_cairo.o(.text+0x3e6a):wxterminal/gp_cairo.c:690: undefined reference to= =20 `pango_cairo_update_layout' gp_cairo.o(.text+0x3e79):wxterminal/gp_cairo.c:691: undefined reference to= =20 `pango_cairo_show_layout' collect2: ld returned 1 exit status make[1]: *** [gnuplot] Fehler 1 Is this a problem with the installation of the libs? Juergen |