home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / att / 2759 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.sys.att
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!gagme!gagme!greg
  3. From: greg@serveme.chi.il.us (Gregory Gulik)
  4. Subject: Re: GCC 2.3.2 compile problem on 3B2/400
  5. Message-ID: <1992Dec28.214904.107@serveme.chi.il.us>
  6. Organization: Gagme Public Access Unix, Chicago, Illinois
  7. References: <1992Dec28.040206.24732@dartvax.dartmouth.edu>
  8. Date: Mon, 28 Dec 1992 21:49:04 GMT
  9. Lines: 24
  10.  
  11. In article <1992Dec28.040206.24732@dartvax.dartmouth.edu> pete@othello.dartmouth.edu (Pete Schmitt) writes:
  12. >After making the target as stated in the FAQ, I get the following error:
  13. >
  14. >       cc  -DIN_GCC   -g   -o cccp cccp.o cexp.o version.o obstack.o ` case "cc
  15. >" in "cc") echo alloca.o ;; esac `
  16. >undefined                       first referenced
  17. > symbol                             in file
  18. >index                               cccp.o
  19. >rindex                              cccp.o
  20. >
  21. >How can I fix this?
  22.  
  23. I doubt this is the optimal fix, but I went through the source
  24. and changed all references to index()/rindex() to strchr()/strrchr()
  25.  
  26. Once I did that, the build worked fine.
  27.  
  28. -greg
  29.  
  30. -- 
  31. Gregory A. Gulik                                 Call Gagme, a public access
  32.        greg@serveme.chi.il.us                    UNIX system at 312-282-8606
  33.    ||  gulik@rtsg.mot.com                        For information, drop a note
  34.                                                  to info@gagme.chi.il.us
  35.