|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Printf symbol undefined? Help
I can't get the code to compile uless i comment out all the printf statements. Can someone tell me how to fix this?
MPLINK 3.40, Linker Copyright (c) 2003 Microchip Technology Inc. Error - could not find definition of symbol 'printf' in file 'D:\Codes\Versions\1.0.4 (In Progress)\user_routines.o'. Errors : 1 |
|
#2
|
|||||
|
|||||
|
Re: Printf symbol undefined? Help
you probably have not included "stdio.h"
Code:
#include <stdio.h> |
|
#3
|
|||
|
|||
|
Re: Printf symbol undefined? Help
I do have that included, however, idon't have the file itself.
|
|
#4
|
||||
|
||||
|
Re: Printf symbol undefined? Help
I suggest you reinstall the compiler then, as these are standard libraries included with the compiler.
We ran into a problem with a module we were writing that was similar. Make sure that file is included in every file you plan to use printf. It was late last night... |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| printf problem | miketwalker | Programming | 7 | 31-01-2005 13:19 |
| Undefined varibles in IFI_Utilities.c | Bremma | Programming | 6 | 28-01-2005 19:47 |
| Default Code and printf | WilsonDJ00 | Programming | 2 | 22-01-2005 16:39 |
| Anyone with a replacement Printf? | Larry Barello | Programming | 5 | 19-03-2004 02:20 |
| Printf warning during compile? | actorindp | Programming | 4 | 20-02-2004 17:02 |