Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Brian E.W. Wood" <beww@intac.com>
To: axp-list@redhat.com
Subject: Imakefile problems
Date: Mon, 10 Aug 1998 17:13:48 -0400 (EDT)	[thread overview]
Message-ID: <XFMail.980810171348.beww@intac.com> (raw)


I'm trying to compile a program (siag) which uses an Imakefile. On my first
attempt I got to run xmkmf I got:

imake -DUseInstalled -I/usr/X11R6/lib/X11/config
imake: No such file or directory
imake: Cannot exec /lib/cpp.
  Stop.
imake: Exit code 1.
  Stop.  

So I created a link in /lib linking cpp to /usr/local/bin/g++, this yielded
many errors, some representative ones are:

/usr/X11R6/lib/X11/config/Imake.tmpl:1384: warning: ANSI C++ forbids
declaration `esac' with no type or storage class
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: redefinition of `int esac'
/usr/X11R6/lib/X11/config/Imake.tmpl:1383: `int esac' previously declared here
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: warning: ANSI C++ forbids
declaration `done' with no type or storage class
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: redefinition of `int done'
/usr/X11R6/lib/X11/config/Imake.tmpl:1383: `int done' previously declared here
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: stray '\' in program
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: parse error before `@'
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: stray '\' in program
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: stray '\' in program
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: stray '\' in program
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: stray '\' in program      

The errors all referred to the Imake.tmpl file lines 1380 through 1384. These
line look like:

#ifdef IHaveSubdirs
XCOMM ----------------------------------------------------------------------
XCOMM rules for building in SUBDIRS - do not edit

InstallSubdirs($(SUBDIRS))
InstallManSubdirs($(SUBDIRS))
InstallLinkKitSubdirs($(SUBDIRS))
CleanSubdirs($(SUBDIRS))
TagSubdirs($(SUBDIRS))
MakefileSubdirs($(SUBDIRS))
IncludesSubdirs($(SUBDIRS))

#endif

This makes no sense to me, although I admit I know just about nothing about
Imakefiles.

System is RH 5.0, 164SX, EGCS-1.0.3a

Any suggestions appreciated.

BTW - this attempted compile is part of my on-going search for a workable Word
Processor for Linux/Alpha, any suggestions about that would be appreciated as
well.

Thanks as always.

Brian E.W. Wood - beww@intac.com


             reply	other threads:[~1998-08-10 22:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-10 21:13 Brian E.W. Wood [this message]
1998-08-11  6:09 ` Imakefile problems Jochen Kuepper
1998-08-11 14:18   ` Brian E.W. Wood
1998-08-11 14:23     ` Geert Uytterhoeven
1998-08-11 14:40     ` Jochen Kuepper
read-only archive

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