From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: linking problems with djgpp C++ Date: Thu, 29 May 1997 13:05:59 -0700 Organization: Alcyone Systems Lines: 25 Message-ID: <338DE1A7.5B0D0018@alcyone.com> References: <338DB382 DOT 6ECE AT pop DOT telebyte DOT nl> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk The NiBBLeR wrote: > Compiling this, isn't any problem. > When linking it, it gives the error something like: > -name::test(int c) defined on another place, Since you're paraphrasing the linker error, this isn't of much help. Exactly what command line are you compiling and linking it with, and exactly what is the error? I tried compiling and linking your test file and, other than warnings about unused variables and main's returned type (should be int, not void), it compiled and linked fine. > btw. when replying, please send it also to my email address.... [Posted and emailed.] -- Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com Alcyone Systems / web / http://www.alcyone.com/max/ San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W \ "Covenants without the sword / are but words." / Camden