Re: PostgreSQL v7.1.3 fails to build on Irix 6.5.13m
От | Tom Lane |
---|---|
Тема | Re: PostgreSQL v7.1.3 fails to build on Irix 6.5.13m |
Дата | |
Msg-id | 23087.1004983545@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | PostgreSQL v7.1.3 fails to build on Irix 6.5.13m (jeremy@wundt.psychiatry.uiowa.edu (H Jeremy Bockholt)) |
Список | pgsql-ports |
jeremy@wundt.psychiatry.uiowa.edu (H Jeremy Bockholt) writes: > I'm using gmake 3.79.1 and gcc version 2.95.2 > on a MIPS R10000 CPU > everything looks good until: > 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 Hm. Looks like you are not using the same assembler that the other people who have built on MIPS machines use. Try looking at the output of "gcc -S" on some program to see what syntax it's emitting. If you're lucky it'll just be some trivial difference like ".global" vs ".globl". If the differences are too extensive to figure out, you'll probably need to reconfigure your gcc setup: either start using gas (GNU as) for the assembly step, or stop using it and use the vendor's as, whichever you're not doing now. What is the OS platform involved here, anyway? regards, tom lane
В списке pgsql-ports по дате отправления: