Re: compile failure - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: compile failure
Date
Msg-id 200307201742.h6KHgET02455@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers
If you add:
#include <netinet/tcp.h>

to miscinit.c, does it compile with recode?

Should I remove RECODE support?

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

Greg Stark wrote:
> 
> Is recode a feature that's normally enabled?
> 
> ./configure '--enable-recode' '--enable-integer-datetimes' '--enable-debug' '--with-perl' '--with-pam'
'--with-openssl''--with-gnu-ld' '--with-maxbackends=64' '--with-pgport=5432' 'CFLAGS=-O0 -g -pg -DLINUX_PROFILE'
 
> ...
> gcc -O0 -g -pg -DLINUX_PROFILE -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include   -c -o
miscinit.omiscinit.c
 
> miscinit.c: In function `SetCharSet':
> miscinit.c:205: structure has no member named `in'
> make[4]: *** [miscinit.o] Error 1
> make[4]: Leaving directory `/u6/src/postgres/cvs/pgsql/src/backend/utils/init'
> 
> 
> -- 
> greg
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Kenji Sugita
Date:
Subject: Re: Index counters of statistics collector does not work
Next
From: Bruce Momjian
Date:
Subject: Re: PostgreSQL 7.4devel - LOG: PGSTAT: socket() failed: