From: David S. <ds...@ch...> - 2005-03-21 05:42:18
|
From Cygwin/X using gcc 3.3.3 I run (as listed in the INSTALL): $ ./configure --prefix=$MYPREFIX --disable-tcl --without-qhull --disable-cgm - -disable-dyndrivers I get this: Configure results: command: ./configure --prefix= host: i686-pc-cygwin have_x: yes prefix: CC: gcc CXX: g++ F77: g77 LIB_TAG: d devices: png jpeg hp7470 hp7580 lj_hpgl mem null pbm plmeta ps psc pstex wingcc xfig xwin Available device drivers: static: gd.lo hpgl.lo mem.lo null.lo pbm.lo plmeta.lo ps.lo pstex.lo wingcc.lo xfig.lo xwin.lo dynamic: Compilation options: with_debug: no Library options: enable_shared: yes enable_static: yes with_rpath: yes with_double: yes Optional libraries: with_qhull: no with_csa: yes with_freetype: yes with_pthreads: no Language Bindings: enable_tcl: no enable_itcl: no enable_cxx: yes enable_f77: yes enable_java: yes enable_python: no enable_octave: no I then run make and get this: Creating library file: .libs/libplplotd.dll.a ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x499): In function `PlplotWndProc': /home/Administrator/PLPLOT/plplot-5.3.1/drivers/wingcc.c:302: undefined reference to `_CreateSolidBrush@4' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x4d7):/home/Administrator/P LPLOT/plplot-5.3.1/drivers/wingcc.c:304: undefined reference to `_SelectObject@8' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x50a):/home/Administrator/P LPLOT/plplot-5.3.1/drivers/wingcc.c:306: undefined reference to `_DeleteObject@4' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x958): In function `plD_init_wingcc': /home/Administrator/PLPLOT/plplot-5.3.1/drivers/wingcc.c:487: undefined reference to `_GetDeviceCaps@8' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x971):/home/Administrator/P LPLOT/plplot-5.3.1/drivers/wingcc.c:487: undefined reference to `_GetDeviceCaps@8' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x9a3):/home/Administrator/P LPLOT/plplot-5.3.1/drivers/wingcc.c:487: undefined reference to `_GetDeviceCaps@8' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x9bc):/home/Administrator/P LPLOT/plplot-5.3.1/drivers/wingcc.c:487: undefined reference to `_GetDeviceCaps@8' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0xb2c): In function `plD_line_wingcc': /home/Administrator/PLPLOT/plplot-5.3.1/drivers/wingcc.c:548: undefined reference to `_Polyline@12' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0xc08): In function `plD_polyline_wingcc': /home/Administrator/PLPLOT/plplot-5.3.1/drivers/wingcc.c:576: undefined reference to `_Polyline@12' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0xcf2): In function `plD_fill_polygon_wingcc': /home/Administrator/PLPLOT/plplot-5.3.1/drivers/wingcc.c:613: undefined reference to `_CreateSolidBrush@4' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0xd0d):/home/Administrator/P LPLOT/plplot-5.3.1/drivers/wingcc.c:614: undefined reference to `_SelectObject@8' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0xd2f):/home/Administrator/P LPLOT/plplot-5.3.1/drivers/wingcc.c:615: undefined reference to `_Polygon@12' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0xd43):/home/Administrator/P LPLOT/plplot-5.3.1/drivers/wingcc.c:616: undefined reference to `_DeleteObject@4' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x10c3): In function `plD_state_wingcc': /home/Administrator/PLPLOT/plplot-5.3.1/drivers/wingcc.c:744: undefined reference to `_CreatePen@12' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x10d8):/home/Administrator/ PLPLOT/plplot-5.3.1/drivers/wingcc.c:745: undefined reference to `_SelectObject@8' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x10f4):/home/Administrator/ PLPLOT/plplot-5.3.1/drivers/wingcc.c:746: undefined reference to `_DeleteObject@4' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x114b): In function `plD_esc_wingcc': /home/Administrator/PLPLOT/plplot-5.3.1/drivers/wingcc.c:767: undefined reference to `_SetROP2@8' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x13c0): In function `plD_pixel_wingcc': /home/Administrator/PLPLOT/plplot-5.3.1/drivers/wingcc.c:907: undefined reference to `_SetPixel@16' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x1400): In function `plD_pixelV_wingcc': /home/Administrator/PLPLOT/plplot-5.3.1/drivers/wingcc.c:915: undefined reference to `_SetPixelV@16' ../drivers/.libs/libplplotdrv.a(wingcc.o)(.text+0x1443): In function `init_freetype_lv1': /home/Administrator/PLPLOT/plplot-5.3.1/drivers/wingcc.c:945: undefined reference to `_GetDeviceCaps@8' collect2: ld returned 1 exit status make[2]: *** [libplplotd.la] Error 1 make[2]: Leaving directory `/home/Administrator/PLPLOT/plplot-5.3.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Administrator/PLPLOT/plplot-5.3.1' make: *** [all] Error 2 What else do I need to do to get plplot running under Cygwin/X and Win2k? Kind regards, Dave Strang |