Skip site navigation (1) Skip section navigation (2)

AIX vs. PostgreSQL

From: Greg Wooledge <ic5035%tss1crs(dot)amgreetings(dot)com(at)rose(dot)amgreetings(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: AIX vs. PostgreSQL
Date: 1999-03-24 15:30:30
Message-ID: (view raw or whole thread)
Lists: pgsql-ports
Version of Postgres: 6.4.2
Operating system: AIX
Hardware: PowerPC RS/6000

  With gcc, I had to add "-D_LONG_LONG" to COPT.  (I compiled using the
  aix_gcc template, which should probably be updated.)

  The native lex/yacc *both* complained of limits being exceeded.  This
  was fixed by using flex and bison.

  There were problems building the postgres.imp file -- the file was
  created, but a warning was emitted and the make stopped.  Since the
  file was created, subsequent runs would skip that step.  I suspect an
  incompatibility between the AIX script and gcc.

  There were many warnings about int8, int16, int32 redefinitions (see

  No problems.  Postmaster seems to run all right, and psql connects and
  creates/manipulates the test database as described in the INSTALL
  documentation.  createdb and destroydb both work.

Regression test:
  Could not run at all!

  bash-2.02$ make all runtest
  gcc -I../../include -I../../backend   -fsigned-chars  -Wall -Wmissing-prototypes -I../../interfaces/libpq -I../../include    -c regress.c -o regress.o
  In file included from ../../include/postgres.h:42,
                   from regress.c:9:
  ../../include/c.h:224: warning: redefinition of `int8'
   /usr/include/sys/inttypes.h:606: warning: `int8' previously declared here
   ../../include/c.h:225: warning: redefinition of `int16'
   /usr/include/sys/inttypes.h:607: warning: `int16' previously declared here
   ../../include/c.h:226: warning: redefinition of `int32'
   /usr/include/sys/inttypes.h:608: warning: `int32' previously declared here
   ../../backend/port/aix/ regress.o `pwd` > regress.exp
   Making share library from regress.o, regress.exp, and installed postgres.imp
   ld -H512 -bM:SRE -bI:/usr/local/pgsql/lib/postgres.imp -bE:regress.exp -o regress.o -lPW -lcrypt -lld -lnsl -ldl -lm -lcurses  
   ld: 0711-224 WARNING: Duplicate symbol: fmgr_pl_finfo
   ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
   ld: 0711-317 ERROR: Undefined symbol: _iob
   make: *** [] Error 8
   rm regress.exp regress.o

pgsql-ports by date

Next:From: Unprivileged userDate: 1999-03-24 17:06:39
Subject: Port Bug Report:
Previous:From: Unprivileged userDate: 1999-03-24 00:09:34
Subject: Port Bug Report: initdb error during install

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group