Re: GNUmakefile size 0

Поиск
Список
Период
Сортировка
От Laurens Wagemakers
Тема Re: GNUmakefile size 0
Дата
Msg-id DB1B4FC9815DD411A01D00B0D03D7907012F938F@nlnt16.truston.com
обсуждение исходный текст
Ответ на GNUmakefile size 0  (Laurens Wagemakers <l.wagemakers@truston.com>)
Список pgsql-admin
Hai Tom,

Your answer on my 7.0 version solved it I changed configure:

# Create compiler version string
if test x"$GCC" = x"yes" ; then
!  cc_string="GCC `${CC} --version`"
else
  cc_string=$CC
fi
cat >> confdefs.h <<EOF
#define PG_VERSION_STR "PostgreSQL $VERSION on $host, compiled by $ccstring"
EOF

Line 3 (actually line 1620) Changed to

! cc_string="GCC `${CC} --version|head -1`"

And I got I compiled.

Thx.

Laurens
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, May 13, 2004 5:19 PM
To: Laurens Wagemakers
Cc: 'pgsql-admin@postgresql.org'
Subject: Re: [ADMIN] GNUmakefile size 0


Laurens Wagemakers <l.wagemakers@truston.com> writes:
> extern int accept(int, struct sockaddr *, Psocklen_t);

Hmm.  The comments in configure have

# Solaris 7 and 8 have arg3 as 'void *' (disguised as 'Psocklen_t'
# which is *not* 'socklen_t *').  If we detect that, then we assume
# 'int' as the result, because that ought to work best.

So what is Psocklen_t now?

            regards, tom lane

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

Предыдущее
От: Paul Tuckfield
Дата:
Сообщение: Re: [PERFORM] Quad processor options - summary
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: [PERFORM] Quad processor options - summary