Sender: owner-postgres95@postgres.Berkeley.EDU
X-Return-Path: andrew_yu
Received: from aixpdslib.SEAS.UCLA.EDU (locn@aixpdslib.seas.ucla.edu [128.97.2.211]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id RAA14018 for <postgres95@postgres.berkeley.edu>; Tue, 14 Nov 1995 17:57:17 -0800
Received: by aixpdslib.SEAS.UCLA.EDU (AIX 3.2/UCB 5.64/4.03(1)[PDSLIB 1.00])
          id AA21433; Tue, 14 Nov 1995 17:57:14 -0800
From: locn@aixpdslib.SEAS.UCLA.EDU (Loc Luu Nguyen)
Message-Id: <9511150157.AA21433@aixpdslib.SEAS.UCLA.EDU>
Subject: Help porting postgres95-1.0 to AIX 4.1.2!
To: postgres95@postgres.Berkeley.EDU
Date: Tue, 14 Nov 1995 17:57:14 -0800 (PST)
X-Mailer: ELM [version 2.4 PL23alpha2]
Content-Type: text
Content-Length: 2785      
Resent-To: postgres95-redist
Resent-Date: Tue, 14 Nov 95 17:57:21 -0800
Resent-From: pglite
Resent-XMts: smtp


Your name		:Loc Luu Nguyen	
Your email address	:locn@aixpdslib.seas.ucla.edu


System Configuration
---------------------
  Architecture (example: DEC Alpha AXP)  	:RISC6000

  Operating System (example: OSF/1 3.2)  	:AIX 4.1.2

  Postgres95 version (example: Postgres95-1.0) :   Postgres95-1.0

  Compiler used (example:  gcc 2.6.3)		:IBM cc + GNU make


Please enter a FULL description of your problem:
------------------------------------------------
Error in compilation process, the logfile is included.
===> backend
touch -f obj/postgres.exp
cc  -g  -bE:obj/postgres.exp -o obj/postgres.noexp  ....
...obj/lselect.o obj/psort.o obj/tqual.o obj/fmgrtab.o -lm -lbsd -ll -lld -lm
ld: 0711-224 WARNING: Duplicate symbol: __once_yylex
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.  
ld: 0711-317 ERROR: Undefined symbol: .Int_yyparse
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmake[1]: *** [postgres.noexp] Error 8
===> libpq
Installing /usr/local/postgres95/include/include/postgres.h.
Installing /usr/local/postgres95/include/libpq/pqcomm.h.
Installing /usr/local/postgres95/include/libpq/libpq-fs.h.
Installing /usr/local/postgres95/include/lib/dllist.h.
Installing /usr/local/postgres95/include/utils/geo-decls.h.
/usr/ucb/install -c -m 444 libpq-fe.h /usr/local/postgres95/include/libpq-fe.h  
/usr/ucb/install -c -m 444 ../backend/obj/fmgr.h /usr/local/postgres95/include/$
===> bin
===> monitor
===> pg_id
===> pg_version
cc -g -o obj/pg_version obj/pg_version.o -L../../libpq/obj -L/usr/local/postgre$
ld: 0711-317 ERROR: Undefined symbol: .SetPgVersion 
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake[2]: *** [pg_version] Error 8
===> psql
===> cleardbdir
===> createdb
===> createuser
===> destroydb
===> destroyuser
===> initdb

Note:	in the Makefile of bin/pg_version it write:
SRCS=   pg_version.c #magic.c
	             ^^^^^^^^: I commented out magic.c since I did not 
see the file.  Am I missing the file magic.c or it is not suppose
to be there (magic.c is in backend/utils/init/magic.c)

Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible: 
----------------------------------------------------------------------
Run gmake on AIX 4.1.2




If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
I do not know :)) !!!


Thank you,


-- 

Loc Luu Nguyen
____________________________________________________________________________

AIX Public Domain Software Library
School of Engineering and Applied Science of UCLA
locn@aixpdslib.seas.ucla.edu				     nguyen@ucla.edu
Work: (310) 825-3556 	

===============================================================================
  To unsubscribe from the Postgres95 mailing list, send mail with the subject
  line "DEL" to "postgres95-request@postgres.Berkeley.EDU". 
============  URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres95/  ===========
