[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-ports
Subject:    Re: [PORTS] PostgreSQL v7.1.3 fails to build on Irix 6.5.13m
From:       jeremy () wundt ! psychiatry ! uiowa ! edu (H Jeremy Bockholt)
Date:       2001-11-06 0:02:13
[Download RAW message or body]

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@wundt.psychiatry.uiowa.edu (H Jeremy Bockholt) wrote in message \
news:<b773797b.0111021455.1ab10407@posting.google.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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic