DBD-Pg-0.73 make failed

From: "Igor Sysoev" <igor(at)nitek(dot)ru>
To: <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: DBD-Pg-0.73 make failed
Date: 1999-03-11 14:23:22
Message-ID: 199903111423.RAA11295@gate.nitek.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

While trying to make DBD-Pg-0.73 I found such error:

cc -c -I/usr/local/pgsql/include -I/usr/local/include/pgsql
-I/usr/include/pgsql -I/usr/local/lib/perl5/5.00502/i386-freebsd/DBI
-I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI
-I/usr/local/include -O -DVERSION=\"0.73\" -DXS_VERSION=\"0.73\"
-DPIC -fpic -I/usr/local/lib/perl5/5.00502/i386-freebsd/CORE
dbdimp.c

dbdimp.c: In function `dbd_db_ping':
dbdimp.c:135: dereferencing pointer to incomplete type
dbdimp.c:136: dereferencing pointer to incomplete type
dbdimp.c:140: dereferencing pointer to incomplete type
dbdimp.c:140: dereferencing pointer to incomplete type
dbdimp.c:141: dereferencing pointer to incomplete type
dbdimp.c:142: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:146: dereferencing pointer to incomplete type
dbdimp.c:147: dereferencing pointer to incomplete type
dbdimp.c:148: dereferencing pointer to incomplete type
*** Error code 1

I think that cc doesn't like pointers like
"imp_dbh->conn->status", "imp_dbh->conn->Pfout" and so.

Now I simply commented almost all body of dbd_db_ping()

FreeBSD 2.2.7, PostgreSQL-6.4
gcc version 2.7.2.1

I used before Pg module but I need persistent connections
so I have to use mod_perl and Apache::DBI.

With best regards,
Igor Sysoev
http://www.nitek.ru/~igor/

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 1999-03-11 14:50:34 Re: [INTERFACES] libpq problem
Previous Message David O'Farrell 1999-03-11 12:30:38 threads and libpq