<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi,<div><br></div><div>I'm having trouble compiling NCAR Graphics - just the graphics libs (and demos).</div><div><br></div><div>The first error message that I notice is when compiling the demos. See below at bottom of message. "Undefined symbol: _ggkwdr_". This repeats several times during the "make" but it does not stop when the error occurs. The last few lines of the make log imply all went well. </div><div><br></div><div>When I try the examples the same undefined symbol shows up. Any suggestions?</div><div><br></div><div>Regards,</div><div><br></div><div>Dave Lane</div><div><br></div><div>--->>></div><div><br></div><div><div>[maia2:~] dlane% ncargex cpex08</div><div><br></div><div>NCAR Graphics Fortran Example <cpex08></div><div><br></div><div> Copying cpex08.f</div><div><br></div><div> Copying cpexcc.f</div><div><br></div><div>Compiling and linking...</div><div>gfortran -fPIC -fno-range-check -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib -lncarg -lncarg_gks -lncarg_c -lXpm -lX11 -lXext -lpng -lz</div><div>/usr/bin/ld: Undefined symbols:</div><div>_ggkwdr_</div><div>collect2: ld returned 1 exit status</div><div><br></div><div>The compile and link failed.</div><div><br></div><div>[maia2:~] dlane% </div><div><br></div><div>Error during make ->></div></div><div><br></div><div>gfortran -fPIC -fno-range-check -O -o pre2ncgm.prog alover.o clipit.o frm.o garg.o intcnv.o lodctb.o mmdef.o multi.o patdrw.o patset.o pltclp.o pltit.o pnt.o posit.o pwt.o setop.o setrng.o trndt2.o trnmch.o twobyt.o xmdef.o xmopdf.o fndarg.o metred.o mninst.o trans.o trassn.o trlate.o trndat.o ../../../.././ncarg2d/src/libncarg_gks/awi/ggkwdr_stub.o -L../../../.././ncarg2d/src/libncarg -lncarg -L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks -L../../../.././common/src/libncarg_c -lncarg_c -lgfortran -L/usr/local/ncarg/lib -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib </div><div><div>Making ./ncarg2d/src/bin/psplit</div><div>gcc -ansi -fPIC -O -I../../../.././include -I/usr/X11R6/include -I/sw/include -I/usr/local/include -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -D__UNIXOS2__ -DNeedFuncProto -c -o psplit.o psplit.c</div><div>gcc -ansi -fPIC -O -o psplit psplit.o -L/usr/local/ncarg/lib -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib </div><div>Making ./ncarg2d/src/bin/tdpackdemo</div><div>gfortran -fPIC -fno-range-check -O -c -o TdpackDemo.o TdpackDemo.f</div><div>gfortran -fPIC -fno-range-check -O -o tdpackdemo TdpackDemo.o -L../../../.././ncarg2d/src/libncarg -lncarg -L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks -L../../../.././common/src/libncarg_c -lncarg_c -lpng -lz -L/usr/local/ncarg/lib -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib -lXpm -lX11 -lXext </div><div>/usr/bin/ld: Undefined symbols:</div><div>_ggkwdr_</div><div>collect2: ld returned 1 exit status</div><div><br></div><br> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><br></div></span><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "></span></div></div></body></html>