Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBRC5-0000yg-Bg for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Aug 2013 15:16:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VBRC4-0008Tb-Nx for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Aug 2013 15:16:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBRC3-0008Si-O8 for pgsql-bugs@postgresql.org; Mon, 19 Aug 2013 15:16:31 +0000 Received: from cpanelsmarthost3.zen.co.uk ([82.71.204.227]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VBRBw-00081U-OY for pgsql-bugs@postgresql.org; Mon, 19 Aug 2013 15:16:31 +0000 Received: from [88.98.24.71] (helo=shcp03.hosting.zen.net.uk) by cpanelsmarthost3.zen.co.uk with esmtp (Exim 4.72) (envelope-from ) id 1VBRBv-0005lq-Si for pgsql-bugs@postgresql.org; Mon, 19 Aug 2013 15:16:23 +0000 Received: from [212.135.39.5] (port=47731 helo=[62.185.32.71]) by shcp03.hosting.zen.net.uk with esmtpa (Exim 4.80) (envelope-from ) id 1VBRBs-0005sM-Pl for pgsql-bugs@postgresql.org; Mon, 19 Aug 2013 16:16:20 +0100 Message-ID: <521236DA.5040607@ahastie.net> Date: Mon, 19 Aug 2013 16:16:42 +0100 From: Andrew Hastie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #8387: Error while make of the source code References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - shcp03.hosting.zen.net.uk X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ahastie.net X-Get-Message-Sender-Via: shcp03.hosting.zen.net.uk: authenticated_id: andrew+ahastie.net/only user confirmed/virtual account not confirmed X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org What compiler are you using? If it helps, some time ago I built PG v9.2.2 using the IBM xlc compiler at version 12 successfully. From my notes I used the following compiler configuration:- ./configure CC=xlc LIBS="-lssl -lcrypto -lz -lreadline -lcurses -lld -lmass -lm" CFLAGS="-qlanglvl=extc89" --with-template=aix --prefix=/home/ahastie/pgbuild --with-includes=/opt/freeware/include:/home/ahastie/gnu/zlib-1.2.7:/home/ahastie/gnu/readline-6.2 --with-libraries=/opt/freeware/lib (Note: For various reasons I used my own downloads of zlib and readline for the build.) Hope the above helps. On 19/08/13 11:33, NITISHSAURABH@GMAIL.COM wrote: > The following bug has been logged on the website: > > Bug reference: 8387 > Logged by: Nitish > Email address: NITISHSAURABH@GMAIL.COM > PostgreSQL version: 9.2.4 > Operating system: AIX7.1 > Description: > > Gives Error while compiling (configure goes well but while running make it > gives error) the source code as shown below. Is there any compatibility > issue between PostgreSQl 9.2.4 and AIX7.1 ? > > > /tmp//ccIZry3K.s: line 23872: 1252-142 Syntax error. > /tmp//ccIZry3K.s: line 23873: 1252-142 Syntax error. > /tmp//ccIZry3K.s: line 23876: 1252-142 Syntax error. > gmake[4]: *** [xlog.o] Error 1 > gmake[4]: Leaving directory > `/usr/src/postgresql-9.2.4/src/backend/access/transam' > gmake[3]: *** [transam-recursive] Error 2 > gmake[3]: Leaving directory `/usr/src/postgresql-9.2.4/src/backend/access' > gmake[2]: *** [access-recursive] Error 2 > gmake[2]: Leaving directory `/usr/src/postgresql-9.2.4/src/backend' > gmake[1]: *** [all-backend-recurse] Error 2 > gmake[1]: Leaving directory `/usr/src/postgresql-9.2.4/src' > gmake: *** [all-src-recurse] Error 2 > make: 1254-004 The error code from the last command is 2. > > > > > Stop. > > > -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs