|--==> "JJ" == Jerry James <james(a)eecs.ku.edu> writes:
JJ> Steve Youngs <youngs(a)xemacs.org> wrote:
>- With '--error-checking=all' I got an undefined symbol
error
>while trying to connect to a PostgreSQL database...
>"undefined symbol: error_check_pgconn"
JJ> Steve, do you see this with a fresh compile? I can't reproduce
JJ> it.
From a clean build...
(pq-connectdb "dbname=users_db")
=> Dll error: Opening dynamic module,
"/usr/local/lib/xemacs-21.5-b9/i686-pc-linux/modules/postgresql.ell:
undefined symbol: error_check_pgconn"
Backtrace:
# bind (standard-output stack-trace-on-signal debug-on-signal stack-trace-on-error
debug-on-error)
# (unwind-protect ...)
# (unwind-protect ...)
load-module("postgresql")
# bind (load-modules-quietly path handler filename nosuffix nomessage noerror file)
load("postgresql" nil nil nil)
# (unwind-protect ...)
(pq-connectdb "dbname=users_db")
eval((pq-connectdb "dbname=users_db"))
# bind (expr)
eval-interactive((pq-connectdb "dbname=users_db"))
# bind (standard-output opoint ignore-quotes eval-last-sexp-arg-internal)
eval-last-sexp(t)
# bind (standard-output)
#<compiled-function nil "...(13)" [standard-output terpri eval-last-sexp t]
2 1090158 nil>()
call-interactively(eval-print-last-sexp)
# (condition-case ... . error)
# (catch top-level ...)
Doing a simple 'M-x load-module RET /path/to/postgresql.ell RET' gives
me:
Dll error: Cannot open dynamic module,
"/usr/local/lib/xemacs-21.5-b9/i686-pc-linux/modules/postgresql.ell"
Backtrace:
# bind (standard-output stack-trace-on-signal debug-on-signal stack-trace-on-error
debug-on-error)
# (unwind-protect ...)
# (unwind-protect ...)
load-module("/usr/local/lib/xemacs-21.5-b9/i686-pc-linux/modules/postgresql.ell")
# bind (command-debug-status)
call-interactively(load-module)
command-execute(load-module t)
# bind (_execute_command_keys_ _execute_command_name_ prefix-arg)
execute-extended-command(nil)
# bind (command-debug-status)
call-interactively(execute-extended-command)
# (condition-case ... . error)
# (catch top-level ...)
Am I doing something wrong?
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|