home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!auvm!DLRVM.BITNET!RZ13
- Message-ID: <AIX-L%93012103273952@PUCC.PRINCETON.EDU>
- Newsgroups: bit.listserv.aix-l
- Date: Thu, 21 Jan 1993 09:18:03 MEZ
- Sender: IBM AIX Discussion List <AIX-L@PUCC.BITNET>
- From: Klaus Kretschel <RZ13@DLRVM.BITNET>
- Subject: Re: Imake
- In-Reply-To: Message of Wed,
- 20 Jan 1993 17:48:19 CST from <hong@TWAIN.NOTIS.COM>
- Lines: 34
-
- On Wed, 20 Jan 1993 17:48:19 CST Mingde Hong said:
- >
- >Hi, fellows:
- >
- >I am compiling an application on AIX 3.2 using imake and
- >I got the following messages
- >
- >"/usr/lpp/X11/Xamples/config/Imake.tmpl", line 5.2:
- >Unknown preprocessing directive ##.
- >
- >These messages were caused by the following lines in Imake.tmpl file
- >
- >/**/#################################################
- >/**/# Makefile generated from IMAKE_TEMPLATE and INCLUDE_IMAKEFILE
- >/**/# $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $
- >...
- >
- >How can I fix this problem?
- >1) Should I comment out the above lines, or is there a better way?
-
- You cannot comment out these lines, because they are comments. My template
- files look the same, and everything works fine.
-
- >2) If I do not need to change Imake.tmpl, Project.tmpl, ..., what did I
- > do wrong?
-
- What did you really do?
-
- The right way is to use xmkmf, make Makefile or imake with some arguments
- to create a Makefile, and this Makefile does no longer contain the /**/.
- Thus the # are ordinary comments to cpp, when you afterwards invoke make all,
- or make install, or whatever.
-
- Klaus Kretschel
-