home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gcc / help / 2809 < prev    next >
Encoding:
Text File  |  1992-12-23  |  4.5 KB  |  119 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!jimlynch
  3. From: jimlynch@netcom.com (Jim Lynch)
  4. Subject: libg++-2.3
  5. Message-ID: <1992Dec23.211947.19450@netcom.com>
  6. Organization: Netcom Online Communications Services (408-241-9760 login: guest)
  7. Date: Wed, 23 Dec 1992 21:19:47 GMT
  8. Lines: 109
  9.  
  10. Hello, more problems... I did the 'make fixincludes' and now I'm getting more
  11. problems... Question: If I set the _prefix_, does the lib make assume that my
  12. entire installation is in the prefix directory? If so, is there a way to tell
  13. the make (presumably thru 'configure') only the fixed includes are in my dir
  14. and the rest can be found in the default place (/usr/local/...)?
  15.  
  16. Here's what I'm getting when I try to make the c++ libs:
  17.  
  18. Problem I:
  19. dummy.c: 4: Can't find include file stdarg.h
  20.  
  21. Problem II:
  22. gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c String.cc
  23. In file included from String.cc:28:
  24. /u31/jimlynch/lib/gcc-lib/sparc-sun-sunos4.1.3/2.3.2/include/limits.h:11: syslim
  25. its.h: No such file or directory
  26. *** Error code 1
  27. make: Fatal error: Command failed for target `String.o'
  28. Current working directory /u31/jimlynch/libg++-2.3/libg++/src
  29. *** Error code 1
  30. make: Fatal error: Command failed for target `in-src'
  31. Current working directory /u31/jimlynch/libg++-2.3/libg++
  32. *** Error code 1
  33. make: Fatal error: Command failed for target `all-libg++'
  34.  
  35.  
  36.  
  37. HELP! BLAH!
  38.  
  39. A full transcript follows, including configuration.
  40.  
  41. ----
  42.  
  43. {Netcom:24} configure sparc-sun-sunos411 -prefix=$HOME
  44. Created "Makefile" in /u31/jimlynch/libg++-2.3 using "config/mh-sun"
  45. {Netcom:26} make
  46. echo "# !Automatically generated from ./functions.def"\
  47.   "- DO NOT EDIT!" >needed2.awk
  48. grep '^DEFVAR(' < ./functions.def \
  49.  | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef NEED_\1\\n#define
  50.  NEED_\1\\n#endif\\n" }|' \
  51.  >>needed2.awk
  52. grep '^DEFFUNC(' < ./functions.def \
  53.  | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef NEED_\1\\n#defi
  54. ne NEED_\1\\n#endif\\n" }|' \
  55.  >>needed2.awk
  56. cc -c -g -I. -I./../include   ./dummy.c
  57. (cc -o dummy  dummy.o  ) >errors 2>&1 || true
  58. echo "/* !Automatically generated from ./functions.def"\
  59.   "- DO NOT EDIT! */" >lconfig.h
  60. awk -f needed2.awk <errors >>lconfig.h
  61. cp lconfig.h config.h
  62. cc -c -g -I. -I./../include   argv.c
  63. cc -c -g -I. -I./../include   basename.c
  64. cc -c -g -I. -I./../include   concat.c
  65. cc -c -g -I. -I./../include   cplus-dem.c
  66. cc -c -g -I. -I./../include   fdmatch.c
  67. cc -c -g -I. -I./../include   getopt.c
  68. cc -c -g -I. -I./../include   getopt1.c
  69. cc -c -g -I. -I./../include   obstack.c
  70. cc -c -g -I. -I./../include   spaces.c
  71. cc -c -g -I. -I./../include   strerror.c
  72. cc -c -g -I. -I./../include   strsignal.c
  73. echo "# !Automatically generated from ./functions.def"\
  74.   "- DO NOT EDIT!" >needed.awk
  75. grep '^DEF(' < ./functions.def \
  76.     | sed -e '/DEF/s|DEF.\([^,]*\).*|/\1/ { printf "\1.o " }|' \
  77.     >>needed.awk
  78. awk -f needed.awk <errors >lneeded-list
  79. echo  >>lneeded-list
  80. cp lneeded-list needed-list
  81. cc -c -g -I. -I./../include   memmove.c
  82. cc -c -g -I. -I./../include   strtoul.c
  83. cc -c -g -I. -I./../include   alloca.c
  84. rm -rf libiberty.a
  85. ar qc libiberty.a \
  86.   argv.o basename.o concat.o cplus-dem.o fdmatch.o  getopt.o getopt1.o obstack.o
  87.  spaces.o strerror.o strsignal.o memmove.o strtoul.o alloca.o
  88. ranlib libiberty.a
  89. rootme=`pwd`/ ; export rootme; \
  90. CC="cc "; export CC; \
  91. CXX="gcc  -nostdinc++"; export CXX; \
  92. CONFIG_NM="nm"; export CONFIG_NM; \
  93. ./utils/gen-params LIB_VERSION=2.3  >tmp-params.h
  94. dummy.c: 4: Can't find include file stdarg.h
  95. mv tmp-params.h _G_config.h
  96. gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c AllocRing.
  97. cc
  98. gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c Obstack.cc
  99. gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c builtin.cc
  100. gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c regex.cc
  101. gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c Regex.cc
  102. gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c String.cc
  103. In file included from String.cc:28:
  104. /u31/jimlynch/lib/gcc-lib/sparc-sun-sunos4.1.3/2.3.2/include/limits.h:11: syslim
  105. its.h: No such file or directory
  106. *** Error code 1
  107. make: Fatal error: Command failed for target `String.o'
  108. Current working directory /u31/jimlynch/libg++-2.3/libg++/src
  109. *** Error code 1
  110. make: Fatal error: Command failed for target `in-src'
  111. Current working directory /u31/jimlynch/libg++-2.3/libg++
  112. *** Error code 1
  113. make: Fatal error: Command failed for target `all-libg++'
  114. .
  115. ---
  116.  
  117. Any and all help appreciated.
  118.  
  119.