Path: chuka.playstation.co.uk!news From: "Rikki Prince" Newsgroups: scee.yaroze.programming.gnu_compiler Subject: undefined reference to Date: Wed, 23 Feb 2000 01:11:45 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 13 Message-ID: <890bpa$6g2@chuka.playstation.co.uk> NNTP-Posting-Host: th-gt141-024.pool.dircon.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Can anyone tell me why I keep getting a n 'undefined reference to...' error when I try to compile my main.c file with three of my own archive/library files? I've checked that the function is in the archive with nm.exe, and I can't understand why I can't use the function in my main.c file. If you think it would be worth posting the files here, I can, but I think it would be quicker for someone just to tell me what's most likely to be causing the error (unless of course it's a *really* general error that you get for everything). Cheers, Rikki