Re: Error building PL/Perl (Postgres) under Cygwin - Mailing list pgsql-ports

From Jason Tishler
Subject Re: Error building PL/Perl (Postgres) under Cygwin
Date
Msg-id 20001110130455.A316@dothill.com
Whole thread Raw
In response to Error building PL/Perl (Postgres) under Cygwin  ("Edward Q. Bridges" <ed.bridges@buzznik.com>)
List pgsql-ports
Edward,

On Fri, Nov 10, 2000 at 10:26:59AM -0500, Edward Q. Bridges wrote:
> My questions:
> *  Is this a problem with cygwin's ld2 or dllwrap?  or is it a problem where the perl distro
>    i am using didn't have an "export definition file" with it?  or ???

It is problem with the stock Cygwin 1.1.4 distro.

> *  What can I do to fix it :)

See below...

> dllwrap --dllname plperl.dll --driver-name gcc --dlltool dlltool --export-all-symbols --as as --outp
> ut-def libplperl.def --output-lib libplperl.a \
>  -L/usr/local/lib plperl.o eloglvl.o SPI.o /usr/local/lib/perl5/5.6.0/cygwin/auto/Opcode/Opcode.dll
> -L/usr/local/lib/perl5/5.6.0/cygwin/CORE -lperl /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.
> a
> dllwrap: no export definition file provided
> dllwrap: creating one, but that may not be what you want
> /usr/bin/ld: warning: cannot find entry symbol __cygwin_dll_entry@12; defaulting to 62881000

The above can be solved by following the instructions in:

    http://sources.redhat.com/ml/cygwin/2000-08/msg00256.html

Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

pgsql-ports by date:

Previous
From: Jukka Honkela
Date:
Subject: Re: Problem compiling with RedHat 7
Next
From: Peter Eisentraut
Date:
Subject: Re: Problem compiling with RedHat 7