Re: narwhal and PGDLLIMPORT
Marco Atzeri <marco.atzeri@gmail.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
To: Andres Freund <andres@2ndquadrant.com>,
Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-hackers@postgresql.org
Date: 2014-02-16T17:26:36Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
MinGW: Link with shell32.dll instead of shfolder.dll.
- 53566fc0940c 9.5.0 cited
-
Centralize getopt-related declarations in a new header file pg_getopt.h.
- 60ff2fdd9970 9.4.0 cited
-
Get rid of use of dlltool in Mingw builds.
- 846e91e0223c 9.4.0 cited
-
Export a few more symbols required for test_shm_mq module.
- 7d7eee8bb702 9.4.0 cited
-
Export set_latch_on_sigusr1 symbol for Windows.
- 708c529c7fde 9.4.0 cited
-
Use SHGetFolderPath instead of SHGetSpecialFolderPath to find the
- 889f03812916 8.1.0 cited
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