Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "g(dot)p(dot)ciceri" <zanzi(at)agnese(dot)tialabs(dot)com>, pgsql-ports(at)postgresql(dot)org
Subject: Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
Date: 2000-10-10 16:55:14
Message-ID: Pine.LNX.4.21.0010101854180.759-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Bruce Momjian writes:

> I am OK with the compile of the backend using current sources, but I do
> have an error compiling pg_dump. Of course, I compile with assert
> enabled. Not sure about a cause.
>
> gcc -I../../../src/include -I/usr/local/include/readline -I../../../src/interfaces/libpq -O2 -pipe -m486 -Wall -Wmissing-prototypes -Wmissing-declarations -o pg_dump pg_dump.o common.o pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o pg_backup_files.o pg_backup_null.o pg_backup_tar.o -L../../../src/interfaces/libpq -lpq -lz -lcompat -lln -lipc -ldl -lm -lutil -lreadline -ltermcap -lcurses -lz -g -Wall -O1 -Wmissing-prototypes -Wmissing-declarations
> ../../../src/interfaces/libpq/libpq.so: undefined reference to `FailedAssertion'
> ../../../src/interfaces/libpq/libpq.so: undefined reference to `assert_enabled'
> ../../../src/interfaces/libpq/libpq.so: undefined reference to `ExceptionalCondition'
> gmake[2]: *** [pg_dump] Error 1
> gmake[2]: Leaving directory `/var/local/src/pgsql/CURRENT/pgsql/src/bin/pg_dump'
> gmake[1]: *** [install] Error 2
> gmake[1]: Leaving directory `/var/local/src/pgsql/CURRENT/pgsql/src/bin'
> gmake: *** [install] Error 2

This is due to the -DFRONTEND missing, as discussed on -hackers.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2000-10-10 16:57:44 Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
Previous Message Pete Forman 2000-10-10 08:21:37 Re: ld.so error when inserting with a plpgsql trigger function