-------
cc -c -I/usr/local/pgsql/include -I/usr/local/include -O -pipe -DVERSION=\"1.6.1\" -DXS_VERSION=\"1.6.1\" -DPIC -fpic -I/usr/local/lib/perl5/5.00502/i386-freebsd/CORE Pg.c
In file included from /usr/local/pgsql/include/postgres.h:40,
from Pg.xs:25:
/usr/local/pgsql/include/config.h:247: warning: `USE_LOCALE' redefined
/usr/local/lib/perl5/5.00502/i386-freebsd/CORE/perl.h:342: warning: this is the location of the previous definition
Pg.xs: In function `XS_Pg_PQexec':
Pg.xs:300: sizeof applied to an incomplete type
Pg.xs: In function `XS_PG_conn_exec':
Pg.xs:702: sizeof applied to an incomplete type
*** Error code 1
Stop.
-------
:
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 -pipe -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -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
Stop.
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.
(This is not by any means the complete list but just the ones I've noticed
recently.)
not only using -lc_r what would result in linking in libc and libc_r
Submitted by: Dirk Froemberg <ibex@physik.TU-Berlin.DE>
Obtained from: John Birrell
agreed by Josh Tiefenbach <josh@ican.net>, thanks Josh for your
previous work on this port.
Port is no more broken. Requested by new maintainer and tested by
me with a -current system.