🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #88106

emacs 19.25 build error

#88106
From: Jonathan Beskin
Date: Wed, 03 Aug 1994 19:38
45 lines
2246 bytes
Emacs Version: 19.25
System: SPARCstation 2 running Sun 4.1.3_U1
Build commands executed:

configure sun4 --with-x11 --with-gcc --with-x-toolkit \
	--prefix=/usr/local/experimental/
make


Produced the error:
1) 
gcc -static -c  -Demacs -DHAVE_CONFIG_H  -I. \
    -I/usr/local/experimental/emacs-19.25/src  -g -O sysdep.c
sysdep.c: In function `get_system_name':
sysdep.c:2012: storage size of `uts' isn't known
*** Error code 1
make: Fatal error: Command failed for target `sysdep.o'
Current working directory /home/local/experimental/emacs-19.25/src
*** Error code 1
make: Fatal error: Command failed for target `src'


This is likely due to the configuration file which fails to set
HAVE_GETHOSTNAME. Defining this at the beginning of sysdep.c avoids
the error message. I suspect doing so in the configure.in file would
do the same.

2)
gcc -static -c  -Demacs -DHAVE_CONFIG_H  -I. \
	-I/usr/local/experimental/emacs-19.25/src \
	-I/usr/X11R6/include      -g -O xfns.c
xfns.c: In function `XScreenNumberOfScreen':
xfns.c:4061: dereferencing pointer to incomplete type
xfns.c:4063: dereferencing pointer to incomplete type
xfns.c: In function `Fx_open_connection':
xfns.c:4153: dereferencing pointer to incomplete type
*** Error code 1

I could not find a way to fix this.

Jonathan Beskin
System Administrator
Philosophy and Computers and Systems Science program
State University of New York at Binghamton
noj@turing.pacss.binghamton.edu
Technical Details
Message-ID: <9408012212.AA15181@turing.pacss.binghamton.edu_>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!turing.ai.mit.EDU!noj

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,b37e256e8b5f12,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-04 01:56:33 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!news.duke.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!turing.ai.mit.EDU!noj
From: noj@turing.ai.mit.EDU (Jonathan Beskin)
Newsgroups: gnu.emacs.bug
Subject: emacs 19.25 build error
Date: 3 Aug 1994 15:38:50 -0400
Organization: GNUs Not Usenet
Lines: 57
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9408012212.AA15181@turing.pacss.binghamton.edu_>