home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / aixl / 2086 next >
Encoding:
Text File  |  1993-01-21  |  1.6 KB  |  47 lines

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