Date: Wed, 24 Sep 1997 12:25:52 +0300 (IDT) From: Eli Zaretskii To: Geoff Weber cc: jackgibs AT sprynet DOT com, djgpp AT delorie DOT com Subject: RE: "Why 'undefined reference' in link?" In-Reply-To: <199709231825.NAA23245@labrats.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 23 Sep 1997, Geoff Weber wrote: > I realize it has been quite a while since you posted your note to the > DJGPP mail-archive about problems you were having linking "hex.cc". > However, I have run into the same exact problem you seem to have > had, and was wondering if you ever found out how to get around this > problem... more details follow. Sorry, not enough details. You should at least post the exact command line that you pass to gcc (in case you invoke the compiler from the DOS prompt), tell us whether you use RHIDE, add -v to the compiler switches and post everything it prints during compilation. The two most probable causes of your problems are (1) you didn't use gcc/gxx correctly; and (2) your DJGPP environemnt variable is not set correctly. The FAQ explains how to deal with those problems, but if it doesn't help you, post the info here and ask people to tell what's wrong.