>>>> Vin Shelton writes:
Ilya and Volker -
Hi
OK. I'm going to ask the two of you to resolve this. Ilya, can
you
please describe exactly how the 21.4.17 configure.in fails for you and
on what platforms? Volker, please describe why the 21.4.18 version
doesn't work for you. Maybe in this way, we can get a version that
works for both of you for 21.4.19. Please follow up ASAP so we can
try out potential solutions.
Here is what I get when linking xemacs with 21.4.18 (undefined reference to
`_ber_pvt_opt_on'):
gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare
-fno-strict-aliasing -Wshadow -Wpointer-arith -Demacs -I. -DHAVE_CONFIG_H
-Wno-sign-compare -fno-caller-saves -I/usr/X11/include dump-id.c
gcc -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare
-fno-strict-aliasing -Wshadow -Wpointer-arith -L/usr/X11R6/lib -o xemacs abbrev.o
alloc.o blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle.o casetab.o
chartab.o cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o doc.o
doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o filelock.o ntplay.o dumper.o
scrollbar-msw.o menubar-msw.o toolbar-msw.o dialog-msw.o console-msw.o device-msw.o
event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o glyphs-msw.o gui-msw.o
balloon_help.o balloon-x.o dragdrop.o eldap.o postgresql.o dgif_lib.o gif_io.o menubar.o
scrollbar.o dialog.o toolbar.o menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o
mule.o mule-ccl.o mule-charset.o file-coding.o input-method-xlib.o realpath.o getloadavg.o
inline.o console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o
cm.o terminfo.o event-unixoid.o databas!
e.o process-unix.o event-stream.o extents.o faces.o fileio.o filemode.o floatfns.o fns.o
font-lock.o frame.o general.o glyphs.o glyphs-eimage.o glyphs-widget.o gui.o gutter.o
hash.o imgproc.o indent.o insdel.o intl.o keymap.o line-number.o lread.o lstream.o
macros.o marker.o md5.o minibuf.o objects.o opaque.o print.o process.o profile.o
rangetab.o redisplay.o redisplay-output.o regex.o search.o select.o signal.o sound.o
specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o console-x.o device-x.o
event-Xt.o frame-x.o glyphs-x.o objects-x.o redisplay-x.o select-x.o xgccache.o widget.o
window.o win32.o xemacs_res.o lastfile.o gmalloc.o vm-limit.o EmacsFrame.o EmacsShell.o
TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o offix.o dump-id.o
../lwlib/liblw.a -lXaw3d -ltiff -lpng -ljpeg -lz -lcompface -lXpm -lXmu -lXt -lXext -lX11
-lSM -lICE -ldb -lncurses -lintl -lpq -lldap -lwinmm -lshell32 -lgdi32 -luser32 -lcomdlg32
-lcomctl32 -lkernel32 -lwinspool
Info: resolving _comp_env by linking to __imp__comp_env (auto-import)
Info: resolving _F by linking to __imp__F (auto-import)
Info: resolving _XtStrings by linking to __imp__XtStrings (auto-import)
Info: resolving _XtShellStrings by linking to __imp__XtShellStrings (auto-import)
Info: resolving _applicationShellWidgetClass by linking to
__imp__applicationShellWidgetClass (auto-import)
Info: resolving _colorConvertArgs by linking to __imp__colorConvertArgs (auto-import)
Info: resolving _shellClassRec by linking to __imp__shellClassRec (auto-import)
Info: resolving _widgetClassRec by linking to __imp__widgetClassRec (auto-import)
Info: resolving __XtInherit by linking to __imp___XtInherit (auto-import)
Info: resolving _wmShellWidgetClass by linking to __imp__wmShellWidgetClass (auto-import)
Info: resolving _topLevelShellClassRec by linking to __imp__topLevelShellClassRec
(auto-import)
Info: resolving _topLevelShellWidgetClass by linking to __imp__topLevelShellWidgetClass
(auto-import)
Info: resolving _transienteldap.o: In function `Fldap_open':
/usr/src/xemacs-21.4.18/src/eldap.c:315: undefined reference to `_ber_pvt_opt_on'
/usr/src/xemacs-21.4.18/src/eldap.c:318: undefined reference to `_ber_pvt_opt_on'
ShellClassRec by linking to __imp__transientShellClassRec (auto-import)
Info: resolving _transientShellWidgetClass by linking to __imp__transientShellWidgetClass
(auto-import)
Info: resolving _compositeClassRec by linking to __imp__compositeClassRec (auto-import)
Info: resolving __XtInheritTranslations by linking to __imp___XtInheritTranslations
(auto-import)
Info: resolving _overrideShellWidgetClass by linking to __imp__overrideShellWidgetClass
(auto-import)
Info: resolving _dialogWidgetClass by linking to __imp__dialogWidgetClass (auto-import)
Info: resolving _commandWidgetClass by linking to __imp__commandWidgetClass (auto-import)
Info: resolving _shellWidgetClass by linking to __imp__shellWidgetClass (auto-import)
collect2: ld returned 1 exit status
And here is a diff between the configure runs of 21.4.17 and 21.4.18:
---
/usr/local/objs/release/xemacs/xemacs-21.4.17/xemacs-21.4.17-1-CONFIGURE.LOG 2005-05-03
22:01:27.056250000 +0200
+++ xemacs-21.4.18-2-CONFIGURE.LOG 2005-12-12 10:37:56.114502400 +0100
checking for LDAP
checking for ldap.h... yes
checking for lber.h... yes
-checking for ldap_search in -lldap... yes
-checking for ber_pvt_opt_on in -llber... yes
+checking for ldap_open... no
+checking for ldap_open in -lldap... yes
checking for ldap_set_option... yes
checking for ldap_get_lderrno... no
checking for ldap_result2error... yes
So it looks like we have to check explicitly for ber_pvt_opt_on in
-llber again.
Thank you,
Vin Shelton
Ciao
Volker