pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
make hangs on Solaris 2.6
2+ messages / 2 participants
[nested] [flat]

* make hangs on Solaris 2.6
@ 2008-05-25 20:38 Ganimede <newtoolbox@yahoo.com>
  2008-05-25 21:30 ` Re: make hangs on Solaris 2.6 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Ganimede @ 2008-05-25 20:38 UTC (permalink / raw)
  To: pgsql-admin

Hi list,

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.



      



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: make hangs on Solaris 2.6
  2008-05-25 20:38 make hangs on Solaris 2.6 Ganimede <newtoolbox@yahoo.com>
@ 2008-05-25 21:30 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2008-05-25 21:30 UTC (permalink / raw)
  To: newtoolbox@yahoo.com; +Cc: pgsql-admin

Ganimede <newtoolbox@yahoo.com> writes:
> 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.

2.6?  How old is that?

> 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

Just guessing, but maybe it will help to add -lnsl to LIBS (in
src/Makefile.global) after running configure.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-05-25 21:30 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-05-25 20:38 make hangs on Solaris 2.6 Ganimede <newtoolbox@yahoo.com>
2008-05-25 21:30 ` Tom Lane <tgl@sss.pgh.pa.us>

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