From: Martin Str|mberg Subject: Re: Compilation Newsgroups: comp.os.msdos.djgpp References: <20020824192417 DOT 22551 DOT qmail AT web11401 DOT mail DOT yahoo DOT com> User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha)) Message-ID: <1030288177.306987@queeg.ludd.luth.se> Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: 25 Aug 2002 15:09:37 GMT Lines: 29 NNTP-Posting-Date: 25 Aug 2002 15:09:37 GMT NNTP-Posting-Host: queeg.ludd.luth.se X-Trace: 1030288177 news.luth.se 442 130.240.16.109 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Michael Rodgers wrote: : I have a new problem with RHIDE or djgpp (most likely : djgpp). When I try to compile any program, I get a : lot of errors, and they all are mostly the same thing. : It gives me a ton of "undefined fuction" errors. : Every single error indicates that a function is not : defined. The problem is, the function is defined, but : it is looking for the same function with one more : underscore at the beginning than it has. It will say : something like _set_color() is not defined, but then : it will jump to the line where the error is and it : indicates set_color! On about half of the errors, C function my_foot() will become assembly function with the name _my_foot and this is the name the linker sees too. So in your case set_color() is undefined (if we suppose it's a C function, which is likely). : after it says "error" and the filename, it says : "(.text+" and then a hexadecimal number. Please tell : me what to do to configure the compiler to not do : this. You need to make sure to have the functions you use linked in. Right, MartinS