agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Casey Claiborne <mskc@io.com>
To: gknauth@BBN.COM
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: building POSTGRES v4r2 under Linux 1.2.13
Date: Wed, 29 May 1996 21:20:04 -0500 (CDT)
Message-ID: <Pine.BSI.3.91.960529211908.29312A-100000@pentagon.io.com> (raw)
In-Reply-To: <199605292100.OAA03298@nobozo.CS.Berkeley.EDU>

I, myself, just downloaded the binary version -

newbie1.tar.gz and newbie2.tar.gz - it was

*much* easier


On Wed, 29 May 1996 gknauth@BBN.COM wrote:

> I tried to build POSTGRES v4r2 on a Linux 1.2.13; no go.  Any advice?
> 
> Geoffrey
> 
> ----------------------------------------------------------------------
> [root@madonna gsk]# cd /usr/local/postgres/postgres-v4r2/src
> [root@madonna src]# bmake all install
> ===> backend
> cc -O2 -DPORTNAME_linux -DPOSTPORT='"4321"' -DDEADLOCK_TIMEOUT=60 -D__USE_BSD -D__USE_BSD_SIGNAL -DNEED_CBRT -DPOSTGRESDIR='"/usr/local/postgres"'  -DDATADIR='"/usr/local/postgres/data"'  -DBINDIR='"/usr/local/postgres/bin"'  -I/usr/local/postgres/postgres-v4r2/src/backend/. -I/usr/local/postgres/postgres-v4r2/src/backend/obj  -I/usr/local/postgres/postgres-v4r2/src/backend/tmp  -I/usr/local/postgres/postgres-v4r2/src/backend/port/linux  -c /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c
> /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c: In function `ExecEvalIter':
> /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c:36: warning: assignment makes pointer from integer without a cast
> /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c: In function `ExecEvalFjoin':
> /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c:57: warning: initialization makes pointer from integer without a cast
> /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c:58: warning: initialization makes pointer from integer without a cast
> /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c:90: invalid type argument of `->'
> /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c:134: invalid type argument of `->'
> /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c:152: invalid type argument of `->'
> /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c: In function `FjoinBumpOuterNodes':
> /usr/local/postgres/postgres-v4r2/src/backend/executor/ex_flatten.c:170: warning: initialization makes pointer from integer without a cast
> *** Error code 1
> 
> Stop.
> ===> libpq
> ===> bin
> ===> monitor
> cc  -o monitor monitor.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/monitor/../../libpq/obj/libpq.a
> monitor.o: In function `main':
> monitor.o(.text+0x167): undefined reference to `fe_setauthsvc'
> monitor.o(.text+0x186): undefined reference to `PQhost'
> monitor.o(.text+0x196): undefined reference to `PQport'
> monitor.o(.text+0x1a6): undefined reference to `PQtty'
> monitor.o(.text+0x1e9): undefined reference to `debug_port'
> monitor.o(.text+0x212): undefined reference to `PQtracep'
> monitor.o(.text+0x351): undefined reference to `fe_getauthname'
> monitor.o(.text+0x39f): undefined reference to `PQhost'
> monitor.o(.text+0x3b1): undefined reference to `PQhost'
> monitor.o(.text+0x3be): undefined reference to `PQhost'
> monitor.o(.text+0x3c8): undefined reference to `PQhost'
> monitor.o(.text+0x3f2): undefined reference to `PQhost'
> monitor.o(.text+0x442): undefined reference to `PQsetdb'
> monitor.o: In function `do_input':
> monitor.o(.text+0x849): undefined reference to `PQexec'
> monitor.o: In function `print_tuples':
> monitor.o(.text+0x92e): undefined reference to `PQparray'
> monitor.o(.text+0x937): undefined reference to `PQngroups'
> monitor.o(.text+0x962): undefined reference to `PQntuplesGroup'
> monitor.o(.text+0x97b): undefined reference to `PQntuplesGroup'
> monitor.o(.text+0x988): undefined reference to `PQnfieldsGroup'
> monitor.o(.text+0xa1d): undefined reference to `PQfnameGroup'
> monitor.o(.text+0xa37): undefined reference to `PQfnameGroup'
> monitor.o(.text+0xac8): undefined reference to `PQgetvalue'
> monitor.o: In function `handle_execution':
> monitor.o(.text+0xdbe): undefined reference to `PQexec'
> monitor.o(.text+0xe74): undefined reference to `PQclear'
> monitor.o(.text+0xe7e): undefined reference to `PQexec'
> monitor.o(.text+0xedc): undefined reference to `PQexec'
> monitor.o(.text+0xef5): undefined reference to `PQFlushI'
> monitor.o(.text+0x10ba): undefined reference to `PQfinish'
> monitor.o: In function `handle_copy_out':
> monitor.o(.text+0x15ab): undefined reference to `PQgetline'
> monitor.o(.text+0x1600): undefined reference to `PQendcopy'
> monitor.o: In function `handle_copy_in':
> monitor.o(.text+0x174f): undefined reference to `PQputline'
> monitor.o(.text+0x176b): undefined reference to `PQputline'
> monitor.o(.text+0x17ae): undefined reference to `PQputline'
> monitor.o(.text+0x17c3): undefined reference to `PQendcopy'
> *** Error code 1
> 
> Stop.
> ===> pagedoc
> ===> pg_id
> ===> pg_ufp
> cc -O2 -DPORTNAME_linux -DPOSTPORT='"4321"' -DDEADLOCK_TIMEOUT=60 -D__USE_BSD -D__USE_BSD_SIGNAL -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/port/linux  -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/obj  -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend -DUFP  -c /usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/port/linux/dynloader.c
> /usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/port/linux/dynloader.c:10: dld.h: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> pg_version
> ===> shmemdoc
> ===> cleardbdir
> ===> createdb
> ===> createuser
> ===> destroydb
> ===> destroyuser
> ===> initdb
> ===> newbki
> ===> vacuum
> ===> ipcclean
> make: don't know how to make ipcclean.sh. Stop
> ===> reindexdb
> ===> fsutils
> ===> icopy
> cc -O2 -DPORTNAME_linux -DPOSTPORT='"4321"' -DDEADLOCK_TIMEOUT=60 -D__USE_BSD -D__USE_BSD_SIGNAL -I/usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/../../backend -I/usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/../../../backend  -c /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c: In function `build_inlist':
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c:498: structure has no member named `d_namlen'
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c: In function `docopy_in':
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c:626: warning: passing arg 1 of `perror' from incompatible pointer type
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c: In function `docopy_out':
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c:722: warning: passing arg 1 of `perror' from incompatible pointer type
> *** Error code 1
> 
> Stop.
> ===> pcat
> cc  -o pcat pcat.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcat/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcat/../../../libpq/obj/libpq.a
> pcat.o: In function `main':
> pcat.o(.text+0x56): undefined reference to `PQhost'
> pcat.o(.text+0x66): undefined reference to `PQport'
> pcat.o(.text+0x77): undefined reference to `PQsetdb'
> pcat.o(.text+0xbe): undefined reference to `PQsetdb'
> pcat.o(.text+0xe6): undefined reference to `PQexec'
> pcat.o(.text+0x139): undefined reference to `p_open'
> pcat.o(.text+0x17b): undefined reference to `p_close'
> pcat.o(.text+0x19c): undefined reference to `PQexec'
> pcat.o(.text+0x1a1): undefined reference to `PQfinish'
> pcat.o: In function `pgcopy':
> pcat.o(.text+0x220): undefined reference to `p_read'
> *** Error code 1
> 
> Stop.
> ===> pcd
> cc  -o pcd pcd.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcd/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcd/../../../libpq/obj/libpq.a
> pcd.o: In function `main':
> pcd.o(.text+0x116): undefined reference to `PQhost'
> pcd.o(.text+0x126): undefined reference to `PQport'
> pcd.o(.text+0x137): undefined reference to `PQsetdb'
> pcd.o(.text+0x1a2): undefined reference to `PQsetdb'
> pcd.o(.text+0x1ab): undefined reference to `p_attr_caching'
> pcd.o(.text+0x1e5): undefined reference to `p_chdir'
> pcd.o(.text+0x218): undefined reference to `p_getwd'
> pcd.o(.text+0x228): undefined reference to `PQfinish'
> *** Error code 1
> 
> Stop.
> ===> pls
> cc  -o pls ls.o fts.o cmp.o print.o util.o pwcache.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pls/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pls/../../../libpq/obj/libpq.a
> ls.o: In function `main':
> ls.o(.text+0x3e6): undefined reference to `PQhost'
> ls.o(.text+0x3f6): undefined reference to `PQport'
> ls.o(.text+0x407): undefined reference to `PQsetdb'
> ls.o(.text+0x45e): undefined reference to `PQsetdb'
> ls.o(.text+0x46b): undefined reference to `PQexec'
> ls.o(.text+0x471): undefined reference to `p_attr_caching'
> ls.o(.text+0x636): undefined reference to `PQexec'
> ls.o(.text+0x63b): undefined reference to `PQfinish'
> fts.o: In function `fts_children':
> fts.o(.text+0x796): undefined reference to `p_opendir'
> fts.o(.text+0x8b9): undefined reference to `p_readdir'
> fts.o(.text+0x937): undefined reference to `p_closedir'
> fts.o(.text+0xa95): undefined reference to `p_closedir'
> fts.o(.text+0xb95): undefined reference to `p_stat'
> fts.o(.text+0xbac): undefined reference to `p_stat'
> fts.o(.text+0xbe6): undefined reference to `p_stat'
> *** Error code 1
> 
> Stop.
> ===> pmkdir
> cc  -o pmkdir pmkdir.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmkdir/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmkdir/../../../libpq/obj/libpq.a
> pmkdir.o: In function `main':
> pmkdir.o(.text+0x116): undefined reference to `PQhost'
> pmkdir.o(.text+0x126): undefined reference to `PQport'
> pmkdir.o(.text+0x137): undefined reference to `PQsetdb'
> pmkdir.o(.text+0x1b2): undefined reference to `PQsetdb'
> pmkdir.o(.text+0x1bb): undefined reference to `p_attr_caching'
> pmkdir.o(.text+0x1e2): undefined reference to `PQexec'
> pmkdir.o(.text+0x219): undefined reference to `p_mkdir'
> pmkdir.o(.text+0x225): undefined reference to `p_errno'
> pmkdir.o(.text+0x258): undefined reference to `PQexec'
> pmkdir.o(.text+0x25d): undefined reference to `PQfinish'
> pmkdir.o: In function `build':
> pmkdir.o(.text+0x299): undefined reference to `p_stat'
> pmkdir.o(.text+0x2a6): undefined reference to `p_errno'
> pmkdir.o(.text+0x2b7): undefined reference to `p_mkdir'
> pmkdir.o(.text+0x2c3): undefined reference to `p_errno'
> *** Error code 1
> 
> Stop.
> ===> pmv
> cc  -o pmv pmv.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmv/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmv/../../../libpq/obj/libpq.a
> pmv.o: In function `main':
> pmv.o(.text+0x156): undefined reference to `PQhost'
> pmv.o(.text+0x166): undefined reference to `PQport'
> pmv.o(.text+0x177): undefined reference to `PQsetdb'
> pmv.o(.text+0x212): undefined reference to `PQsetdb'
> pmv.o(.text+0x21f): undefined reference to `PQexec'
> pmv.o(.text+0x230): undefined reference to `p_stat'
> pmv.o(.text+0x358): undefined reference to `PQexec'
> pmv.o(.text+0x360): undefined reference to `PQfinish'
> pmv.o: In function `do_move':
> pmv.o(.text+0x391): undefined reference to `p_stat'
> pmv.o(.text+0x439): undefined reference to `p_rename'
> pmv.o(.text+0x45a): undefined reference to `p_errno'
> *** Error code 1
> 
> Stop.
> ===> prm
> cc  -o prm prm.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prm/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prm/../../../libpq/obj/libpq.a
> prm.o: In function `main':
> prm.o(.text+0x146): undefined reference to `PQhost'
> prm.o(.text+0x156): undefined reference to `PQport'
> prm.o(.text+0x167): undefined reference to `PQsetdb'
> prm.o(.text+0x202): undefined reference to `PQsetdb'
> prm.o(.text+0x20b): undefined reference to `p_attr_caching'
> prm.o(.text+0x246): undefined reference to `PQfinish'
> prm.o(.text+0x255): undefined reference to `PQexec'
> prm.o(.text+0x28c): undefined reference to `PQexec'
> prm.o(.text+0x294): undefined reference to `PQfinish'
> prm.o: In function `rm':
> prm.o(.text+0x2f9): undefined reference to `p_stat'
> prm.o(.text+0x3b2): undefined reference to `p_opendir'
> prm.o(.text+0x430): undefined reference to `p_readdir'
> prm.o(.text+0x47e): undefined reference to `p_closedir'
> prm.o(.text+0x4c1): undefined reference to `p_opendir'
> prm.o(.text+0x534): undefined reference to `p_readdir'
> prm.o(.text+0x564): undefined reference to `p_readdir'
> prm.o(.text+0x5e8): undefined reference to `p_closedir'
> prm.o(.text+0x62e): undefined reference to `p_rmdir'
> prm.o(.text+0x6ac): undefined reference to `p_unlink'
> *** Error code 1
> 
> Stop.
> ===> prmdir
> cc  -o prmdir prmdir.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prmdir/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prmdir/../../../libpq/obj/libpq.a
> prmdir.o: In function `main':
> prmdir.o(.text+0x56): undefined reference to `PQhost'
> prmdir.o(.text+0x66): undefined reference to `PQport'
> prmdir.o(.text+0x77): undefined reference to `PQsetdb'
> prmdir.o(.text+0xe2): undefined reference to `PQsetdb'
> prmdir.o(.text+0xeb): undefined reference to `p_attr_caching'
> prmdir.o(.text+0x101): undefined reference to `PQfinish'
> prmdir.o(.text+0x110): undefined reference to `PQexec'
> prmdir.o(.text+0x122): undefined reference to `p_rmdir'
> prmdir.o(.text+0x12e): undefined reference to `p_errno'
> prmdir.o(.text+0x16b): undefined reference to `PQexec'
> prmdir.o(.text+0x170): undefined reference to `PQfinish'
> *** Error code 1
> 
> Stop.
> ===> ppwd
> cc  -o ppwd ppwd.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/ppwd/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/ppwd/../../../libpq/obj/libpq.a
> ppwd.o: In function `main':
> ppwd.o(.text+0x11): undefined reference to `p_getwd'
> ppwd.o(.text+0x31): undefined reference to `p_errno'
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> ===> s2kutils
> ===> s2kdestroy
> ===> s2kinit
> ===> s2klist
> ===> regress
> ===> bench
> rm -f bench.out bench.out.perquery
> ===> demo
> rm -f demo.out
> ===> regress
> cc  -o iportal iportal.o -lbsd /usr/local/postgres/postgres-v4r2/src/regress/regress/../../libpq/obj/libpq.a
> iportal.o: In function `exit_error':
> iportal.o(.text+0x9): undefined reference to `PQexec'
> iportal.o(.text+0x13): undefined reference to `PQexec'
> iportal.o(.text+0x18): undefined reference to `PQfinish'
> iportal.o: In function `main':
> iportal.o(.text+0x65): undefined reference to `PQsetdb'
> iportal.o(.text+0x6f): undefined reference to `PQexec'
> iportal.o(.text+0x79): undefined reference to `PQexec'
> iportal.o(.text+0xc1): undefined reference to `PQexec'
> iportal.o(.text+0x104): undefined reference to `PQparray'
> iportal.o(.text+0x10d): undefined reference to `PQngroups'
> iportal.o(.text+0x131): undefined reference to `PQntuplesGroup'
> iportal.o(.text+0x141): undefined reference to `PQnfieldsGroup'
> iportal.o(.text+0x178): undefined reference to `PQgetvalue'
> iportal.o(.text+0x187): undefined reference to `PQgetvalue'
> iportal.o(.text+0x196): undefined reference to `PQgetlength'
> iportal.o(.text+0x1a7): undefined reference to `palloc'
> iportal.o(.text+0x1dd): undefined reference to `PQgetvalue'
> iportal.o(.text+0x216): undefined reference to `PQgetlength'
> iportal.o(.text+0x231): undefined reference to `PQgetlength'
> iportal.o(.text+0x247): undefined reference to `PQgetlength'
> iportal.o(.text+0x27c): undefined reference to `PQexec'
> iportal.o(.text+0x286): undefined reference to `PQexec'
> iportal.o(.text+0x28b): undefined reference to `PQfinish'
> *** Error code 1
> 
> Stop.
> ===> video
> rm -f video.out
> ===> backend
> cc  -o pg_id /usr/local/postgres/postgres-v4r2/src/backend/../bin/pg_id/pg_id.c -lbsd -ldld -lm
> ld: cannot open -ldld: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> libpq
> /usr/bin/install -c -o bin -g bin -m 664 libpq.a  /usr/local/postgres/lib/libpq.a;  cd /usr/local/postgres/lib;  ranlib libpq.a;  chmod 444 libpq.a
> /usr/bin/install: /usr/local/postgres/lib/libpq.a: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> bin
> ===> monitor
> cc  -o monitor monitor.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/monitor/../../libpq/obj/libpq.a
> monitor.o: In function `main':
> monitor.o(.text+0x167): undefined reference to `fe_setauthsvc'
> monitor.o(.text+0x186): undefined reference to `PQhost'
> monitor.o(.text+0x196): undefined reference to `PQport'
> monitor.o(.text+0x1a6): undefined reference to `PQtty'
> monitor.o(.text+0x1e9): undefined reference to `debug_port'
> monitor.o(.text+0x212): undefined reference to `PQtracep'
> monitor.o(.text+0x351): undefined reference to `fe_getauthname'
> monitor.o(.text+0x39f): undefined reference to `PQhost'
> monitor.o(.text+0x3b1): undefined reference to `PQhost'
> monitor.o(.text+0x3be): undefined reference to `PQhost'
> monitor.o(.text+0x3c8): undefined reference to `PQhost'
> monitor.o(.text+0x3f2): undefined reference to `PQhost'
> monitor.o(.text+0x442): undefined reference to `PQsetdb'
> monitor.o: In function `do_input':
> monitor.o(.text+0x849): undefined reference to `PQexec'
> monitor.o: In function `print_tuples':
> monitor.o(.text+0x92e): undefined reference to `PQparray'
> monitor.o(.text+0x937): undefined reference to `PQngroups'
> monitor.o(.text+0x962): undefined reference to `PQntuplesGroup'
> monitor.o(.text+0x97b): undefined reference to `PQntuplesGroup'
> monitor.o(.text+0x988): undefined reference to `PQnfieldsGroup'
> monitor.o(.text+0xa1d): undefined reference to `PQfnameGroup'
> monitor.o(.text+0xa37): undefined reference to `PQfnameGroup'
> monitor.o(.text+0xac8): undefined reference to `PQgetvalue'
> monitor.o: In function `handle_execution':
> monitor.o(.text+0xdbe): undefined reference to `PQexec'
> monitor.o(.text+0xe74): undefined reference to `PQclear'
> monitor.o(.text+0xe7e): undefined reference to `PQexec'
> monitor.o(.text+0xedc): undefined reference to `PQexec'
> monitor.o(.text+0xef5): undefined reference to `PQFlushI'
> monitor.o(.text+0x10ba): undefined reference to `PQfinish'
> monitor.o: In function `handle_copy_out':
> monitor.o(.text+0x15ab): undefined reference to `PQgetline'
> monitor.o(.text+0x1600): undefined reference to `PQendcopy'
> monitor.o: In function `handle_copy_in':
> monitor.o(.text+0x174f): undefined reference to `PQputline'
> monitor.o(.text+0x176b): undefined reference to `PQputline'
> monitor.o(.text+0x17ae): undefined reference to `PQputline'
> monitor.o(.text+0x17c3): undefined reference to `PQendcopy'
> *** Error code 1
> 
> Stop.
> ===> pagedoc
> ===> pg_id
> ===> pg_ufp
> cc -O2 -DPORTNAME_linux -DPOSTPORT='"4321"' -DDEADLOCK_TIMEOUT=60 -D__USE_BSD -D__USE_BSD_SIGNAL -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/port/linux  -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/obj  -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend -DUFP  -c /usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/port/linux/dynloader.c
> /usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/port/linux/dynloader.c:10: dld.h: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> pg_version
> ===> shmemdoc
> ===> cleardbdir
> ===> createdb
> ===> createuser
> ===> destroydb
> ===> destroyuser
> ===> initdb
> ===> newbki
> ===> vacuum
> ===> ipcclean
> make: don't know how to make ipcclean.sh. Stop
> ===> reindexdb
> ===> fsutils
> ===> icopy
> cc -O2 -DPORTNAME_linux -DPOSTPORT='"4321"' -DDEADLOCK_TIMEOUT=60 -D__USE_BSD -D__USE_BSD_SIGNAL -I/usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/../../backend -I/usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/../../../backend  -c /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c: In function `build_inlist':
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c:498: structure has no member named `d_namlen'
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c: In function `docopy_in':
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c:626: warning: passing arg 1 of `perror' from incompatible pointer type
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c: In function `docopy_out':
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c:722: warning: passing arg 1 of `perror' from incompatible pointer type
> *** Error code 1
> 
> Stop.
> ===> pcat
> cc  -o pcat pcat.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcat/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcat/../../../libpq/obj/libpq.a
> pcat.o: In function `main':
> pcat.o(.text+0x56): undefined reference to `PQhost'
> pcat.o(.text+0x66): undefined reference to `PQport'
> pcat.o(.text+0x77): undefined reference to `PQsetdb'
> pcat.o(.text+0xbe): undefined reference to `PQsetdb'
> pcat.o(.text+0xe6): undefined reference to `PQexec'
> pcat.o(.text+0x139): undefined reference to `p_open'
> pcat.o(.text+0x17b): undefined reference to `p_close'
> pcat.o(.text+0x19c): undefined reference to `PQexec'
> pcat.o(.text+0x1a1): undefined reference to `PQfinish'
> pcat.o: In function `pgcopy':
> pcat.o(.text+0x220): undefined reference to `p_read'
> *** Error code 1
> 
> Stop.
> ===> pcd
> cc  -o pcd pcd.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcd/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcd/../../../libpq/obj/libpq.a
> pcd.o: In function `main':
> pcd.o(.text+0x116): undefined reference to `PQhost'
> pcd.o(.text+0x126): undefined reference to `PQport'
> pcd.o(.text+0x137): undefined reference to `PQsetdb'
> pcd.o(.text+0x1a2): undefined reference to `PQsetdb'
> pcd.o(.text+0x1ab): undefined reference to `p_attr_caching'
> pcd.o(.text+0x1e5): undefined reference to `p_chdir'
> pcd.o(.text+0x218): undefined reference to `p_getwd'
> pcd.o(.text+0x228): undefined reference to `PQfinish'
> *** Error code 1
> 
> Stop.
> ===> pls
> cc  -o pls ls.o fts.o cmp.o print.o util.o pwcache.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pls/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pls/../../../libpq/obj/libpq.a
> ls.o: In function `main':
> ls.o(.text+0x3e6): undefined reference to `PQhost'
> ls.o(.text+0x3f6): undefined reference to `PQport'
> ls.o(.text+0x407): undefined reference to `PQsetdb'
> ls.o(.text+0x45e): undefined reference to `PQsetdb'
> ls.o(.text+0x46b): undefined reference to `PQexec'
> ls.o(.text+0x471): undefined reference to `p_attr_caching'
> ls.o(.text+0x636): undefined reference to `PQexec'
> ls.o(.text+0x63b): undefined reference to `PQfinish'
> fts.o: In function `fts_children':
> fts.o(.text+0x796): undefined reference to `p_opendir'
> fts.o(.text+0x8b9): undefined reference to `p_readdir'
> fts.o(.text+0x937): undefined reference to `p_closedir'
> fts.o(.text+0xa95): undefined reference to `p_closedir'
> fts.o(.text+0xb95): undefined reference to `p_stat'
> fts.o(.text+0xbac): undefined reference to `p_stat'
> fts.o(.text+0xbe6): undefined reference to `p_stat'
> *** Error code 1
> 
> Stop.
> ===> pmkdir
> cc  -o pmkdir pmkdir.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmkdir/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmkdir/../../../libpq/obj/libpq.a
> pmkdir.o: In function `main':
> pmkdir.o(.text+0x116): undefined reference to `PQhost'
> pmkdir.o(.text+0x126): undefined reference to `PQport'
> pmkdir.o(.text+0x137): undefined reference to `PQsetdb'
> pmkdir.o(.text+0x1b2): undefined reference to `PQsetdb'
> pmkdir.o(.text+0x1bb): undefined reference to `p_attr_caching'
> pmkdir.o(.text+0x1e2): undefined reference to `PQexec'
> pmkdir.o(.text+0x219): undefined reference to `p_mkdir'
> pmkdir.o(.text+0x225): undefined reference to `p_errno'
> pmkdir.o(.text+0x258): undefined reference to `PQexec'
> pmkdir.o(.text+0x25d): undefined reference to `PQfinish'
> pmkdir.o: In function `build':
> pmkdir.o(.text+0x299): undefined reference to `p_stat'
> pmkdir.o(.text+0x2a6): undefined reference to `p_errno'
> pmkdir.o(.text+0x2b7): undefined reference to `p_mkdir'
> pmkdir.o(.text+0x2c3): undefined reference to `p_errno'
> *** Error code 1
> 
> Stop.
> ===> pmv
> cc  -o pmv pmv.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmv/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmv/../../../libpq/obj/libpq.a
> pmv.o: In function `main':
> pmv.o(.text+0x156): undefined reference to `PQhost'
> pmv.o(.text+0x166): undefined reference to `PQport'
> pmv.o(.text+0x177): undefined reference to `PQsetdb'
> pmv.o(.text+0x212): undefined reference to `PQsetdb'
> pmv.o(.text+0x21f): undefined reference to `PQexec'
> pmv.o(.text+0x230): undefined reference to `p_stat'
> pmv.o(.text+0x358): undefined reference to `PQexec'
> pmv.o(.text+0x360): undefined reference to `PQfinish'
> pmv.o: In function `do_move':
> pmv.o(.text+0x391): undefined reference to `p_stat'
> pmv.o(.text+0x439): undefined reference to `p_rename'
> pmv.o(.text+0x45a): undefined reference to `p_errno'
> *** Error code 1
> 
> Stop.
> ===> prm
> cc  -o prm prm.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prm/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prm/../../../libpq/obj/libpq.a
> prm.o: In function `main':
> prm.o(.text+0x146): undefined reference to `PQhost'
> prm.o(.text+0x156): undefined reference to `PQport'
> prm.o(.text+0x167): undefined reference to `PQsetdb'
> prm.o(.text+0x202): undefined reference to `PQsetdb'
> prm.o(.text+0x20b): undefined reference to `p_attr_caching'
> prm.o(.text+0x246): undefined reference to `PQfinish'
> prm.o(.text+0x255): undefined reference to `PQexec'
> prm.o(.text+0x28c): undefined reference to `PQexec'
> prm.o(.text+0x294): undefined reference to `PQfinish'
> prm.o: In function `rm':
> prm.o(.text+0x2f9): undefined reference to `p_stat'
> prm.o(.text+0x3b2): undefined reference to `p_opendir'
> prm.o(.text+0x430): undefined reference to `p_readdir'
> prm.o(.text+0x47e): undefined reference to `p_closedir'
> prm.o(.text+0x4c1): undefined reference to `p_opendir'
> prm.o(.text+0x534): undefined reference to `p_readdir'
> prm.o(.text+0x564): undefined reference to `p_readdir'
> prm.o(.text+0x5e8): undefined reference to `p_closedir'
> prm.o(.text+0x62e): undefined reference to `p_rmdir'
> prm.o(.text+0x6ac): undefined reference to `p_unlink'
> *** Error code 1
> 
> Stop.
> ===> prmdir
> cc  -o prmdir prmdir.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prmdir/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prmdir/../../../libpq/obj/libpq.a
> prmdir.o: In function `main':
> prmdir.o(.text+0x56): undefined reference to `PQhost'
> prmdir.o(.text+0x66): undefined reference to `PQport'
> prmdir.o(.text+0x77): undefined reference to `PQsetdb'
> prmdir.o(.text+0xe2): undefined reference to `PQsetdb'
> prmdir.o(.text+0xeb): undefined reference to `p_attr_caching'
> prmdir.o(.text+0x101): undefined reference to `PQfinish'
> prmdir.o(.text+0x110): undefined reference to `PQexec'
> prmdir.o(.text+0x122): undefined reference to `p_rmdir'
> prmdir.o(.text+0x12e): undefined reference to `p_errno'
> prmdir.o(.text+0x16b): undefined reference to `PQexec'
> prmdir.o(.text+0x170): undefined reference to `PQfinish'
> *** Error code 1
> 
> Stop.
> ===> ppwd
> cc  -o ppwd ppwd.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/ppwd/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/ppwd/../../../libpq/obj/libpq.a
> ppwd.o: In function `main':
> ppwd.o(.text+0x11): undefined reference to `p_getwd'
> ppwd.o(.text+0x31): undefined reference to `p_errno'
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> ===> s2kutils
> ===> s2kdestroy
> ===> s2kinit
> ===> s2klist
> ===> monitor
> cc  -o monitor monitor.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/monitor/../../libpq/obj/libpq.a
> monitor.o: In function `main':
> monitor.o(.text+0x167): undefined reference to `fe_setauthsvc'
> monitor.o(.text+0x186): undefined reference to `PQhost'
> monitor.o(.text+0x196): undefined reference to `PQport'
> monitor.o(.text+0x1a6): undefined reference to `PQtty'
> monitor.o(.text+0x1e9): undefined reference to `debug_port'
> monitor.o(.text+0x212): undefined reference to `PQtracep'
> monitor.o(.text+0x351): undefined reference to `fe_getauthname'
> monitor.o(.text+0x39f): undefined reference to `PQhost'
> monitor.o(.text+0x3b1): undefined reference to `PQhost'
> monitor.o(.text+0x3be): undefined reference to `PQhost'
> monitor.o(.text+0x3c8): undefined reference to `PQhost'
> monitor.o(.text+0x3f2): undefined reference to `PQhost'
> monitor.o(.text+0x442): undefined reference to `PQsetdb'
> monitor.o: In function `do_input':
> monitor.o(.text+0x849): undefined reference to `PQexec'
> monitor.o: In function `print_tuples':
> monitor.o(.text+0x92e): undefined reference to `PQparray'
> monitor.o(.text+0x937): undefined reference to `PQngroups'
> monitor.o(.text+0x962): undefined reference to `PQntuplesGroup'
> monitor.o(.text+0x97b): undefined reference to `PQntuplesGroup'
> monitor.o(.text+0x988): undefined reference to `PQnfieldsGroup'
> monitor.o(.text+0xa1d): undefined reference to `PQfnameGroup'
> monitor.o(.text+0xa37): undefined reference to `PQfnameGroup'
> monitor.o(.text+0xac8): undefined reference to `PQgetvalue'
> monitor.o: In function `handle_execution':
> monitor.o(.text+0xdbe): undefined reference to `PQexec'
> monitor.o(.text+0xe74): undefined reference to `PQclear'
> monitor.o(.text+0xe7e): undefined reference to `PQexec'
> monitor.o(.text+0xedc): undefined reference to `PQexec'
> monitor.o(.text+0xef5): undefined reference to `PQFlushI'
> monitor.o(.text+0x10ba): undefined reference to `PQfinish'
> monitor.o: In function `handle_copy_out':
> monitor.o(.text+0x15ab): undefined reference to `PQgetline'
> monitor.o(.text+0x1600): undefined reference to `PQendcopy'
> monitor.o: In function `handle_copy_in':
> monitor.o(.text+0x174f): undefined reference to `PQputline'
> monitor.o(.text+0x176b): undefined reference to `PQputline'
> monitor.o(.text+0x17ae): undefined reference to `PQputline'
> monitor.o(.text+0x17c3): undefined reference to `PQendcopy'
> *** Error code 1
> 
> Stop.
> ===> pagedoc
> /usr/bin/install  -o bin -g bin -m 555  pagedoc /usr/local/postgres/bin/pagedoc
> /usr/bin/install: /usr/local/postgres/bin/pagedoc: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> pg_id
> /usr/bin/install  -o bin -g bin -m 555  pg_id /usr/local/postgres/bin/pg_id
> /usr/bin/install: /usr/local/postgres/bin/pg_id: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> pg_ufp
> cc -O2 -DPORTNAME_linux -DPOSTPORT='"4321"' -DDEADLOCK_TIMEOUT=60 -D__USE_BSD -D__USE_BSD_SIGNAL -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/port/linux  -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/obj  -I/usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend -DUFP  -c /usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/port/linux/dynloader.c
> /usr/local/postgres/postgres-v4r2/src/bin/pg_ufp/../../backend/port/linux/dynloader.c:10: dld.h: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> pg_version
> /usr/bin/install  -o bin -g bin -m 555  pg_version /usr/local/postgres/bin/pg_version
> /usr/bin/install: /usr/local/postgres/bin/pg_version: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> shmemdoc
> /usr/bin/install  -o bin -g bin -m 555  shmemdoc /usr/local/postgres/bin/shmemdoc
> /usr/bin/install: /usr/local/postgres/bin/shmemdoc: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> cleardbdir
> /usr/bin/install -o bin -g bin -m 555  cleardbdir /usr/local/postgres/bin/cleardbdir
> /usr/bin/install: /usr/local/postgres/bin/cleardbdir: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> createdb
> /usr/bin/install -o bin -g bin -m 555  createdb /usr/local/postgres/bin/createdb
> /usr/bin/install: /usr/local/postgres/bin/createdb: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> createuser
> /usr/bin/install -o bin -g bin -m 555  createuser /usr/local/postgres/bin/createuser
> /usr/bin/install: /usr/local/postgres/bin/createuser: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> destroydb
> /usr/bin/install -o bin -g bin -m 555  destroydb /usr/local/postgres/bin/destroydb
> /usr/bin/install: /usr/local/postgres/bin/destroydb: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> destroyuser
> /usr/bin/install -o bin -g bin -m 555  destroyuser /usr/local/postgres/bin/destroyuser
> /usr/bin/install: /usr/local/postgres/bin/destroyuser: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> initdb
> /usr/bin/install -o bin -g bin -m 555  initdb /usr/local/postgres/bin/initdb
> /usr/bin/install: /usr/local/postgres/bin/initdb: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> newbki
> /usr/bin/install -o bin -g bin -m 555  newbki /usr/local/postgres/bin/newbki
> /usr/bin/install: /usr/local/postgres/bin/newbki: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> vacuum
> /usr/bin/install -o bin -g bin -m 555  vacuum /usr/local/postgres/bin/vacuum
> /usr/bin/install: /usr/local/postgres/bin/vacuum: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> ipcclean
> make: don't know how to make ipcclean.sh. Stop
> ===> reindexdb
> /usr/bin/install -o bin -g bin -m 555  reindexdb /usr/local/postgres/bin/reindexdb
> /usr/bin/install: /usr/local/postgres/bin/reindexdb: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> fsutils
> ===> icopy
> cc -O2 -DPORTNAME_linux -DPOSTPORT='"4321"' -DDEADLOCK_TIMEOUT=60 -D__USE_BSD -D__USE_BSD_SIGNAL -I/usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/../../backend -I/usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/../../../backend  -c /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c: In function `build_inlist':
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c:498: structure has no member named `d_namlen'
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c: In function `docopy_in':
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c:626: warning: passing arg 1 of `perror' from incompatible pointer type
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c: In function `docopy_out':
> /usr/local/postgres/postgres-v4r2/src/bin/fsutils/icopy/icopy.c:722: warning: passing arg 1 of `perror' from incompatible pointer type
> *** Error code 1
> 
> Stop.
> ===> pcat
> cc  -o pcat pcat.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcat/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcat/../../../libpq/obj/libpq.a
> pcat.o: In function `main':
> pcat.o(.text+0x56): undefined reference to `PQhost'
> pcat.o(.text+0x66): undefined reference to `PQport'
> pcat.o(.text+0x77): undefined reference to `PQsetdb'
> pcat.o(.text+0xbe): undefined reference to `PQsetdb'
> pcat.o(.text+0xe6): undefined reference to `PQexec'
> pcat.o(.text+0x139): undefined reference to `p_open'
> pcat.o(.text+0x17b): undefined reference to `p_close'
> pcat.o(.text+0x19c): undefined reference to `PQexec'
> pcat.o(.text+0x1a1): undefined reference to `PQfinish'
> pcat.o: In function `pgcopy':
> pcat.o(.text+0x220): undefined reference to `p_read'
> *** Error code 1
> 
> Stop.
> ===> pcd
> cc  -o pcd pcd.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcd/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pcd/../../../libpq/obj/libpq.a
> pcd.o: In function `main':
> pcd.o(.text+0x116): undefined reference to `PQhost'
> pcd.o(.text+0x126): undefined reference to `PQport'
> pcd.o(.text+0x137): undefined reference to `PQsetdb'
> pcd.o(.text+0x1a2): undefined reference to `PQsetdb'
> pcd.o(.text+0x1ab): undefined reference to `p_attr_caching'
> pcd.o(.text+0x1e5): undefined reference to `p_chdir'
> pcd.o(.text+0x218): undefined reference to `p_getwd'
> pcd.o(.text+0x228): undefined reference to `PQfinish'
> *** Error code 1
> 
> Stop.
> ===> pls
> cc  -o pls ls.o fts.o cmp.o print.o util.o pwcache.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pls/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pls/../../../libpq/obj/libpq.a
> ls.o: In function `main':
> ls.o(.text+0x3e6): undefined reference to `PQhost'
> ls.o(.text+0x3f6): undefined reference to `PQport'
> ls.o(.text+0x407): undefined reference to `PQsetdb'
> ls.o(.text+0x45e): undefined reference to `PQsetdb'
> ls.o(.text+0x46b): undefined reference to `PQexec'
> ls.o(.text+0x471): undefined reference to `p_attr_caching'
> ls.o(.text+0x636): undefined reference to `PQexec'
> ls.o(.text+0x63b): undefined reference to `PQfinish'
> fts.o: In function `fts_children':
> fts.o(.text+0x796): undefined reference to `p_opendir'
> fts.o(.text+0x8b9): undefined reference to `p_readdir'
> fts.o(.text+0x937): undefined reference to `p_closedir'
> fts.o(.text+0xa95): undefined reference to `p_closedir'
> fts.o(.text+0xb95): undefined reference to `p_stat'
> fts.o(.text+0xbac): undefined reference to `p_stat'
> fts.o(.text+0xbe6): undefined reference to `p_stat'
> *** Error code 1
> 
> Stop.
> ===> pmkdir
> cc  -o pmkdir pmkdir.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmkdir/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmkdir/../../../libpq/obj/libpq.a
> pmkdir.o: In function `main':
> pmkdir.o(.text+0x116): undefined reference to `PQhost'
> pmkdir.o(.text+0x126): undefined reference to `PQport'
> pmkdir.o(.text+0x137): undefined reference to `PQsetdb'
> pmkdir.o(.text+0x1b2): undefined reference to `PQsetdb'
> pmkdir.o(.text+0x1bb): undefined reference to `p_attr_caching'
> pmkdir.o(.text+0x1e2): undefined reference to `PQexec'
> pmkdir.o(.text+0x219): undefined reference to `p_mkdir'
> pmkdir.o(.text+0x225): undefined reference to `p_errno'
> pmkdir.o(.text+0x258): undefined reference to `PQexec'
> pmkdir.o(.text+0x25d): undefined reference to `PQfinish'
> pmkdir.o: In function `build':
> pmkdir.o(.text+0x299): undefined reference to `p_stat'
> pmkdir.o(.text+0x2a6): undefined reference to `p_errno'
> pmkdir.o(.text+0x2b7): undefined reference to `p_mkdir'
> pmkdir.o(.text+0x2c3): undefined reference to `p_errno'
> *** Error code 1
> 
> Stop.
> ===> pmv
> cc  -o pmv pmv.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmv/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/pmv/../../../libpq/obj/libpq.a
> pmv.o: In function `main':
> pmv.o(.text+0x156): undefined reference to `PQhost'
> pmv.o(.text+0x166): undefined reference to `PQport'
> pmv.o(.text+0x177): undefined reference to `PQsetdb'
> pmv.o(.text+0x212): undefined reference to `PQsetdb'
> pmv.o(.text+0x21f): undefined reference to `PQexec'
> pmv.o(.text+0x230): undefined reference to `p_stat'
> pmv.o(.text+0x358): undefined reference to `PQexec'
> pmv.o(.text+0x360): undefined reference to `PQfinish'
> pmv.o: In function `do_move':
> pmv.o(.text+0x391): undefined reference to `p_stat'
> pmv.o(.text+0x439): undefined reference to `p_rename'
> pmv.o(.text+0x45a): undefined reference to `p_errno'
> *** Error code 1
> 
> Stop.
> ===> prm
> cc  -o prm prm.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prm/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prm/../../../libpq/obj/libpq.a
> prm.o: In function `main':
> prm.o(.text+0x146): undefined reference to `PQhost'
> prm.o(.text+0x156): undefined reference to `PQport'
> prm.o(.text+0x167): undefined reference to `PQsetdb'
> prm.o(.text+0x202): undefined reference to `PQsetdb'
> prm.o(.text+0x20b): undefined reference to `p_attr_caching'
> prm.o(.text+0x246): undefined reference to `PQfinish'
> prm.o(.text+0x255): undefined reference to `PQexec'
> prm.o(.text+0x28c): undefined reference to `PQexec'
> prm.o(.text+0x294): undefined reference to `PQfinish'
> prm.o: In function `rm':
> prm.o(.text+0x2f9): undefined reference to `p_stat'
> prm.o(.text+0x3b2): undefined reference to `p_opendir'
> prm.o(.text+0x430): undefined reference to `p_readdir'
> prm.o(.text+0x47e): undefined reference to `p_closedir'
> prm.o(.text+0x4c1): undefined reference to `p_opendir'
> prm.o(.text+0x534): undefined reference to `p_readdir'
> prm.o(.text+0x564): undefined reference to `p_readdir'
> prm.o(.text+0x5e8): undefined reference to `p_closedir'
> prm.o(.text+0x62e): undefined reference to `p_rmdir'
> prm.o(.text+0x6ac): undefined reference to `p_unlink'
> *** Error code 1
> 
> Stop.
> ===> prmdir
> cc  -o prmdir prmdir.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prmdir/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/prmdir/../../../libpq/obj/libpq.a
> prmdir.o: In function `main':
> prmdir.o(.text+0x56): undefined reference to `PQhost'
> prmdir.o(.text+0x66): undefined reference to `PQport'
> prmdir.o(.text+0x77): undefined reference to `PQsetdb'
> prmdir.o(.text+0xe2): undefined reference to `PQsetdb'
> prmdir.o(.text+0xeb): undefined reference to `p_attr_caching'
> prmdir.o(.text+0x101): undefined reference to `PQfinish'
> prmdir.o(.text+0x110): undefined reference to `PQexec'
> prmdir.o(.text+0x122): undefined reference to `p_rmdir'
> prmdir.o(.text+0x12e): undefined reference to `p_errno'
> prmdir.o(.text+0x16b): undefined reference to `PQexec'
> prmdir.o(.text+0x170): undefined reference to `PQfinish'
> *** Error code 1
> 
> Stop.
> ===> ppwd
> cc  -o ppwd ppwd.o -lbsd /usr/local/postgres/postgres-v4r2/src/bin/fsutils/ppwd/../../../libpq/obj/libpq.a /usr/local/postgres/postgres-v4r2/src/bin/fsutils/ppwd/../../../libpq/obj/libpq.a
> ppwd.o: In function `main':
> ppwd.o(.text+0x11): undefined reference to `p_getwd'
> ppwd.o(.text+0x31): undefined reference to `p_errno'
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> ===> s2kutils
> ===> s2kdestroy
> ===> s2kinit
> ===> s2klist
> ===> s2kdestroy
> /usr/bin/install -o bin -g bin -m 555  s2kdestroy /usr/local/postgres/bin/s2kdestroy
> /usr/bin/install: /usr/local/postgres/bin/s2kdestroy: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> s2kinit
> /usr/bin/install -o bin -g bin -m 555  s2kinit /usr/local/postgres/bin/s2kinit
> /usr/bin/install: /usr/local/postgres/bin/s2kinit: No such file or directory
> *** Error code 1
> 
> Stop.
> ===> s2klist
> /usr/bin/install -o bin -g bin -m 555  s2klist /usr/local/postgres/bin/s2klist
> /usr/bin/install: /usr/local/postgres/bin/s2klist: No such file or directory
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> ===> regress
> [root@madonna src]# 
> 
> ==============================================================================
>    To add/remove yourself to/from the POSTGRES mailing list: send mail with 
>    the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
>    If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
>    a human will deal with it.  DO NOT post to the "postgres" mailing list.
> ==============================================================================
>               URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
> 

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: mskc@io.com, gknauth@BBN.COM
  Subject: Re: building POSTGRES v4r2 under Linux 1.2.13
  In-Reply-To: <Pine.BSI.3.91.960529211908.29312A-100000@pentagon.io.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox