From: "DeHackEd" Newsgroups: comp.os.msdos.djgpp References: <78uq84$h9s$1 AT bolka DOT matav DOT net> Subject: Re: Problem with headers (again) Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.0810.800 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 Message-ID: <9vEs2.988$Rc1.163@cabot.ops.attcanada.net> Date: Sat, 30 Jan 1999 09:15:29 -0500 NNTP-Posting-Host: 142.194.222.137 X-Trace: cabot.ops.attcanada.net 917705797 142.194.222.137 (Sat, 30 Jan 1999 14:16:37 GMT) NNTP-Posting-Date: Sat, 30 Jan 1999 14:16:37 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm just going on a longshot but... One question: when you declare variables in your header file, which example do you use? extern char *something; char *something; If it's the first example, then I can't think of what's wrong... If you use the second example, then each .c file is declaring the same thing over and over again (multiple definitions). If all else fails, compile with -g and the linker will give you human readable line numbers for your errors. If you line doesn't even have a reference to that file, then try checking header files under the same line number. I think this is a COFF limitation... -- "DeHackEd" My Email address in the header is fake (spammers). Email me at this address: http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked