Обсуждение: problem compiling pgsql 6.5.1 on SuSE 6.2

Поиск
Список
Период
Сортировка

problem compiling pgsql 6.5.1 on SuSE 6.2

От
pgomez@arrakis.es
Дата:
Hello!

I found this problem while compiling 6.5.1:

make[2]: Entering directory
`/usr/src/postgresql-6.5.1/src/backend/postmaster' gcc -I../../include
-I../../backend   -O2 -Wall -Wmissing-prototypes -I..   -c postmaster.c
-o postmaster.o postmaster.c: In function `ServerLoop':
postmaster.c:685: too few arguments to function `gettimeofday'
postmaster.c:724: too few arguments to function `gettimeofday'
postmaster.c:683: warning: unused variable `tz' postmaster.c: In
function `DoBackend': postmaster.c:1529: too few arguments to function
`gettimeofday' postmaster.c:1480: warning: unused variable `tz' make[2]:
*** [postmaster.o] Error 1 make[2]: Leaving directory
`/usr/src/postgresql-6.5.1/src/backend/postmaster' make[1]: ***
[postmaster.dir] Error 2 make[1]: Leaving directory
`/usr/src/postgresql-6.5.1/src/backend' make: *** [all] Error 2

Any idea?

Thank in advance!

Saludos
Pablo GOMEZ


Re: [GENERAL] problem compiling pgsql 6.5.1 on SuSE 6.2

От
"Doran L. Barton"
Дата:
Not long ago, pgomez@arrakis.es proclaimed...
> I found this problem while compiling 6.5.1:
>
> make[2]: Entering directory
> `/usr/src/postgresql-6.5.1/src/backend/postmaster' gcc -I../../include
> -I../../backend   -O2 -Wall -Wmissing-prototypes -I..   -c postmaster.c
> -o postmaster.o postmaster.c: In function `ServerLoop':
> postmaster.c:685: too few arguments to function `gettimeofday'
> postmaster.c:724: too few arguments to function `gettimeofday'
> postmaster.c:683: warning: unused variable `tz' postmaster.c: In
> function `DoBackend': postmaster.c:1529: too few arguments to function
> `gettimeofday' postmaster.c:1480: warning: unused variable `tz' make[2]:
> *** [postmaster.o] Error 1 make[2]: Leaving directory
> `/usr/src/postgresql-6.5.1/src/backend/postmaster' make[1]: ***
> [postmaster.dir] Error 2 make[1]: Leaving directory
> `/usr/src/postgresql-6.5.1/src/backend' make: *** [all] Error 2
>
> Any idea?

Nobody can help you unless you include information such as what hardware
platform you're running on, what operating system you're using, and
version numbers of the OS, compiler, compiler library (e.g. glibc) etc.

If you're using Linux, please indicate the distribution and version.

-=Fozz

--
Doran L. Barton <fozz@iodynamics.com>
Iodynamics LLC -- "Internetworking the masses"
<URL:http://www.iodynamics.com/>

Re: [GENERAL] problem compiling pgsql 6.5.1 on SuSE 6.2

От
"Doran L. Barton"
Дата:
Not long ago, pgomez@arrakis.es proclaimed...
> I found this problem while compiling 6.5.1:

Woops. A half second after I sent my previous reply, I noticed the
information I was looking for in the subject line. :-)
--
Doran L. Barton <fozz@iodynamics.com>
Iodynamics LLC -- "Internetworking the masses"
<URL:http://www.iodynamics.com/>