================================================================
Dear Bug Team!
when try build XEmacs in cygwin 1.7, the linker failed with following
error message:
undefined reference to `_IID_IPersistFile'
This error is caused by the new libuuid.so delivered by
cygwin1.7. With cygwin 1.7 there's multi-copy of libuuid delivered,
the win32 copy of libuuid must be explictly linked instead of passing
-luuid flag to linker.
Attached is a simple patch for configure.ac and configure script.
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: CYGWIN_NT-5.1 kfan-1 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
./configure '--with-mule' '--with-newgc' '--with-kkcc'
'--with-system-malloc'
XEmacs 21.5-b29 "garbanzo" 317ebaee6e4f+ configured for `i686-pc-cygwin'.
Compilation Environment and Installation Defaults:
Source code location: /home/KFAN/workspace/xemacs
Installation prefix: /usr/local
Operating system description file: `s/cygwin32.h'
Machine description file: `m/intel386.h'
Compiler version: gcc (GCC) 4.3.4 20090804 (release) 1
- GCC specs file: specs.
- Compiler command: gcc -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
libc version:
Relocating allocator for buffers: no
GNU version of malloc: no
- User chose not to use GNU allocators.
Window System:
Compiling in support for the Microsoft window system.
Compiling in support for the X window system:
- X Windows headers location:
- X Windows libraries location:
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
Compiling in support for Drag'n'Drop (EXPERIMENTAL).
- Drag'n'Drop prototype: msw.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images.
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
Mail:
Compiling in support for POP mail retrieval.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new GC mark algorithms (KKCC).
WARNING: ---------------------------------------------------------
WARNING: The new algorithms are experimental. They are enabled by
WARNING: default for this release. Use `--disable-kkcc' to
WARNING: turn it off.
WARNING: ---------------------------------------------------------
Using the new incremental garbage collector and the new allocator.
Using special WIN32 vdb fault handler.
Using the new portable dumper.
Compiling in support for extra debugging code.
Compiling in support for runtime error checking.
WARNING: ---------------------------------------------------------
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Load-Path Lisp Shadows:
----------------------
(/home/KFAN/.xemacs/xemacs-packages/lisp/cedet-common/working
/home/KFAN/.xemacs/xemacs-packages/lisp/semantic/working
/home/KFAN/.xemacs/xemacs-packages/lisp/cedet-common/sformat
/home/KFAN/.xemacs/xemacs-packages/lisp/semantic/sformat
/home/KFAN/.xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/home/KFAN/workspace/xemacs/lisp/regexp-opt
/home/KFAN/.xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/home/KFAN/workspace/xemacs/lisp/easy-mmode
/home/KFAN/.xemacs/xemacs-packages/lisp/build/build-report
/home/KFAN/workspace/xemacs/lisp/build-report)
Internationalization Settings:
-------------------------
Environment:
Value of LC_ALL : nil
Value of LC_COLLATE : nil
Value of LC_CTYPE : nil
Value of LC_MESSAGES : nil
Value of LC_MONETARY : nil
Value of LC_NUMERIC : nil
Value of LC_TIME : nil
Value of LANG : C.UTF-8
Lisp locale settings:
current-language-environment => "English"
default-buffer-file-coding-system => utf-8
default-process-coding-system => (utf-8 . utf-8)
(current-locale) => "C"
keyboard-coding-system => utf-8
terminal-coding-system => utf-8
(coding-priority-list) =>
(iso-8-1 utf-16-little-endian-bom utf-16-bom utf-8-bom iso-7
no-conversion utf-8 iso-8-2 iso-8-designate iso-lock-shift
shift-jis big5 utf-16-little-endian utf-16 ucs-4)
Coding system aliases:
'native is aliased to utf-8
'file-name is aliased to utf-8
'mswindows-multibyte-system-default is not a coding system alias
Installed XEmacs Packages:
-------------------------
(xslt-process ver: 1.12 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xemacs-devel ver: 1.8 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.29 upstream: No-Upstream-Ver)
(vc ver: 1.48 upstream: No-Upstream-Ver)
(tramp ver: 1.4 upstream: 2.0.56)
(time ver: 1.14 upstream: 1.17)
(text-modes ver: 2.0 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(speedbar ver: 1.29 upstream: 1.0pre4)
(sh-script ver: 1.24 upstream: 2.0f)
(semantic ver: 1.21 upstream: 2.0pre4)
(ruby-modes ver: 1.04 upstream: 1.8.7)
(python-modes ver: 1.14 upstream: 5.0.0)
(psgml ver: 1.45 upstream: 1.3.2)
(prog-modes ver: 2.2 upstream: No-Upstream-Ver)
(pgg ver: 1.07 upstream: 0.1)
(perl-modes ver: 1.14 upstream: No-Upstream-Ver)
(pcomplete ver: 1.06 upstream: 1.1.6)
(pcl-cvs ver: 1.7 upstream: R-2_9_9)
(os-utils ver: 1.41 upstream: No-Upstream-Ver)
(oo-browser ver: 1.05 upstream: 4.08)
(net-utils ver: 1.56 upstream: N/A)
(mail-lib ver: 1.8 upstream: No-Upstream-Ver)
(ispell ver: 1.32 upstream: 3.6)
(ibuffer ver: 1.1 upstream: No-Upstream-Ver)
(gnus ver: 1.94 upstream: 5.10.8)
(gnats ver: 1.17 upstream: 3.101)
(fsf-compat ver: 1.19 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eterm ver: 1.18 upstream: No-Upstream-Ver)
(eshell ver: 1.18 upstream: 0fc80a3f6bb3bb59f42e9ff83cc8b89bf90fe658)
(erc ver: 0.23 upstream: Version 5.1.2 Revision: 1.796.2.6)
(elib ver: 1.13 upstream: 1.0)
(eieio ver: 1.07 upstream: 1.0pre4)
(efs ver: 1.34 upstream: 1.24)
(edit-utils ver: 2.43 upstream: No-Upstream-Ver)
(ediff ver: 1.81 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ede ver: 1.03 upstream: 1.0pre4)
(ecrypto ver: 0.21 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(docbookide ver: 0.08 upstream: 0.1)
(dired ver: 1.2 upstream: 7.17)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(cedet-common ver: 1.01 upstream: 1.0pre4)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.38 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(build ver: 1.15 upstream: 2.02)
(bbdb ver: 1.32 upstream: 2.35)
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 autoconf-mode
time-stamp mercurial view-less view vc ring diff-mode regexp-opt
sh-script executable autoinsert lazy-shot font-lock where-was-i-db
vc-hooks vc-xemacs paren mic-paren timer icomplete jka-compr font
disp-table func-menu filladapt crypt crypt++ crypt+pgp-pub efs-cu
efs-x19.15 efs-fnh efs-ovwrt efs-auto cus-face dired-faces
dired-xemacs dired xslt-process-autoloads xslide-autoloads
xemacs-devel-autoloads xemacs-base-autoloads vc-autoloads
tramp-autoloads time-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads speedbar-autoloads sh-script-autoloads
semantic-autoloads ruby-modes-autoloads python-modes-autoloads
psgml-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
os-utils-autoloads oo-browser-autoloads net-utils-autoloads
mail-lib-autoloads ispell-autoloads ibuffer-autoloads gnus-autoloads
gnats-autoloads fsf-compat-autoloads forms-autoloads
footnote-autoloads eterm-autoloads eshell-autoloads erc-autoloads
elib-autoloads eieio-autoloads efs-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads ede-autoloads ecrypto-autoloads
ecb-autoloads docbookide-autoloads dired-autoloads debug-autoloads
cedet-common-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
modules-autoloads mule-autoloads auto-autoloads auto-show fontl-hooks
canna-leim tibetan slovenian czech romanian lao devanagari indian
cyrillic code-cmds gutter-items menubar-items x-menubar dragdrop
mode-motion mouse behavior itimer auto-save lisp-mode easymenu
easy-mmode iso8859-1 page buff-menu lib-complete loadhist cus-file
derived newcomment rsz-minibuf env text-props frame obsolete packages
cus-start widget custom cl-extra cl cl-19 backquote cygwin-use-utf-8
unicode mswindows-scrollbars mswindows lucid-scrollbars cut-buffer
lucid-menubars athena-dialogs x c-balloon-help tty-frames tty toolbar
native-sound scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar berkeley-db dbm
md5 xemacs xim mule gutter tiff png gif jpeg xface xpm xbm
lisp-float-type file-coding dde cygwin32 dragdrop-api dialog devices
debug-xemacs window-system base64)
Recent keystrokes:
-----------------
3 2 a p i / l i b u u i d . a C-e C-x C-s C-e C-a C-x
C-f c o n f i g u r e TAB . a TAB RET C-x 1 C-s - l
u u i d C-s C-s C-s C-r C-r M-d C-d C-e C-b M-b M-b
M-b M-f SPC / u s r / l i b / w 3 2 a p i / l i b u
u i d . a C-e C-x C-s M-x r e p o r t TAB x e m TAB
RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Wrote /home/KFAN/workspace/xemacs-unicode-internal/configure.ac
Loading autoconf-mode...done
Loading autoconf-mode...
Wrote /home/KFAN/workspace/xemacs-unicode-internal/configure
Loading time-stamp...done
Loading time-stamp...
Reading directory /usr/lib/w32api/...done
Reading directory /usr/lib/w32api/...
Loading mercurial...done
Loading mercurial...
Indentation setup for shell type sh
Indentation variable are now local.
setting up indent stuff
Loading regexp-opt...done
Loading regexp-opt...
Setting up indent for shell type sh
Loading sh-script...done
Loading sh-script...
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta