I'm in the process of investigating this, but I wasn't ready for it
to become an issue for xemacs-beta so soon. But I'll throw some
thoughts out there now.
First, a question: shouldn't we have this patch??
--- configure.in.old
+++ configure.in
@@ -1941,7 +1941,7 @@
AC_MSG_CHECKING("for runtime libraries flag")
case "$opsys" in
sol2 ) dash_r="-R" ;;
- decosf* | linux* ) dash_r="-rpath " ;;
+ decosf* | linux* | irix*) dash_r="-rpath " ;;
*)
dash_r=""
for try_dash_r in "-R" "-R " "-rpath "; do
Secondly, my setup is a little unusual - broken MIT X11 installed in
/usr/local and libwnn installed in /usr/lib but not /usr/lib32. Man
pages are not installed :-(. In other words, a typical real-life
system. I haven't figured out how to make configure deal sanely with
this setup yet.
You are trapped in a twisty maze of directories. In every one there
is a libX11, each slightly different:
$ ll /usr/local/lib/libX11.* /usr/lib*/**/libX11* | grep -v '.->'
-rw-r--r-- 1 root sys 1551960 Jan 2 1996 /usr/local/lib/libX11.a
-rw-r--r-- 1 root sys 1826704 Oct 8 1996 /usr/lib64/libX11.so.1
-rw-r--r-- 1 root sys 1500576 Oct 8 1996 /usr/lib/abi/libX11.so.2
-rw-r--r-- 1 root sys 1592652 Oct 9 1996 /usr/lib32/libX11.so.1
-rw-r--r-- 1 root sys 1471032 Oct 9 1996 /usr/lib/libX11.so.1
I (re)discovered that --x-includes=/usr/include is a BAD idea when
using gcc.
/net/wanchai/export1/xemacs/local/irix/bin/gcc -c -fno-exceptions -O3 -Wall
-Wpointer-arith -Winline -Wmissing-prototypes -Wmissing-declarations -Wunused -Wformat
-Wno-switch -Wno-sign-compare -Wno-uninitialized -Wshadow -Demacs -I. -DHAVE_CONFIG_H
-I/net/wanchai/export1/xemacs/local/irix/include -I/usr/include
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c: In function
`maybe_call_magic_handler':
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c:2879: warning:
implicit declaration of function `__NO_CFOLD_WARNING'
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c:2879: warning:
implicit declaration of function `__builtin_alignof'
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c:2879: parse error
before `Lisp_Object'
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c:2879: parse error
before `Lisp_Object'
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c:2879: parse error
before `Lisp_Object'
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c:2879: parse error
before `Lisp_Object'
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c:2879: warning:
implicit declaration of function `__builtin_classof'
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c:2879: parse error
before `Lisp_Object'
/tmp_mnt/net/wanchai/export1/xemacs/home/martin/x/ws/21.0/src/symbols.c:2879: parse error
before `)'
Martin
Show replies by date