Re: compile failure

Started by Bruce Momjianalmost 23 years ago1 messageshackers
Jump to latest
#1Bruce Momjian
bruce@momjian.us

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.o miscinit.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, Pennsylvania 19073