Skip site navigation (1) Skip section navigation (2)

Postgresql 7.4 fails to compile on Redhat Fedora Core 1 Linux

From: "Marcel Gsteiger" <Marcel(dot)Gsteiger(at)milprog(dot)ch>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: Postgresql 7.4 fails to compile on Redhat Fedora Core 1 Linux
Date: 2003-12-09 09:28:30
Message-ID: sfd5a3d1.054@milprog1.milprog.ch (view raw or flat)
Thread:
Lists: pgsql-ports
Hi all,

I just tried to compile Postgresql 7.4 on RHFC1 linux without success. I used
./configure --with-python --with-perl , then make.

I get an error while bootstrap.c is being compiled (see messages below).

gcc --version reports itself as
gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)

Maybe this is a gcc error? Any help would much be appreciated.

Regards
Marcel Gsteiger
Milprog AG
Switzerland

btw: There is an error on the 'subscribe to the list' link on http://archives.postgresql.org/pgsql-ports/ . One gets the error

Majordomo Error

The domain "postgresql.o" is not supported!

..obviously the domain name should be postgresql.org instead.


error during compile:

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../../src/include -D_GNU_SOURCE   -c -o bootstrap.o bootstrap.c
bootstrap.c:118: error: `F_REGCLASSIN' undeclared here (not in a function)
bootstrap.c:118: error: initializer element is not constant
bootstrap.c:118: error: (near initialization for `Procid[8].inproc')
bootstrap.c:118: error: `F_REGCLASSOUT' undeclared here (not in a function)
bootstrap.c:118: error: initializer element is not constant
bootstrap.c:118: error: (near initialization for `Procid[8].outproc')
bootstrap.c:118: error: initializer element is not constant
bootstrap.c:118: error: (near initialization for `Procid[8]')
bootstrap.c:119: error: `F_REGTYPEIN' undeclared here (not in a function)
bootstrap.c:119: error: initializer element is not constant
bootstrap.c:119: error: (near initialization for `Procid[9].inproc')
bootstrap.c:119: error: `F_REGTYPEOUT' undeclared here (not in a function)
bootstrap.c:119: error: initializer element is not constant
bootstrap.c:119: error: (near initialization for `Procid[9].outproc')
bootstrap.c:119: error: initializer element is not constant
bootstrap.c:119: error: (near initialization for `Procid[9]')
bootstrap.c:120: error: initializer element is not constant
bootstrap.c:120: error: (near initialization for `Procid[10]')
bootstrap.c:121: error: initializer element is not constant
bootstrap.c:121: error: (near initialization for `Procid[11]')
bootstrap.c:122: error: initializer element is not constant
bootstrap.c:122: error: (near initialization for `Procid[12]')
bootstrap.c:123: error: initializer element is not constant
bootstrap.c:123: error: (near initialization for `Procid[13]')
bootstrap.c:124: error: initializer element is not constant
bootstrap.c:124: error: (near initialization for `Procid[14]')
bootstrap.c:125: error: initializer element is not constant
bootstrap.c:125: error: (near initialization for `Procid[15]')
bootstrap.c:126: error: initializer element is not constant
bootstrap.c:126: error: (near initialization for `Procid[16]')
bootstrap.c:127: error: initializer element is not constant
bootstrap.c:127: error: (near initialization for `Procid[17]')
bootstrap.c:128: error: initializer element is not constant
bootstrap.c:128: error: (near initialization for `Procid[18]')
make[3]: *** [bootstrap.o] Fehler 1
make[3]: Leaving directory `/usr/local/src/postgresql-7.4/src/backend/bootstrap'
make[2]: *** [bootstrap-recursive] Fehler 2
make[2]: Leaving directory `/usr/local/src/postgresql-7.4/src/backend'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/local/src/postgresql-7.4/src'
make: *** [all] Fehler 2



Responses

pgsql-ports by date

Next:From: Peter EisentrautDate: 2003-12-09 21:04:00
Subject: Re: Postgresql 7.4 fails to compile on Redhat Fedora Core 1 Linux
Previous:From: Peter EisentrautDate: 2003-12-08 22:22:42
Subject: Re: libedit on OS X?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group