Steve Youngs <youngs(a)xemacs.org> wrote:
postgresql.c: In function `Fpq_connectdb':
postgresql.c:511: warning: will never be executed
postgresql.c: In function `Fpq_connect_start':
postgresql.c:557: warning: will never be executed
postgresql.c: In function `Fpq_notifies':
postgresql.c:1394: warning: will never be executed
postgresql.c: At top level:
postgresql.c:1889: warning: no previous declaration for `unload_postgresql'
Aha! A clue!
../../src/emodules.h:92:1: warning: "staticpro" redefined
In file included from ../../src/emodules.h:37,
../../src/lisp.h:3244:1: warning: this is the location of the previous definition
And here is another clue. You shouldn't be getting these warnings.
Let's figure out why you are. There is a configure.ac in the
modules/postgresql directory. Has that been instantiated? That is, is
there a configure script in that directory? If so, has it been run
(e.g., is there a config.log there)?