🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87324

cannot compile 19.27 for solaris 2.2

#87324
From: Yuan P. Li
Date: Sat, 01 Oct 1994 03:42
51 lines
2649 bytes
Hi, there.

I am not able to compile gnu-emacs 19.27 for
SunOS allwise 5.2 Generic_100999-42 sun4d sparc.

I ran configure as follows:
export CPP=/usr/ccs/lib/cpp
export CC='cc -O'
gnuHOME=$HOME
./configure --with-x --x-includes=/usr/openwin/include \
--x-libraries=/usr/openwin/lib --with-gcc=no \
--prefix=$gnuHOME sparc-sun-solaris2.2

I got the following error message in linking temacs:

ld: warning: file /usr/lib/libelf.so:
attempted multiple inclusion of file libelf.so
Undefined                       first referenced
 symbol                             in file
tgetstr                             term.o
tparm                               terminfo.o
tgetflag                            term.o
tgetent                             term.o
tputs                               cm.o
tgoto                               cm.o
tgetnum                             term.o
ld: fatal: Symbol referencing errors. No output written to temacs

Also, there were a lot of warnings during early stages of
compilation, like:

cc -O -c  -Demacs -DHAVE_CONFIG_H  -I. -I/home/liyuan/local/emacs19/emacs-19.27/src  -Xs  -I/usr/openwin/include   -g  process.c
"/usr/ucbinclude/sys/ioctl.h", line 77: macro ECHO redefines previous macro at "/usr/include/sys/termios.h", line 258
"/usr/ucbinclude/sys/ioctl.h", line 84: macro NL0 redefines previous macro at "/usr/include/sys/termios.h", line 197

cc -O -c  -Demacs -DHAVE_CONFIG_H  -I. -I/home/liyuan/local/emacs19/emacs-19.27/src  -Xs  -I/usr/openwin/include   -g  eval.c
"eval.c", line 1664: warning: end-of-loop code not reached
"eval.c", line 1676: warning: end-of-loop code not reached

src  -Xs  -I/usr/openwin/include   -g  keymap.c
"keymap.c", line 593: warning: end-of-loop code not reached

src  -Xs  -I/usr/openwin/include   -g  alloc.c
"alloc.c", line 351: warning: integer overflow detected: op "<<"
"alloc.c", line 364: warning: integer overflow detected: op "<<"


Would you please help me?

Best regards,
Yuan P Li
Technical Details
Message-ID: <9410010339.AA03724@allwise.att.com>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!cis.ohio-state.edu!allwise.ATt.COM!liyuan

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,b4cd73e420bea41d,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-10-01 09:26:26 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!cis.ohio-state.edu!allwise.ATt.COM!liyuan
From: liyuan@allwise.ATt.COM (Yuan P. Li)
Newsgroups: gnu.emacs.bug
Subject: cannot compile 19.27 for solaris 2.2
Date: 30 Sep 1994 23:42:11 -0400
Organization: GNUs Not Usenet
Lines: 51
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9410010339.AA03724@allwise.att.com>