Path: chuka.playstation.co.uk!news From: Kevin Newsgroups: scea.yaroze.programming.codewarrior Subject: Re: Linker errors (Please help!) Date: Fri, 10 Jul 1998 21:59:07 +0100 Organization: Reality-Bytes Coding Group Lines: 30 Message-ID: <35A6809B.EF027804@reality-bytesX.demon.co.uk> References: <01bdabb2$1916e0a0$4cb5dccf@mannynaj> NNTP-Posting-Host: reality-bytes.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.05 [en] (Win95; I) I used to get this error before I realised that not only did I have to have pad.h included, but I also needed to add the file pad.c to my project. PAD.C is the file where all the pad functions are 'defined', they are only 'declared' in PAD.H Hope this helps Kevin Remove 'X' from address to Email me. Manny Najera wrote: > I haven't used CW in a while, but when I tried to compile some C++ code, I > got this error: > > Link Error : undefined: ‘GetPadBuf(volatile unsigned char**,volatile > unsigned char**)’ Referenced from ‘main’ in main.c > > GetPadBuf is the only lib function that I use in this particular program. > I know there must be something that I left out, but I can't figure out what > it is. I created a new project, then typed a few lines of code into > main.c. What could be the problem? > > Manny Najera