Error compiling 7.1 on Caldera OpenLinux

From: Bruce MacKay <bmackay(at)calderasystems(dot)com>
To: jerry(at)calderasystems(dot)com, pgsql-ports(at)postgresql(dot)org
Subject: Error compiling 7.1 on Caldera OpenLinux
Date: 2001-04-19 17:47:18
Message-ID: 3ADF24A6.11A5B4FF@calderasystems.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hi folks:

I'm a trainer at Caldera and wanted to use pgsql for a project I've been

assigned to.

However I'm having compile problems with 7.1, getting the following
errors. I tried three different sets of sources, one labeled as 7.1,
another as 7.1-base, and yet another as 7.1rc4.
All three have the same problem. I could understand if it couldn't find

a lib, or complained about a data type, but this seems to be more of a
syntax problem.

I don't have time to try to debug pgsql sources. I'm hoping you might
point out something obvious which I'm missing.

For reference, here's the info on the kernel and from gcc and make on my

system.

Linux version 2.2.14 (root(at)sb(dot)calderalabs(dot)com) (gcc version egcs-2.91.66

19990314 (egcs-1.1.2 release)) #1 SMP Mon Dec 18 14:56:14 MST 2000

[root(at)bait postgresql-7.1rc4]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
[root(at)bait postgresql-7.1rc4]# make --version
make: getcwd: : No such file or directory
GNU Make version 3.77, by Richard Stallman and Roland McGrath.

Here's the tail end of the output from make:

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../src/interfaces/libpq -I../../../src/include -c
pg_backup_custom.c -o pg_backup_custom.o
pg_backup_custom.c:80: parse error before `z_streamp'
pg_backup_custom.c:80: warning: no semicolon at end of struct or union
pg_backup_custom.c:87: parse error before `}'
pg_backup_custom.c:87: warning: type defaults to `int' in declaration of

`lclContext'
pg_backup_custom.c:87: warning: data definition has no type or storage
class
pg_backup_custom.c:103: parse error before `lclContext'
pg_backup_custom.c:104: parse error before `lclContext'
pg_backup_custom.c: In function `InitArchiveFmt_Custom':
pg_backup_custom.c:123: `ctx' undeclared (first use in this function)
pg_backup_custom.c:123: (Each undeclared identifier is reported only
once
pg_backup_custom.c:123: for each function it appears in.)
pg_backup_custom.c:123: warning: statement with no effect
pg_backup_custom.c:148: parse error before `)'
pg_backup_custom.c:153: `z_streamp' undeclared (first use in this
function)
pg_backup_custom.c:153: parse error before `malloc'
pg_backup_custom.c: In function `_StartData':
pg_backup_custom.c:299: `ctx' undeclared (first use in this function)
pg_backup_custom.c:299: parse error before `)'
pg_backup_custom.c: In function `_WriteData':
pg_backup_custom.c:324: `ctx' undeclared (first use in this function)
pg_backup_custom.c:324: parse error before `)'
pg_backup_custom.c:325: `z_streamp' undeclared (first use in this
function)
pg_backup_custom.c:327: `zp' undeclared (first use in this function)
pg_backup_custom.c: In function `_EndData':
pg_backup_custom.c:348: `ctx' undeclared (first use in this function)
pg_backup_custom.c:348: parse error before `)'
pg_backup_custom.c: In function `_StartBlobs':
pg_backup_custom.c:369: `ctx' undeclared (first use in this function)
pg_backup_custom.c:369: parse error before `)'
pg_backup_custom.c: In function `_PrintTocData':
pg_backup_custom.c:427: `ctx' undeclared (first use in this function)
pg_backup_custom.c:427: parse error before `)'
pg_backup_custom.c: In function `_PrintData':
pg_backup_custom.c:526: `ctx' undeclared (first use in this function)
pg_backup_custom.c:526: parse error before `)'
pg_backup_custom.c:527: `z_streamp' undeclared (first use in this
function)
pg_backup_custom.c:544: `zp' undeclared (first use in this function)
pg_backup_custom.c: In function `_skipData':
pg_backup_custom.c:678: `ctx' undeclared (first use in this function)
pg_backup_custom.c:678: parse error before `)'
pg_backup_custom.c: In function `_WriteByte':
pg_backup_custom.c:716: `ctx' undeclared (first use in this function)
pg_backup_custom.c:716: parse error before `)'
pg_backup_custom.c: In function `_ReadByte':
pg_backup_custom.c:739: `ctx' undeclared (first use in this function)
pg_backup_custom.c:739: parse error before `)'
pg_backup_custom.c: In function `_WriteBuf':
pg_backup_custom.c:760: `ctx' undeclared (first use in this function)
pg_backup_custom.c:760: parse error before `)'
pg_backup_custom.c: In function `_ReadBuf':
pg_backup_custom.c:784: `ctx' undeclared (first use in this function)
pg_backup_custom.c:784: parse error before `)'
pg_backup_custom.c: In function `_CloseArchive':
pg_backup_custom.c:810: `ctx' undeclared (first use in this function)
pg_backup_custom.c:810: parse error before `)'
pg_backup_custom.c: At top level:
pg_backup_custom.c:849: parse error before `lclContext'
pg_backup_custom.c:850: warning: `_getFilePos' was used with no
prototype before its definition
pg_backup_custom.c: In function `_getFilePos':
pg_backup_custom.c:853: `ctx' undeclared (first use in this function)
pg_backup_custom.c:855: `AH' undeclared (first use in this function)
pg_backup_custom.c: In function `_StartDataCompressor':
pg_backup_custom.c:887: `ctx' undeclared (first use in this function)
pg_backup_custom.c:887: parse error before `)'
pg_backup_custom.c:888: `z_streamp' undeclared (first use in this
function)
pg_backup_custom.c:897: `zp' undeclared (first use in this
function)pg_backup_custom.c: At top level:
pg_backup_custom.c:923: parse error before `lclContext'
pg_backup_custom.c:924: warning: `_DoDeflate' was used with no prototype

before its definition
pg_backup_custom.c: In function `_DoDeflate':
pg_backup_custom.c:925: `z_streamp' undeclared (first use in this
function)
pg_backup_custom.c:925: parse error before `zp'
pg_backup_custom.c:928: `ctx' undeclared (first use in this function)
pg_backup_custom.c:931: `AH' undeclared (first use in this function)
pg_backup_custom.c:933: `zp' undeclared (first use in this function)
pg_backup_custom.c:933: `flush' undeclared (first use in this function)
pg_backup_custom.c: In function `_EndDataCompressor':
pg_backup_custom.c:1004: `ctx' undeclared (first use in this function)
pg_backup_custom.c:1004: parse error before `)'
pg_backup_custom.c:1005: `z_streamp' undeclared (first use in this
function)
pg_backup_custom.c:1010: `zp' undeclared (first use in this function)
make[3]: *** [pg_backup_custom.o] Error 1
make[3]: Leaving directory `/home/ed/postgresql-7.1rc4/src/bin/pg_dump'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ed/postgresql-7.1rc4/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ed/postgresql-7.1rc4/src'
make: *** [all] Error 2

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Rob Yampolsky 2001-04-19 17:50:56 How to configure iodbc access to local postgres db?
Previous Message Lamar Owen 2001-04-19 17:12:16 Re: Postgres 7.1 RPM