Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* xemacs
@ 1998-11-24  5:00 Nicholas Guido
  1998-11-25  5:00 ` xemacs Niel Markwick
  0 siblings, 1 reply; 3+ messages in thread
From: Nicholas Guido @ 1998-11-24  5:00 UTC (permalink / raw)


I'm trying to build xemacs on a DEC alpha station 600 with digital unix
4.0D.  When I try to run make I get the following errors:

cc: Warning: /usr/include/unistd.h, line 583: In this declaration,
parameter 1 has a different type than specified in an earlier
declaration of this function.
extern int rename __((const char *, const char *));
-----------^
cc: Error: /usr/include/unistd.h, line 583: In this declaration, the
type of "rename" is not compatible with the type of a previous
declaration of "rename" at line number 166 in file /usr/include/stdio.h.

extern int rename __((const char *, const char *));
-----------^
cc: Warning: /usr/include/errno.h, line 287: In this declaration,
parameter 1 has a different type than specified in an earlier
declaration of this function.
extern void perror __((const char *));
------------^
cc: Error: /usr/include/errno.h, line 287: In this declaration, the type
of "perror" is not compatible with the type of a previous declaration of
"perror" at line number 216 in file /usr/include/stdio.h.
extern void perror __((const char *));
------------^

I realize one is supposed to edit the ./lisp/site-init.el file, however
I am not sure how to do that, nor am I sure that that is the problem.
Any help is appreciated.

--
Nicholas J. Guido
Center for Neurobiology & Behavior
University of Pennsylvania
email:  nick@bgl.psycha.upenn.edu
Phone:  215.573.4693
Fax:    215.573.2041





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

* Re: xemacs
  1998-11-24  5:00 xemacs Nicholas Guido
@ 1998-11-25  5:00 ` Niel Markwick
  1998-11-30  5:00   ` xemacs Kevin Oberman
  0 siblings, 1 reply; 3+ messages in thread
From: Niel Markwick @ 1998-11-25  5:00 UTC (permalink / raw)


Nicholas Guido wrote:
> 
> I'm trying to build xemacs on a DEC alpha station 600 with digital unix
> 4.0D.  When I try to run make I get the following errors:
> 
> cc: Warning: /usr/include/unistd.h, line 583: In this declaration,
> parameter 1 has a different type than specified in an earlier
> declaration of this function.
> extern int rename __((const char *, const char *));
> -----------^
> cc: Error: /usr/include/unistd.h, line 583: In this declaration, the
> type of "rename" is not compatible with the type of a previous
> declaration of "rename" at line number 166 in file /usr/include/stdio.h.

[snip]

The command:
	make CFLAGS=-D_NO_PROTO
worked for me... (I think something is a bit wrong in xemacs' autoconfig
for DEC Unix...)

-- 
Niel Markwick
Alcatel Bell Telecom
Kontich, Belgium.



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

* Re: xemacs
  1998-11-25  5:00 ` xemacs Niel Markwick
@ 1998-11-30  5:00   ` Kevin Oberman
  0 siblings, 0 replies; 3+ messages in thread
From: Kevin Oberman @ 1998-11-30  5:00 UTC (permalink / raw)


Niel Markwick <nielm@euronet.nl> writes:

> Nicholas Guido wrote:
> > 
> > I'm trying to build xemacs on a DEC alpha station 600 with digital unix
> > 4.0D.  When I try to run make I get the following errors:
> > 
> > cc: Warning: /usr/include/unistd.h, line 583: In this declaration,
> > parameter 1 has a different type than specified in an earlier
> > declaration of this function.
> > extern int rename __((const char *, const char *));
> > -----------^
> > cc: Error: /usr/include/unistd.h, line 583: In this declaration, the
> > type of "rename" is not compatible with the type of a previous
> > declaration of "rename" at line number 166 in file /usr/include/stdio.h.
> 
> [snip]
> 
> The command:
> 	make CFLAGS=-D_NO_PROTO
> worked for me... (I think something is a bit wrong in xemacs' autoconfig
> for DEC Unix...)

There were several problems getting XEmacs to build on DU. I have been 
running 20.4 and many, many 21.0 bets releases.

21.0 should build just fine "out of the box" on DU. I have not had a
build problem for any beta release for the past 6 months. I hope 21.0
is released soon, but the lead developer for XEmacs lost his job and
has limited Internet access, so it's bee pretty slow going.

You can get the latest beta if you want to. Of course, it is beta, but 
it is VERY close to being released.

For configuration with DU4.0, I suggest:
configure --without-gcc --cflags="-O3 -std" --site-includes=/usr/local/include
I also suggest gmake, in which case you would add "--with-gnu-make"
For 3.2, use gcc.

There is a problem with compiling etags. It required a minor
hack. It's fixed in 21.0. Also, if you use tpu-edt mode, the version
now distributed for 21.0 is the first in a while without known
problems. 
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net				Phone: +1 510 486-8634



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

end of thread, other threads:[~1998-11-30  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-24  5:00 xemacs Nicholas Guido
1998-11-25  5:00 ` xemacs Niel Markwick
1998-11-30  5:00   ` xemacs Kevin Oberman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox