public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Compilation problem
@ 2003-11-03 10:50 Cédric Bouttes
  2003-11-05 11:46 ` Postgresql: libpq problem? (was: Re: Compilation problem) Gerrit P. Haase
  0 siblings, 1 reply; 3+ messages in thread
From: Cédric Bouttes @ 2003-11-03 10:50 UTC (permalink / raw)
  To: cygwin

Hello,

I'm trying to install DBD-Pg-1.22 on CygWin.  I have postgresql and DBI up
and running but i can't get DBD-Pg-1.22 working.
I receive the following error executing make:

$ make
rm -f blib/arch/auto/DBD/Pg/Pg.dll
LD_RUN_PATH="" ld2  -s -L/usr/local/lib Pg.o dbdimp.o  -o
blib/arch/auto/DBD/Pg/
Pg.dll  /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a
-L/usr/lib -l
pq
gcc -shared -o  Pg.dll -Wl,--out-implib=libPg.dll.a
-Wl,--export-all-symbols -Wl
,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib Pg.o dbdimp.o
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/
libperl.dll.a -L/usr/lib -lpq
dbdimp.o(.text+0x2fde):dbdimp.c: variable '__ctype_' can't be
auto-imported. Ple
ase read the documentation for ld's --enable-auto-import for details.
dbdimp.o(.text+0x2fee):dbdimp.c: variable '__ctype_' can't be
auto-imported. Ple
ase read the documentation for ld's --enable-auto-import for details.
dbdimp.o(.text+0x2ffe):dbdimp.c: variable '__ctype_' can't be
auto-imported. Ple
ase read the documentation for ld's --enable-auto-import for details.
Creating library file: libPg.dll.a
collect2: ld returned 1 exit status
perlld: *** system() failed to execute
gcc -shared -o  Pg.dll -Wl,--out-implib=libPg.dll.a
-Wl,--export-all-symbols -Wl
,--enable-auto-import -Wl,--stack,8388608 \
-s -L/usr/local/lib Pg.o dbdimp.o
/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/
libperl.dll.a -L/usr/lib -lpq

make: *** [blib/arch/auto/DBD/Pg/Pg.dll] Error 1

What can the problem be???

Regards,

Cédric.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Postgresql: libpq problem? (was: Re: Compilation problem)
  2003-11-03 10:50 Compilation problem Cédric Bouttes
@ 2003-11-05 11:46 ` Gerrit P. Haase
  2003-11-05 14:55   ` Jason Tishler
  0 siblings, 1 reply; 3+ messages in thread
From: Gerrit P. Haase @ 2003-11-05 11:46 UTC (permalink / raw)
  To: Cédric Bouttes; +Cc: cygwin

Hello Cédric,

seems to be a problem with this symbol in the postgresql library libpq.
I don't know the postgresql code, so lets ask the maintainer (therefore
the subject change).  Jason? Any ideas?

Gerrit

Monday, November 3, 2003, 11:50:38 AM, you wrote:

> Hello,

> I'm trying to install DBD-Pg-1.22 on CygWin.  I have postgresql and DBI up
> and running but i can't get DBD-Pg-1.22 working.
> I receive the following error executing make:

> $ make
> rm -f blib/arch/auto/DBD/Pg/Pg.dll
> LD_RUN_PATH="" ld2  -s -L/usr/local/lib Pg.o dbdimp.o  -o
> blib/arch/auto/DBD/Pg/
> Pg.dll  /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a
> -L/usr/lib -l
> pq
> gcc -shared -o  Pg.dll -Wl,--out-implib=libPg.dll.a
> -Wl,--export-all-symbols -Wl
> ,--enable-auto-import -Wl,--stack,8388608 \
> -s -L/usr/local/lib Pg.o dbdimp.o
> /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/
> libperl.dll.a -L/usr/lib -lpq
> dbdimp.o(.text+0x2fde):dbdimp.c: variable '__ctype_' can't be
> auto-imported. Ple
> ase read the documentation for ld's --enable-auto-import for details.
> dbdimp.o(.text+0x2fee):dbdimp.c: variable '__ctype_' can't be
> auto-imported. Ple
> ase read the documentation for ld's --enable-auto-import for details.
> dbdimp.o(.text+0x2ffe):dbdimp.c: variable '__ctype_' can't be
> auto-imported. Ple
> ase read the documentation for ld's --enable-auto-import for details.
> Creating library file: libPg.dll.a
> collect2: ld returned 1 exit status
> perlld: *** system() failed to execute
> gcc -shared -o  Pg.dll -Wl,--out-implib=libPg.dll.a
> -Wl,--export-all-symbols -Wl
> ,--enable-auto-import -Wl,--stack,8388608 \
> -s -L/usr/local/lib Pg.o dbdimp.o
> /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/
> libperl.dll.a -L/usr/lib -lpq

> make: *** [blib/arch/auto/DBD/Pg/Pg.dll] Error 1

> What can the problem be???

> Regards,

> Cédric.



-- 
Best regards,
 Gerrit 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Postgresql: libpq problem? (was: Re: Compilation problem)
  2003-11-05 11:46 ` Postgresql: libpq problem? (was: Re: Compilation problem) Gerrit P. Haase
@ 2003-11-05 14:55   ` Jason Tishler
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Tishler @ 2003-11-05 14:55 UTC (permalink / raw)
  To: cygwin; +Cc: Cédric Bouttes

On Wed, Nov 05, 2003 at 12:44:29PM +0100, Gerrit P. Haase wrote:
> seems to be a problem with this symbol in the postgresql library libpq.

Huh?

    $ nm /usr/lib/libpq.a | fgrep ctype
    $ nm /usr/lib/libcygwin.a | fgrep ctype
    00000000 I __imp____ctype_ptr
    00000000 I __nm____ctype_ptr
    00000000 I __imp___ctype_
    00000000 I __nm___ctype_
    ...

> I don't know the postgresql code, so lets ask the maintainer
> (therefore the subject change).  Jason? Any ideas?

Sigh...  I was hoping avoid downloading and building this, but it
WFM:

    $ make
    [snip]
    rm -f blib/arch/auto/DBD/Pg/Pg.dll
    LD_RUN_PATH="" ld2  -s -L/usr/local/lib Pg.o dbdimp.o  -o blib/arch/auto/DBD/Pg/Pg.dll  /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a -L/usr/lib -lpq   
    gcc -shared -o  Pg.dll -Wl,--out-implib=libPg.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
    -s -L/usr/local/lib Pg.o dbdimp.o  /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a -L/usr/lib -lpq
    Creating library file: libPg.dll.a
    [snip]

AFAICT, there appears to be a problem with Cédric's Cygwin installation.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-05 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-03 10:50 Compilation problem Cédric Bouttes
2003-11-05 11:46 ` Postgresql: libpq problem? (was: Re: Compilation problem) Gerrit P. Haase
2003-11-05 14:55   ` Jason Tishler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).