few weeks ago I compiled PostgreSQL 8.3.1 on Solaris SPARC 9 without errors or problems. Today I would like to compile it on my old Sparis SPARC 2.6 box, so I've download new gnu software.
make hangs with this message:
gmake[3]: Leaving directory `/mnt/station-3/postgresql-8.3.1/src/timezone'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -L../../src/port -Wl,-R'/usr/local/pgsql/lib' access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o tsearch/SUBSYS.o utils/SUBSYS.o ../../src/timezone/SUBSYS.o ../../src/port/libpgport_srv.a -lposix4 -lsocket -ldl -lm -o postgres
Undefined first referenced
symbol in file
gethostbyname ../../src/port/libpgport_srv.a(getaddrinfo_srv.o) (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
h_errno ../../src/port/libpgport_srv.a(getaddrinfo_srv.o) (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
inet_ntoa ../../src/port/libpgport_srv.a(getaddrinfo_srv.o) (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to postgres
collect2: ld returned 1 exit status
gmake[2]: *** [postgres] Error 1
gmake[2]: Leaving directory `/mnt/station-3/postgresql-8.3.1/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/mnt/station-3/postgresql-8.3.1/src'
gmake: *** [all] Error 2
[station-1] /mnt/station-3/postgresql-8.3.1 |
I downloaded from http://www.sunfreeware.com
make-3.81-sol26-sparc-local.gz
gcc-3.4.6-sol26-sparc-local.gz
zip-2.32-sol26-sparc-local.gz
readline-5.2-sol26-sparc-local.gz
gzip-1.3.12-sol26-sparc-local
Have you got any idea ?
Regards.
Ganimede Dignan.
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
No comments:
Post a Comment