Re: postgresql-8.0.0 beta5 & postgresql-7.4.6 can't compile successfully

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: postgresql-8.0.0 beta5 & postgresql-7.4.6 can't compile successfully
Дата
Msg-id 200412131907.iBDJ7lp06034@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: postgresql-8.0.0 beta5 & postgresql-7.4.6 can't compile  (Luojia Chen <Luojia.Chen@Sun.COM>)
Список pgsql-bugs
Luojia Chen wrote:
> Hi,
>
> Please see my inline reply.
>
> Bruce Momjian wrote:
> > Would you tell use what is on this line?
> >
> >     /usr/include/sys/siginfo.h:259:
>
> ctid_t  __ctid;         /* contract ID          */

OK, do a 'grep' and find out what /usr/include/* file contains the
definiation of ctid_t.

> > Seems you need an extra #include for that platform.  Try adding
> > "#include <sys/types.h>" before the signal.h include and see if that
> > helps.
>
> Adding the "#include <sys/types.h>" in the "/usr/include/sys/signal.h"
> and "/usr/include/signal.h" doesn't help.

OK.

> > If your signal.h can't be used without a previous include being present
> > it sounds like a bug in the operating system.
> >
> > My BSD system has for the signal manual page:
> >
> >      #include <signal.h>
> >
> >      void
> >      *signal(sig, func());
> >
> > Does your signal manual page have another #include at the top?
>
> No, I didn't see any other #include at the top for the manual page
> It shows as:
> -----------
>    #include <signal.h>
>
>      void (*signal (int sig, void (*disp)(int)))(int);

OK, try a simple test.  Create a small C file that just includes
signal.h and see if it compiles.  If it doesn't, that manual page is
wrong, at the least.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Win 32 'could not attach to proper memory at fixed address'
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: BUG #1347: Bulk Import stopps after a while ( 8.0.0.