FreeBSD/Alpha
-------------

In my continuing quest to keep postgres 64bit clean...  I haven't attached
any patches cos I'm at work - so people feel free to fix them!

intagg
------

chriskl@alpha:~/pgsql/contrib/intagg$ gmake
Makefile:26: warning: overriding commands for target `install'
../../contrib/contrib-global.mk:74: warning: ignoring old commands for
target `ins
tall'
Makefile:30: warning: overriding commands for target `clean'
../../contrib/contrib-global.mk:143: warning: ignoring old commands for
target `cl
ean'
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC -
I. -I.
./../src/include   -c -o int_aggregate.o int_aggregate.c
int_aggregate.c: In function `GetPGArray':
int_aggregate.c:82: warning: cast to pointer from integer of different size
/usr/libexec/elf/ld -x -shared -o int_aggregate.so int_aggregate.o
sed 's,MODULE_FILENAME,$libdir/int_aggregate,g' int_aggregate.sql.in
>int_aggregat
e.sql
rm int_aggregate.o

dbsize
------

chriskl@alpha:~/pgsql/contrib/dbsize$ gmake all
sed 's,MODULE_PATHNAME,$libdir/dbsize,g' dbsize.sql.in >dbsize.sql
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC -
I. -I.
./../src/include   -c -o dbsize.o dbsize.c
dbsize.c:43: warning: no previous prototype for `database_size'
dbsize.c:117: warning: no previous prototype for `relation_size'
/usr/libexec/elf/ld -x -shared -o dbsize.so dbsize.o
rm dbsize.o

pg_controldata
--------------

gmake[1]: Entering directory `/home/chriskl/pgsql/contrib/pg_controldata'
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../s
rc/inc
lude   -c -o pg_controldata.o pg_controldata.c
pg_controldata.c: In function `main':
pg_controldata.c:91: warning: `%c' yields only last 2 digits of year in some
local
es on non-BSD systems
pg_controldata.c:93: warning: `%c' yields only last 2 digits of year in some
local
es on non-BSD systems
rm -f pg_crc.c && ln -s ../../src/backend/utils/hash/pg_crc.c .
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../s
rc/inc
lude   -c -o pg_crc.o pg_crc.c
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations
pg_controldata.o pg
_crc.o    -R/home/chriskl/local/lib -lz -lcrypt -lcompat -lm -lutil -lreadli
ne  -o
 pg_controldata
gmake[1]: Leaving directory `/home/chriskl/pgsql/contrib/pg_controldata'

pgcrypto
--------

gmake[1]: Entering directory `/home/chriskl/pgsql/contrib/pgcrypto'
sed 's,MODULE_PATHNAME,$libdir/pgcrypto,g' pgcrypto.sql.in >pgcrypto.sql
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC  
-DRAND
_SILLY -I.  -I. -I../../src/include   -c -o md5.o md5.c
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC  
-DRAND
_SILLY -I.  -I. -I../../src/include   -c -o sha1.o sha1.c
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC  
-DRAND
_SILLY -I.  -I. -I../../src/include   -c -o internal.o internal.c
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC  
-DRAND
_SILLY -I.  -I. -I../../src/include   -c -o blf.o blf.c
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC  
-DRAND
_SILLY -I.  -I. -I../../src/include   -c -o rijndael.o rijndael.c
rijndael.c: In function `rijndael_set_key':
rijndael.c:310: warning: `u' might be used uninitialized in this function
gcc -pipe -O -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPIC  
-DRAND
...

Chris


Mon, 25 Feb 2002 13:07:49 +0800
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
contrib module problems on freebsd/alpha