From: Joao C. <jc...@fe...> - 2003-01-28 20:11:46
|
On Tuesday 28 January 2003 18:39, Pankaj Laddha wrote: > Hi Alan, Hi Pankaj > > I tried building the Plplot 5.2.0 with tcl drivers. I am getting follow= ing > errors. > > Undefined first referenced > symbol in file > XClearWindow =20 > ../drivers/.libs/libplplotdrv.al(plframe.lo) (symbol belongs to implici= t > dependency /usr/lib/libX11.so.4) > XSync =20 > ../drivers/.libs/libplplotdrv.al(plframe.lo) (symbol belongs to implici= t > dependency /usr/lib/libX11.so.4) > XFlush =20 > ../drivers/.libs/libplplotdrv.al(plframe.lo) (symbol belongs to implici= t > dependency /usr/lib/libX11.so.4) > XLookupString =20 > ../drivers/.libs/libplplotdrv.al(plframe.lo) (symbol belongs to implici= t > dependency /usr/lib/libX11.so.4) > XWarpPointer =20 > ../drivers/.libs/libplplotdrv.al(plframe.lo) (symbol belongs to implici= t > dependency /usr/lib/libX11.so.4) > XParseColor =20 > ../drivers/.libs/libplplotdrv.al(plframe.lo) (symbol belongs to implici= t > dependency /usr/lib/libX11.so.4) > XQueryPointer =20 > ../drivers/.libs/libplplotdrv.al(plframe.lo) (symbol belongs to implici= t > dependency /usr/lib/libX11.so.4) > XDrawLines =20 > ../drivers/.libs/libplplotdrv.al(plframe.lo) (symbol belongs to implici= t > dependency /usr/lib/libX11.so.4) > ld: fatal: Symbol referencing errors. No output written to > .libs/libplplot.so.5.2.0 > make[1]: *** [libplplot.la] Error 1 > make[1]: Leaving directory `/usr/pankaj/plplot/plplot-5.2.0/src' > make: *** [all-recursive] Error 1 > > Also, I have enabled following options, > with_shlib: yes with_double: no > with_debug: no with_opt: yes > with_warn: no with_profile: no > with_gcc: no with_rpath: yes > with_freetype: no > > enable_xwin: no enable_tcl: yes Try building with the xwin driver. The missing symbols from plframe, need= ed to=20 build the tk driver, are in the X11 libraries. And anyway the tk driver n= eeds=20 the xwin driver. I suspect that you are building with static libraries and without dynamic= =20 drivers. Can you please send us the configure command that you used? In c= ase=20 you don't remember it, see the contents of the file config.summary. You can also try to disable building static libraries and enable dynamic=20 drivers. One step a time: =2E/configure --enable-dyndrivers --disable-static" what happens? If it does not works, try "./configure --enable-dyndrivers" what happens? If it does not works, try "./configure --disable-static" what happens? Joao > enable_tk: yes enable_itcl: no > enable_cxx: no enable_python: no > enable_f77: no enable_java: no > enable_octave: no enable_gnome: no > enable_tkwin: no > > Can anybody help me to resolved the above errors? > > Thanks, > Pankaj. > > > > > > ----- Original Message ----- > From: Alan W. Irwin <ir...@be...> > To: Pankaj Laddha <pa...@da...> > Cc: PLplot development list <Plp...@li...> > Sent: Thursday, January 23, 2003 12:43 PM > Subject: Re: [Plplot-devel] Problem in building Shared libraries on Sol= aris > > > On Thu, 23 Jan 2003, Pankaj Laddha wrote: > > > Hi All, > > > > > > I am using plplot version 5.1.0. I am trying to build shared librar= ies > > > on Solaris. I want shared library with tcl/tk support. When I > > > give --enable-tcl, --with-shlib options to "configure", I am gettin= g > > > > > > "Checking how to build shared libraries...: Unknown" > > > > > > message. Also, in the output log of "configure" I observe > > > "enable_tcl=3DNo". > > > > > > Can anybody help me to resolve these problems? > > > > > > Thanks for any help. > > > > I cannot help you with 5.1.0, but you might want to try the recently > > released PLplot 5.2.0. (See the recent announcement on plplot-genera= l.) > > Shared libraries worked fine with PLplot-5.2.0 for the minimal Solari= s > > system (without tcl/tk) that I had at my disposal for testing. I wou= ld > > be most interested in your report (positive or negative) about whethe= r > > you can get PLplot 5.2.0 to work with tcl/tk on Solaris. > > > > Alan > > __________________________ > > Alan W. Irwin > > email: ir...@be... > > phone: 250-727-2902 > > > > Astronomical research affiliation with Department of Physics and > > Astronomy, University of Victoria (astrowww.phys.uvic.ca). > > > > Programming affiliations with the Canadian Centre for Climate Modelli= ng > > and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotti= ng > > software package (plplot.org). > > > > __________________________ > > > > Linux-powered Science > > __________________________ > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel |