Re: PostgreSQL v7.1.3 fails to build on Irix 6.5.13m

From: jeremy(at)wundt(dot)psychiatry(dot)uiowa(dot)edu (H Jeremy Bockholt)
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: PostgreSQL v7.1.3 fails to build on Irix 6.5.13m
Date: 2001-11-06 00:02:13
Message-ID: b773797b.0111051602.7c458591@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Several folks suggested to me to try the following:

env CC=/bin/cc CFLAGS='-n32' ./configure

when building postgresql on IRIX.

I was able to avoid the below error that I reported earlier when
I used the cc compiler in -n32 mode.

later,
jeremy

jeremy(at)wundt(dot)psychiatry(dot)uiowa(dot)edu (H Jeremy Bockholt) wrote in message news:<b773797b(dot)0111021455(dot)1ab10407(at)posting(dot)google(dot)com>...
> Hi,
>
> I'm using gmake 3.79.1 and gcc version 2.95.2
> on a MIPS R10000 CPU
>
> I run the following:
> ./configure --with-tcl --with-tclconfig=/usr/freeware/lib
>
>
> everything looks good until:
>
> .
> .
> .
> gmake[4]: Entering directory
> `/usr/people/jeremy/postgresql-7.1.3/src/backend/storage/buffer'
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../../src/include -U_NO_XOPEN4 -c -o buf_table.o buf_table.c
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../../src/include -U_NO_XOPEN4 -c -o buf_init.o buf_init.c
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../../src/include -U_NO_XOPEN4 -c -o bufmgr.o bufmgr.c
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../../src/include -U_NO_XOPEN4 -c -o freelist.o freelist.c
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../../src/include -U_NO_XOPEN4 -c -o localbuf.o localbuf.c
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../../src/include -U_NO_XOPEN4 -c -o s_lock.o s_lock.c
> s_lock.c: In function `s_lock':
> s_lock.c:134: warning: passing arg 1 of pointer to function discards
> qualifiers from pointer target type
> s_lock.c: At top level:
> s_lock.c:234: warning: `tas_dummy' defined but not used
> as: Error: /var/tmp/ccZzS08c.s, line 421: undefined assembler
> operation: .global
> .global tas
> gmake[4]: *** [s_lock.o] Error 1
> gmake[4]: Leaving directory
> `/usr/people/jeremy/postgresql-7.1.3/src/backend/storage/buffer'
>
>
> Any ideas or patches to the s_lock file that I should try?
>
> thanks,
> jeremy

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Tegge, Bernd 2001-11-06 11:21:46 QNX4-Patch
Previous Message Tom Lane 2001-11-05 18:05:45 Re: PostgreSQL v7.1.3 fails to build on Irix 6.5.13m