downloaded fresh sources & elc tarball. Make stopped with:
[....]
gcc -c -g -O2 -Wall -Wno-implicit -Wno-switch -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11/include floatfns.c
floatfns.c:934: warning: `struct exception' declared inside parameter list
floatfns.c:934: warning: its scope is only this definition or declaration,
floatfns.c:934: warning: which is probably not what you want.
floatfns.c:935: conflicting types for `matherr'
/usr/include/math.h:118: previous declaration of `matherr'
floatfns.c: In function `matherr':
floatfns.c:943: dereferencing pointer to incomplete type
floatfns.c:944: dereferencing pointer to incomplete type
floatfns.c:946: dereferencing pointer to incomplete type
floatfns.c:948: dereferencing pointer to incomplete type
make[1]: *** [floatfns.o] Error 1
make[1]: Leaving directory `/usr/local/SRC/Xemacs/xemacs-21.0-b38/src'
make: *** [src] Error 2
Installation included below. Compiler is egcs-1.02. Betas 34-36 built ok (I
didn't try 37).
--Steve Anderson
uname -a: Linux bloch 2.0.33-osfmach3 #15 Wed Mar 4 19:09:42 EST 1998 ppc
unknown
./configure '--with-gnu-make' '--with-offix=no' '--extra-verbose'
'--cflags=-g -O2 -Wall -Wno-implicit -Wno-switch'
XEmacs 21.0-b38 "Repartida" configured for `powerpc-unknown-linux'.
Where should the build process find the source code?
/usr/local/SRC/Xemacs/xemacs-21.0-b38
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/powerpc.h'
What compiler should XEmacs be built with? gcc -g -O2 -Wall
-Wno-implicit -Wno-switch
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11/include
Where do we find X Windows libraries? /usr/X11/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for JPEG image conversion.
Compiling in support for PNG image conversion.
Compiling in support for TIFF image conversion.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Show replies by date
I was somewhat surprised, after posting this failure message, not to get any
response at all - not even a flame - from a list that otherwise seems rather
chatty..... But I interpreted that as an implicit rebuke, an injunction to go
fix the problem myself.
So I went looking, and found that nothing had changed in floatfns.c (the file
that wouldn't compile) from (at least) beta 36 to beta 38. On the other hand,
I had in the meantime updated my glibc-devel rpm from version 1b to 1f, which
included a new version of math.h. Once I downgraded back to 1b, the problem
went away, and beta 38 built without incident.
So change that "FAILURE" to "SUCCESS" on MkLinux (egcs-1.02). As long
as it's
built with the not-quite-latest development files.
--Steve Anderson