On Sun, Nov 19, 2006 at 11:04:33AM -0700, we recorded a bogon-computron collision of the <[EMAIL PROTECTED]> flavor, containing: > On Sat, Nov 18, 2006 at 02:16:41PM -0800, we recorded a bogon-computron > collision of the <[EMAIL PROTECTED]> flavor, containing: > > On Sat, 18 Nov 2006, Jeff Mohler wrote: > > > > > Im trying to add shapelib via the instructions and get this error in 'make > > > lib': > > > > > > /usr/bin/ld -G -h libshp.so.1 -o .libs/libshp.so.1.0.1 shpopen.lo > > > shptree.lo dbfopen.lo -lc > > > dbfopen.lo: In function `DBFReadAttribute': > > > /cygdrive/c/Documents and > > > Settings/jmohler/src/shapelib/shapelib-1.2.10/dbfopen.c:716: undefined > > > reference to `__getreent' > > > /cygdrive/c/Documents and > > > Settings/jmohler/src/shapelib/shapelib-1.2.10/dbfopen.c:724: undefined > > > reference to `__getreent' > > > make: *** [lib] Error 1 > > > > Tom: Does the internal-Shapelib code compile properly on Cygwin, or > > must the same change be made? > > Just confirmed. The internal shapelib code compiles Just Fine on cygwin. > The "__getreent" issues are purely because of the attempt to build the shared > library, which needs to have -lcywin linked in. When using the internal > shapelib, this is not necessary (no explicit linking of -lcygwin instead of > -lc is necessary).
And because of this hassle and the fact that shapelib is so small, it might be worthwhile for cygwin users who don't plan on using shapelib in other projects to just go ahead and use the internal one. When I'm done with all the other things I want to get done today, perhaps I'll update README.win32 and the wiki page to say just that. -- Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM "And, isn't sanity really just a one-trick pony anyway? I mean all you get is one trick, rational thinking, but when you're good and crazy, oooh, oooh, oooh, the sky is the limit!" --- The Tick _______________________________________________ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir