unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs 21.2 compile problems on Solaris 8
@ 2002-10-29 18:47 Carl B. Constantine
  0 siblings, 0 replies; 4+ messages in thread
From: Carl B. Constantine @ 2002-10-29 18:47 UTC (permalink / raw)


I'm trying to compile Emacs 21.1 for Solaris 8, both Intel versions and
Sparc versions.

On the Sparc, I'm using gcc 2.95.3. On the x86, I'm using gcc 3.1.1.

In both cases I get this same error:

gcc -c   -I/public/include -I/usr/dt/include   -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/sw/pgmstore/admpubsw/emacs/emacs-21.2/lwlib -I/sw/pgmstore/admpubsw/emacs/emacs-21.2/lwlib/../src xlwmenu.c
In file included from /package/gcc-3.1.1/lib/gcc-lib/i386-pc-solaris2.8/3.1.1/include/X11/Xos.h:90,
                 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 numeric constant
make[2]: *** [xlwmenu.o] Error 1
make[2]: Leaving directory `/sw/pgmstore/admpubsw/emacs/emacs-21.2/lwlib'
make[1]: *** [really-lwlib] Error 2
make[1]: Leaving directory `/sw/pgmstore/admpubsw/emacs/emacs-21.2/src'
make: *** [src] Error 2

(The /public/include is an extra include dir for the image libraries -
tiff, jpeg, png, xpm).

I've tried with and without gnu binutils. I've tried with and without
specifying the image libraries (without, emacs doesn't include them in
the configure because they are in a different location for our needs)
but in every case, I get this same error.

Looking at the typescript (generated by the script command) I don't
recall having this problem with Emacs 21.1 on the sparc machine using
gcc 2.95.3.

Anyone have ideas as to what is causing this and how I can fix it?

-- 
Carl B. Constantine         University of Victoria
Programmer Analyst          http://www.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
cconstan@csc.uvic.ca        ELW A220, 721-8753

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs 21.2 compile problems on Solaris 8
       [not found] <mailman.1035917312.12596.help-gnu-emacs@gnu.org>
@ 2002-10-29 23:53 ` Johan Bockgård
  2002-10-30 18:40   ` Carl B. Constantine
  0 siblings, 1 reply; 4+ messages in thread
From: Johan Bockgård @ 2002-10-29 23:53 UTC (permalink / raw)


On Tue, 29 Oct 2002, Carl B. Constantine wrote:

> I'm trying to compile Emacs 21.1 for Solaris 8, both Intel versions and
> Sparc versions.
>
> On the Sparc, I'm using gcc 2.95.3. On the x86, I'm using gcc 3.1.1.
>
> In both cases I get this same error:
>
> gcc -c   -I/public/include -I/usr/dt/include   -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/sw/pgmstore/admpubsw/emacs/emacs-21.2/lwlib -I/sw/pgmstore/admpubsw/emacs/emacs-21.2/lwlib/../src xlwmenu.c
> In file included from /package/gcc-3.1.1/lib/gcc-lib/i386-pc-solaris2.8/3.1.1/include/X11/Xos.h:90,
>                  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 numeric constant
> make[2]: *** [xlwmenu.o] Error 1
> make[2]: Leaving directory `/sw/pgmstore/admpubsw/emacs/emacs-21.2/lwlib'
> make[1]: *** [really-lwlib] Error 2
> make[1]: Leaving directory `/sw/pgmstore/admpubsw/emacs/emacs-21.2/src'
> make: *** [src] Error 2
>

This question was asked and answered here just a few days ago, "emacs on
solaris 9", Oct 26.

http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&safe=off&frame=right&th=edc68f3c08bcbbcc

I had the same problem and the proposed fix worked for me.


Hope this helps
/Johan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs 21.2 compile problems on Solaris 8
  2002-10-29 23:53 ` Johan Bockgård
@ 2002-10-30 18:40   ` Carl B. Constantine
  2002-10-31  6:01     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Carl B. Constantine @ 2002-10-30 18:40 UTC (permalink / raw)
  Cc: help-gnu-emacs

* Johan Bockgård (bojohan@dd.chalmers.se) wrote:
> On Tue, 29 Oct 2002, Carl B. Constantine wrote:
> 
> > I'm trying to compile Emacs 21.1 for Solaris 8, both Intel versions and
> > Sparc versions.
> >
> > On the Sparc, I'm using gcc 2.95.3. On the x86, I'm using gcc 3.1.1.
> >
> > In both cases I get this same error:

[error snipped]

> This question was asked and answered here just a few days ago, "emacs on
> solaris 9", Oct 26.
> 
> http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&safe=off&frame=right&th=edc68f3c08bcbbcc
> 
> I had the same problem and the proposed fix worked for me.

Thank you muchly. This worked for me also. I really hope this is fixed
in the next version so we don't have to patch.

Thanks for the pointer, I greatly appreciated it.

-- 
Carl B. Constantine         University of Victoria
Programmer Analyst          http://www.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
cconstan@csc.uvic.ca        ELW A220, 721-8753

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs 21.2 compile problems on Solaris 8
  2002-10-30 18:40   ` Carl B. Constantine
@ 2002-10-31  6:01     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2002-10-31  6:01 UTC (permalink / raw)



On Wed, 30 Oct 2002, Carl B. Constantine wrote:

> I really hope this is fixed in the next version so we don't have to patch.

It is.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-31  6:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 18:47 emacs 21.2 compile problems on Solaris 8 Carl B. Constantine
     [not found] <mailman.1035917312.12596.help-gnu-emacs@gnu.org>
2002-10-29 23:53 ` Johan Bockgård
2002-10-30 18:40   ` Carl B. Constantine
2002-10-31  6:01     ` Eli Zaretskii

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).