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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
Дата
Msg-id 200010100349.XAA04577@candle.pha.pa.us
обсуждение исходный текст
Ответ на CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)  ("g.p.ciceri" <zanzi@agnese.tialabs.com>)
Ответы Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-ports
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.opg_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

---------------------------------------------------------------------------


> Hi all,
> I'm trying to compile the CVS snapshot (to start playing
> with TOAST)
>
> I've just checked out the current release, but while
> I'm trying to compile, I take the following:
>
> make[3]: Entering directory `/home/zanzi/temp/pgsql/src/backend/libpq'
> gcc -c  -I../../../src/include  -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations be-fsstubs.c -o be-fsstubs.o
> gcc -c  -I../../../src/include  -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations pqcomm.c -o pqcomm.o
> pqcomm.c: In function `StreamConnection':
> pqcomm.c:346: `TCP_NODELAY' undeclared (first use in this function)
> pqcomm.c:346: (Each undeclared identifier is reported only once
> pqcomm.c:346: for each function it appears in.)
> make[3]: *** [pqcomm.o] Error 1
> make[3]: Leaving directory `/home/zanzi/temp/pgsql/src/backend/libpq'
> make[2]: *** [libpq-recursive] Error 2
> make[2]: Leaving directory `/home/zanzi/temp/pgsql/src/backend'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/zanzi/temp/pgsql/src'
> make: *** [all] Error 2
>
> I'm using a Linux RedHat 6.1 box.
> Has anyone already find this problem ???
> Where can I declare TCP_NODELAY (and how) ???
>
> Any help will be highly appreciated.
> Thanks.
> /gp
>
>
>
> --
> Discussion: How do you feel about Open Source firms making
> millions through public offerings?
>
> "I wish these companies were making the same millions without
> distributing any non-free, user-subjugating software." --
>                                              Richard Stallman
>
> "We're not here to let the monkey dances" --
>                                              g.p.
>
>   Gian Paolo Ciceri        Via B.Diotti 45 - 20153 Milano MI ITALY
>       CTO @ TiALabs        mobile :   ++39 347 4106213
>                            eMail  :   gp.ciceri@acm.org
>                            webSite:   http://www.tialabs.com
>


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: "g.p.ciceri"
Дата:
Сообщение: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
Следующее
От: Pete Forman
Дата:
Сообщение: Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)