Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)

Поиск
Список
Период
Сортировка
От Pedro J. Lobo
Тема Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)
Дата
Msg-id Pine.OSF.4.05.9906181038090.29992-100000@haddock.euitt.upm.es
обсуждение исходный текст
Ответ на Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)  (Stephane Bortzmeyer <bortzmeyer@pasteur.fr>)
Ответы Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)  (Stephane Bortzmeyer <bortzmeyer@pasteur.fr>)
Список pgsql-ports
On Thu, 17 Jun 1999, Stephane Bortzmeyer wrote:

>On Thursday 17 June 1999, at 18 h 38, the keyboard of "Pedro J. Lobo"
><pjlobo@euitt.upm.es> wrote:
>
>> I have tested it with DEC C and works right out of the box. I have tried
>> gcc 2.7.2 in the past, and have never been able to build postgres with it.
>> gcc 2.8 doesn't work either, and now it seems that egcs behaves the same.
>
>Thanks, but after 'make distclean' and a new configure, it doesn't work better
>with Digital/Compaq's cc:
>
>make -C port all
>make[2]: Entering directory `/home/bortz/tmp/postgresql-6.5/src/backend/port'
>...
>cc -I../../include -I../../backend   -DNOFIXADE -I..   -c isinf.c -o isinf.o
>cc -I../../include -I../../backend   -DNOFIXADE -I..   -c snprintf.c -o
                                    ^^^^^^^^^^^^^

These flags correspond to the template 'alpha_gcc', not to 'alpha_cc',
which is the one that should be used with DEC C. The problem you are
seeing comes from a missing flag (-std). Make sure that you give the
option "--with-CC=cc' to configure, and if you don't see this line:

checking setting template to... alpha_cc

(that is, if it says 'alpha_gcc' instead) then re-run configure with the
option "--with-template=alpha_cc". I didn't have to specify that, but...
Also, it wouldn't hurt if you remove the whole source tree and extract it
again from the tarball, just in case. The 'make distclean' should have the
same effect, but it seems it didn't.

Cheers,

    Pedro.

--
-------------------------------------------------------------------
Pedro José Lobo Perea                   Tel:    +34 91 336 78 19
Centro de Cálculo                       Fax:    +34 91 331 92 29
E.U.I.T. Telecomunicación               e-mail: pjlobo@euitt.upm.es
Universidad Politécnica de Madrid
Ctra. de Valencia, Km. 7                E-28031 Madrid - España / Spain


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

Предыдущее
От: Ivor Durham
Дата:
Сообщение: 6.5beta to 6.5 update fails on Solaris 2.7
Следующее
От: Stephane Bortzmeyer
Дата:
Сообщение: Re: [PORTS] Port Bug Report: buf_init.c does not compile (spin lock problem?)