In the process of testing Jerry's patch, I got the error below for
LDAP. Any ideas or suggestions? I suspect the problem stems from
ellcc invoking "gcc" rather than "g++" for the link step, but I
don't
know much about ellcc. Jerry?
../../lib-src/ellcc -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked
-Wpointer-arith -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wdeclaration-after-statement -Wunused-parameter -g --mode=compile
--mod-output=eldap_i.o -I../../src
-I/Users/steve/src/XEmacs/21.5/pristine/modules/ldap/../../src -I/opt/local/include -c
eldap_i.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated
../../lib-src/ellcc --mode=link --mode=verbose --mod-output=eldap.ell \
eldap.o eldap_i.o -Wl,-no_pie -L/usr/X11/lib -lldap -llber
ellcc driver version 21.5-b34 for EMODULES version 1.1.0 (1010)
gcc -Wl,-no_pie -bundle -bundle_loader ../../src/xemacs -o eldap.ell eldap.o eldap_i.o
-Wl,-no_pie -L/usr/X11/lib -lldap -llber
Undefined symbols for architecture x86_64:
"std::terminate()", referenced from:
___clang_call_terminate in eldap.o
"___cxa_begin_catch", referenced from:
___clang_call_terminate in eldap.o
"___gxx_personality_v0", referenced from:
Fldap_search_basic(long, long, long, long, long, long, long, long) in eldap.o
Fldap_add(long, long, long) in eldap.o
Fldap_modify(long, long, long) in eldap.o
Dwarf Exception Unwind Info (__eh_frame) in eldap.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [eldap.ell] Error 1
make: *** [modules/ldap] Error 2
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta