🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #88015

compilation problem in emacs-19.25 ?

#88015
From: phil
Date: Sun, 14 Aug 1994 06:11
111 lines
5316 bytes
Re: possible gcc compilation problem in emacs-19.25
From: Phil Summins, Australian National University

Hi,
 My system is a Sparc 10/51 running SUNOS 4.1.3u1. I have 
recently downloaded the gcc compiler version 2.6.0 and have 
successfully compiled the X11R6 distribution using it. I
then downloaded emacs-19.25 and tried to compile it using gcc
version 2.6.0 and configuring it for my recently installed
X11R6. I compiled X11R6 with the ForceNormalLibraries option, so
that it included the static as well as shared libraries. My configure 
command line was:

  ./configure sparc-sun-sunos4.1.3 --with-x11 --with-x-toolkit \
     --x-includes=/usr/local/X11R6/include --x-libraries=/usr/local/X11R6/lib

and part of my config.status file appears at the end of this message. When 
I use make to compile emacs-19.25, it fails with the messages:

gcc -static -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/gnu/emacs-19.25/src       -I/usr/local/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
make: Fatal error: Command failed for target `xfns.o'
Current working directory /tmpx/gnu/emacs-19.25/src
*** Error code 1
make: Fatal error: Command failed for target `src'

I also tried with gcc version 2.5.8 and the problem persists.
Sorry to trouble you, but if you have any suggestions for
getting around this problem I would greatly appreciate it
Thanks,
   Phil Cummins (phil@rses.anu.edu.au)

--------------------- top of config.status file --------------------------
#!/bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host benioff:
#
# ./configure  sparc-sun-sunos4.1.3 --with-x11 --with-x-toolkit --x-includes=/usr/local/X11R6/include --x-libraries=/usr/local/X11R6/lib

ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"
for ac_option
do
  case "$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo running ${CONFIG_SHELL-/bin/sh} ./configure  sparc-sun-sunos4.1.3 --with-x11 --with-x-toolkit --x-includes=/usr/local/X11R6/include --x-libraries=/usr/local/X11R6/lib --no-create
    exec ${CONFIG_SHELL-/bin/sh} ./configure  sparc-sun-sunos4.1.3 --with-x11 --with-x-toolkit --x-includes=/usr/local/X11R6/include --x-libraries=/usr/local/X11R6/lib --no-create ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "config.status generated by autoconf version 1.11"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "$ac_cs_usage"; exit 0 ;;
  *) echo "$ac_cs_usage"; exit 1 ;;
  esac
done

trap 'rm -fr Makefile lib-src/Makefile.in oldXMenu/Makefile lwlib/Makefile src/Makefile.in src/config.h conftest*; exit 1' 1 2 15
CC='gcc -static'
LN_S='ln -s'
CPP='gcc -static -E'
INSTALL='/bin/install -c'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_DATA='${INSTALL} -m 644'
YACC='yacc'
SET_MAKE=''
ALLOCA=''
version='19.25'
configuration='sparc-sun-sunos4.1.3'
srcdir='/usr/local/gnu/emacs-19.25'
prefix='/usr/local'
exec_prefix='${prefix}'
bindir='${exec_prefix}/bin'
datadir='${prefix}/lib'
statedir='${prefix}/lib'
libdir='${exec_prefix}/lib'
mandir='${prefix}/man/man1'
infodir='${prefix}/info'
lispdir='${datadir}/emacs/${version}/lisp'
locallisppath='${datadir}/emacs/site-lisp'
lisppath='${locallisppath}:${lispdir}'
etcdir='${datadir}/emacs/${version}/etc'
lockdir='${statedir}/emacs/lock'
archlibdir='${libdir}/emacs/${version}/${configuration}'
docdir='${datadir}/emacs/${version}/etc'
c_switch_system=' '
c_switch_machine=' '
LD_SWITCH_X_SITE='-L/usr/local/X11R6/lib'
LD_SWITCH_X_SITE_AUX='-R/usr/local/X11R6/lib'
C_SWITCH_X_SITE='-I/usr/local/X11R6/include'
CFLAGS='-g -O '
X_TOOLKIT_TYPE='LUCID'
machfile='m/sparc.h'
opsysfile='s/sunos4-1-3.h'
LIBS='-L/usr/local/X11R6/lib -lX11    -lm'
top_srcdir=''
ac_prsub='s%^prefix\([ 	]*\)=\([ 	]*\).*$%prefix\1=\2/usr/local%
s%^exec_prefix\([ 	]*\)=\([ 	]*\).*$%exec_prefix\1=\2${prefix}%'
ac_vpsub=''
extrasub=''

---------------------------------------------------------------------
Phil Cummins                           /\_|\    phil@rses.anu.edu.au
Research School of Earth Sciences     /     \   fax: +61 6-257-2737
Australian National University        \_,-.*/   tel: +61 6-249-4557
GPO Box 4, Canberra ACT 0200, Australia    v
Technical Details
Message-ID: <9408140355.AA25251@kirnos.anu.edu.au>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!eff!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!rsesa1.anu.edu.au!phil

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,3618eff8760e54d0,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-13 23:26:22 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!eff!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!rsesa1.anu.edu.au!phil
From: phil@rsesa1.anu.edu.au
Newsgroups: gnu.emacs.bug
Subject: compilation problem in emacs-19.25 ?
Date: 14 Aug 1994 02:11:12 -0400
Organization: GNUs Not Usenet
Lines: 112
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9408140355.AA25251@kirnos.anu.edu.au>