<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2>Hi, Warmerdam: </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp; I want to use gen2shp in CYGWIN, so I need to compile 
Shapefile C Library. But when I use "make lib", there were errors:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV><FONT size=2>
<DIV><BR>*** Warning: This library needs some functionality provided by 
-lc.<BR>*** I have the capability to make that library automatically link in 
when<BR>*** you link to this library.&nbsp; But I can only do this if you have 
a<BR>*** shared version of the library, which you do not appear to have.<BR>*** 
The inter-library dependencies that have been dropped here will be<BR>*** 
automatically added whenever a program is linked with this library<BR>*** or is 
declared to -dlopen it.<BR>gcc -shared&nbsp; shpopen.lo shptree.lo 
dbfopen.lo&nbsp;&nbsp; -Wl,-soname -Wl,libshp.so.1 -o 
.libs/libshp.so.<BR>1.0.1<BR>(cd .libs &amp;&amp; rm -f libshp.so.1 &amp;&amp; 
ln -s libshp.so.1.0.1 libshp.so.1)<BR>(cd .libs &amp;&amp; rm -f libshp.so 
&amp;&amp; ln -s libshp.so.1.0.1 libshp.so)<BR>ar cru .libs/libshp.a&nbsp; 
shpopen.o shptree.o dbfopen.o<BR>ranlib .libs/libshp.a<BR>creating 
libshp.la<BR>(cd .libs &amp;&amp; rm -f libshp.la &amp;&amp; ln -s ../libshp.la 
libshp.la)<BR>rm -fr .libs/libshp.la .libs/libshp.* .libs/libshp.*<BR>rm -fr 
.libs/libshp.lax<BR>mkdir .libs/libshp.lax<BR>/usr/bin/ld -G -h libshp.so.1 -o 
.libs/libshp.so.1.0.1&nbsp;&nbsp; shpopen.lo shptree.lo dbfopen.lo&nbsp; 
-lc<BR>dbfopen.lo: In function 
`DBFReadAttribute':<BR>/cygdrive/d/cygwin/opt/shapelib-1.2.10/dbfopen.c:716: 
undefined reference to 
`__getreent'<BR>/cygdrive/d/cygwin/opt/shapelib-1.2.10/dbfopen.c:724: undefined 
reference to `__getreent'<BR>make: *** [lib] Error 1<BR></DIV>
<DIV>Do you know how to fix it ?</DIV>
<DIV>Thanks.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best regards,</DIV>
<DIV>kite</DIV></FONT></FONT></DIV></BODY></HTML>