[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/etc/PROBLEMS,v

From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/etc/PROBLEMS,v
Date: Wed, 04 Apr 2007 02:58:38 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       07/04/04 02:58:38

RCS file: /sources/emacs/emacs/etc/PROBLEMS,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -b -r1.216 -r1.217
--- PROBLEMS    31 Mar 2007 18:39:26 -0000      1.216
+++ PROBLEMS    4 Apr 2007 02:58:38 -0000       1.217
@@ -2305,6 +2305,30 @@
 Alternatively, modify the generated src/Makefile to link the .a file
 explicitly, and edit src/config.h to define HAVE_JPEG.
+*** `configure' warns ``accepted by the compiler, rejected by the 
+This indicates a mismatch between the C compiler and preprocessor that
+configure is using.  For example, on Solaris 10 trying to use
+CC=/opt/SUNWspro/bin/cc (the Sun Studio compiler) together with
+CPP=/usr/ccs/lib/cpp can result in errors of this form (you may also
+see the error ``"/usr/include/sys/isa_defs.h", line 500: undefined control'').
+The solution is to tell configure to use the correct C preprocessor
+for your C compiler (CPP="/opt/SUNWspro/bin/cc -E" in the above
+*** `configure' fails with ``"junk.c", line 660: invalid input token: 8.elc''
+The final stage of the Emacs configure process uses the C preprocessor
+to generate the Makefiles.  Errors of this form can occur if the C
+preprocessor inserts extra whitespace into its output.  The solution
+is to find the switches that stop your preprocessor from inserting extra
+whitespace, add them to CPPFLAGS, and re-run configure.  For example,
+this error can occur on Solaris 10 when using the Sun Studio compiler
+``Sun C 5.8'' with its preprocessor CPP="/opt/SUNWspro/bin/cc -E".
+The relevant switch in this case is "-Xs" (``compile assuming
+(pre-ANSI) K & R C style code'').
 ** Compilation
 *** Building Emacs over NFS fails with ``Text file busy''.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]