Thread: CVS: compilation failed
./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/
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
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/