bladox.com Forum Index bladox.com
Turbo SIM Toolkit Adapter Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compilation error: undefined symbol

 
Post new topic   Reply to topic    bladox.com Forum Index -> Development
View previous topic :: View next topic  
Author Message
mateus



Joined: 06 Aug 2010
Posts: 4

PostPosted: Fri Aug 06, 2010 11:49 pm    Post subject: Compilation error: undefined symbol Reply with quote

I tryed to include some new stuffs in my hello world example and got the following errors:

Undefined symbol putchar
Undefined symbol __udivmodhi4
Undefined symbol rand
Undefined symbol __divmodhi4
Undefined symbol srand

That error comes after avr-objdump (avr-gcc and avr-ld show no error).
I used a static library.
Looks like missing something.

I already compiled that stuff in another "avr environment" (the micaz sensor). Porting it to turbo programmer will not be easy.

Any suggestions?

Best Regards!
Mateus
Back to top
View user's profile Send private message
mateus



Joined: 06 Aug 2010
Posts: 4

PostPosted: Wed Aug 11, 2010 11:17 pm    Post subject: Re: Compilation error: undefined symbol Reply with quote

The problem can be fixed if I do not use the -l flag, i.e., avoiding the static library. Either I pass the object directly or include the c file.

Regards
Mateus
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    bladox.com Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group