Re: narwhal and PGDLLIMPORT - Mailing list pgsql-hackers
From | Marco Atzeri |
---|---|
Subject | Re: narwhal and PGDLLIMPORT |
Date | |
Msg-id | 5300F4CC.7000007@gmail.com Whole thread Raw |
In response to | Re: narwhal and PGDLLIMPORT (Andres Freund <andres@2ndquadrant.com>) |
Responses |
Re: narwhal and PGDLLIMPORT
|
List | pgsql-hackers |
On 16/02/2014 15:43, Andres Freund wrote: > Marco, Andrew: > > On 2014-02-15 22:11:37 +0100, Marco Atzeri wrote: >> ../../src/timezone/localtime.o ../../src/timezone/strftime.o >> ../../src/timezone/pgtz.o ../../src/port/libpgport_srv.a >> ../../src/common/libpgcommon_srv.a -lintl -lssl -lcrypto -lcrypt -lldap -o >> postgres >> libpq/auth.o:auth.c:(.text+0x1940): undefined reference to `in6addr_any' >> libpq/auth.o:auth.c:(.text+0x1954): undefined reference to `in6addr_any' >> libpq/auth.o:auth.c:(.text+0x196d): undefined reference to `in6addr_any' >> libpq/auth.o:auth.c:(.text+0x1979): undefined reference to `in6addr_any' >> /usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../i686-pc-cygwin/bin/ld: >> libpq/auth.o: bad reloc address 0xce4 in section `.rdata' >> collect2: error: ld returned 1 exit status >> Makefile:66: recipe for target 'postgres' failed >> make[2]: *** [postgres] Error 1 >> make[2]: Leaving directory >> '/pub/devel/postgresql/git/postgresql_build/src/backend' > > Could either of you try whether compiling with the attached hack fixes > anything on cygwin? > > Greetings, > > Andres Freund > on cygwin32 bit it works, but it stops later on ------------------------------------------- sl -lcrypto -lz -lreadline -lcrypt -o psql.exe tab-complete.o:tab-complete.c:(.text+0xa98): undefined reference to `rl_line_buffer' tab-complete.o:tab-complete.c:(.text+0xa387): undefined reference to `rl_attempted_completion_function' tab-complete.o:tab-complete.c:(.text+0xa391): undefined reference to `rl_basic_word_break_characters' tab-complete.o:tab-complete.c:(.text+0xa3a4): undefined reference to `rl_readline_name' /usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../i686-pc-cygwin/bin/ld: tab-complete.o: bad reloc address 0x30ec in section `.rdata' /usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../../i686-pc-cygwin/bin/ld: final link failed: Invalid operation collect2: error: ld returned 1 exit status Makefile:33: recipe for target 'psql' failed ----------------------------------------------- on cygwin 64bit, that I was not testing before, something is strange ------------------------------------------------------ -lintl -lssl -lcrypto -lcrypt -lldap -lwsock32 -lws2_32 -o postgres postmaster/postmaster.o:postmaster.c:(.rdata$.refptr.environ[.refptr.environ]+0x0): undefined reference to `environ' collect2: error: ld returned 1 exit status Makefile:68: recipe for target 'postgres' failed make[2]: *** [postgres] Error 1 ------------------------------------------------------- of course 9.3.2 builds fine on cygwin 64bit. Regards Marco
pgsql-hackers by date: