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

Поиск
Список
Период
Сортировка
От jeremy@wundt.psychiatry.uiowa.edu (H Jeremy Bockholt)
Тема Re: PostgreSQL v7.1.3 fails to build on Irix 6.5.13m
Дата
Msg-id b773797b.0111051602.7c458591@posting.google.com
обсуждение исходный текст
Ответ на PostgreSQL v7.1.3 fails to build on Irix 6.5.13m  (jeremy@wundt.psychiatry.uiowa.edu (H Jeremy Bockholt))
Список 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@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

В списке pgsql-ports по дате отправления:

Предыдущее
От: "Tegge, Bernd"
Дата:
Сообщение: QNX4-Patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: QNX4-Patch