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