ZPyGreSQLDA Compile
Jason Tishler
Jason.Tishler@dothill.com
Thu Jun 7 09:14:00 GMT 2001
Sherwood,
On Thu, Jun 07, 2001 at 11:53:48AM -0400, Sherwood Robinson wrote:
> [snip]
> gcc -shared -Wl,--enable-auto-image-base ./pgmodule.o -lpq -lcrypt -L/usr/lib/ python2.1/config -lpython2.1 -o ./_pgmodule.dll
> Cannot export _bss_end__: symbol not defined
> Cannot export _bss_start__: symbol not defined
> Cannot export _data_end__: symbol not defined
> Cannot export _data_start__: symbol not defined
> collect2: ld returned 1 exit status
> make: *** [_pgmodule.dll] Error 1
>
> Anyone tell me what I am doing wrong here?
The above is caused because no symbols are being exported from
_pgmodule.dll. The attached patch should solved this problem. However,
I did *not* actually test it.
Note that the source that you are using for pgmodule is old. Newer
versions already have this patch applied.
BTW, why don't you use the pre-built _pgmodule.dll that is part of the
Cygwin PostgreSQL 7.1.2 distribution?
Jason
--
Jason Tishler
Director, Software Engineering Phone: 732.264.8770 x235
Dot Hill Systems Corp. Fax: 732.264.8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
More information about the Cygwin
mailing list