CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
От:
"g.p.ciceri" <zanzi@agnese.tialabs.com>
Дата:
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
Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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 --------------------------------------------------------------------------- > 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
Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
От:
Pete Forman <gsez020@kryten.bedford.waii.com>
Дата:
g.p.ciceri writes: > I'm using a Linux RedHat 6.1 box. > Has anyone already find this problem ??? > Where can I declare TCP_NODELAY (and how) ??? The correct place to find TCP_NODELAY according to UNIX standards is . That is missing on Linux, so try . -- Pete Forman -./\.- Disclaimer: This post is originated Western Geophysical -./\.- by myself and does not represent pete.forman@westgeo.com -./\.- the opinion of Baker Hughes or http://www.crosswinds.net/~petef -./\.- its divisions.
Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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@gmx.net http://yi.org/peter-e/
Re: CVS snap. compile halts giving `TCP_NODELAY' undeclared (Linux i386 RH6.1)
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
g.p.ciceri writes: > 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.) Can I see your config.log file? -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/