* need help to install emacs
@ 2002-08-22 14:35 Xiaoxia Dong
2002-08-22 16:56 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Xiaoxia Dong @ 2002-08-22 14:35 UTC (permalink / raw)
I was trying to install emacs-21.2 on Sun Sparc machine. I got the
following errors when I tried to compile the src/lwlib code.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
gcc -c -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I.
-I../src -I/usr/local/src/emacs-21.2/lwlib
-I/usr/local/src/emacs-21.2/lwlib/../src xlwmenu.c
In file included from /usr/include/X11/Xos.h:81,
from xlwmenu.c:32:
/usr/include/strings.h:25: conflicting types for `memmove'
/usr/include/iso/string_iso.h:62: previous declaration of `memmove'
/usr/include/strings.h:26: parse error before `0'
/usr/include/strings.h:26: warning: conflicting types for built-in function
`memset'
make: *** [xlwmenu.o] Error 1
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thank you very much for your time and help.
Xiaoxia Dong
Northwestern University, Evanston, IL. USA
x-dong@northwestern.edu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: need help to install emacs
2002-08-22 14:35 need help to install emacs Xiaoxia Dong
@ 2002-08-22 16:56 ` Eli Zaretskii
2002-08-22 19:41 ` images Randy Zelick
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2002-08-22 16:56 UTC (permalink / raw)
Cc: help-gnu-emacs
> From: Xiaoxia Dong <x-dong@northwestern.edu>
> Date: Thu, 22 Aug 2002 09:35:18 -0500
>
> I was trying to install emacs-21.2 on Sun Sparc machine. I got the
> following errors when I tried to compile the src/lwlib code.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> gcc -c -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I.
> -I../src -I/usr/local/src/emacs-21.2/lwlib
> -I/usr/local/src/emacs-21.2/lwlib/../src xlwmenu.c
> In file included from /usr/include/X11/Xos.h:81,
> from xlwmenu.c:32:
> /usr/include/strings.h:25: conflicting types for `memmove'
> /usr/include/iso/string_iso.h:62: previous declaration of `memmove'
> /usr/include/strings.h:26: parse error before `0'
> /usr/include/strings.h:26: warning: conflicting types for built-in function
> `memset'
> make: *** [xlwmenu.o] Error 1
This should be fixed in the next release. The patch below should fix
it for you:
Index: src/s/sol2-5.h
===================================================================
RCS file: /cvs/emacs/src/s/sol2-5.h,v
retrieving revision 1.13.14.1
retrieving revision 1.13.14.2
diff -u -r1.13.14.1 -r1.13.14.2
--- src/s/sol2-5.h 5 Dec 2001 18:32:15 -0000 1.13.14.1
+++ src/s/sol2-5.h 19 Apr 2002 11:36:16 -0000 1.13.14.2
@@ -29,6 +29,18 @@
#define HAVE_VFORK 1
#endif
+/* Newer versions of Solaris have bcopy etc. as functions, with
+ prototypes in strings.h. They lose if the defines from usg5-4.h
+ are visible, which happens when X headers are included. */
+#ifdef HAVE_BCOPY
+#undef bcopy
+#undef bzero
+#undef bcmp
+#ifndef NOT_C_CODE
+#include <strings.h>
+#endif
+#endif
+
#if 0 /* A recent patch in unexelf.c should eliminate the need for this. */
/* Don't use the shared libraries for -lXt and -lXaw,
to work around a linker bug in Solaris 2.5.
^ permalink raw reply [flat|nested] 3+ messages in thread
* images
2002-08-22 16:56 ` Eli Zaretskii
@ 2002-08-22 19:41 ` Randy Zelick
0 siblings, 0 replies; 3+ messages in thread
From: Randy Zelick @ 2002-08-22 19:41 UTC (permalink / raw)
Hello...
Is there a way to paste an image (gif, tiff, jpeg, pdf or ?) into the
diary file and have it appear as the image rather than ascii
representations of the binary file?
Thanks,
=Randy=
--
R. Zelick email: zelickr@pdx.edu
Department of Biology voice: 503-725-3086
Portland State University fax: 503-725-3888
mailing:
P.O. Box 751
Portland, OR 97207
shipping:
1719 SW 10th Ave, Room 246
Portland, OR 97201
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-22 19:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-22 14:35 need help to install emacs Xiaoxia Dong
2002-08-22 16:56 ` Eli Zaretskii
2002-08-22 19:41 ` images Randy Zelick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).