CVS: compilation failed

Started by Karel Zakover 22 years ago3 messages
#1Karel Zak
zakkr@zf.jcu.cz

./configure --prefix=/usr/lib/postgresql --enable-nls

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include -c -o miscinit.o miscinit.c -MMD
miscinit.c: In function `SetCharSet':
miscinit.c:205: error: structure has no member named `in'
make[3]: *** [miscinit.o] Error 1

It's problem with:

MyProcPort->raddr.in.sin_addr.s_addr
^^^^^^

Karel

--
Karel Zak <zakkr@zf.jcu.cz>
http://home.zf.jcu.cz/~zakkr/

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Karel Zak (#1)
Re: CVS: compilation failed

Karel Zak <zakkr@zf.jcu.cz> writes:

./configure --prefix=/usr/lib/postgresql --enable-nls

I think you must have done --enable-recode too.

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include -c -o miscinit.o miscinit.c -MMD
miscinit.c: In function `SetCharSet':
miscinit.c:205: error: structure has no member named `in'
make[3]: *** [miscinit.o] Error 1

The recode stuff is broken due to IPv6 changes. I'm inclined to rip it
out rather than try to upgrade it to handle IPv6 addresses; it seems to
me that that feature has been superseded by the client/server encoding
conversion features.

regards, tom lane

#3Karel Zak
zakkr@zf.jcu.cz
In reply to: Tom Lane (#2)
Re: CVS: compilation failed

On Tue, Jul 22, 2003 at 10:31:36AM -0400, Tom Lane wrote:

Karel Zak <zakkr@zf.jcu.cz> writes:

./configure --prefix=/usr/lib/postgresql --enable-nls

I think you must have done --enable-recode too.

Oops.. you're right :-)

Karel

--
Karel Zak <zakkr@zf.jcu.cz>
http://home.zf.jcu.cz/~zakkr/