Go to Post Really, flight? That is going to feed the rumor mill... - Munchskull [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-08-2005, 03:40 PM
schenkin schenkin is offline
Registered User
#0486
 
Join Date: Jan 2005
Location: Strath Haven High School
Posts: 17
schenkin is on a distinguished road
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   Spotlight this post!  
Unread 02-08-2005, 03:55 PM
AIBob's Avatar
AIBob AIBob is offline
AI Programmer
AKA: Bob Frank DOT org
FRC #0358 (Hauppauge Robotic Eagles)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Long Island, NY (in Binghamton now)
Posts: 297
AIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to beholdAIBob is a splendid one to behold
Send a message via ICQ to AIBob Send a message via AIM to AIBob Send a message via MSN to AIBob Send a message via Yahoo to AIBob
Re: Printf symbol undefined? Help

you probably have not included "stdio.h"

Code:
 #include <stdio.h>
__________________
- from B B frank

  #3   Spotlight this post!  
Unread 02-08-2005, 04:10 PM
schenkin schenkin is offline
Registered User
#0486
 
Join Date: Jan 2005
Location: Strath Haven High School
Posts: 17
schenkin is on a distinguished road
Re: Printf symbol undefined? Help

I do have that included, however, idon't have the file itself.
  #4   Spotlight this post!  
Unread 02-08-2005, 04:14 PM
Ssbfalcon's Avatar
Ssbfalcon Ssbfalcon is offline
The beta version
AKA: Arthur
FRC #1546 (Chaos Inc.)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Baldwin, New York
Posts: 8
Ssbfalcon is an unknown quantity at this point
Send a message via AIM to Ssbfalcon
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...
__________________
Don't Lick Dry Ice!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
printf problem miketwalker Programming 7 01-31-2005 01:19 PM
Undefined varibles in IFI_Utilities.c Bremma Programming 6 01-28-2005 07:47 PM
Default Code and printf WilsonDJ00 Programming 2 01-22-2005 04:39 PM
Anyone with a replacement Printf? Larry Barello Programming 5 03-19-2004 02:20 AM
Printf warning during compile? actorindp Programming 4 02-20-2004 05:02 PM


All times are GMT -5. The time now is 10:53 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi