User forums > Help
undefined reference to '__mulhi3' In function 'vfprintf': and 'calloc'
LETARTARE:
In looking at the default.conf I see an big error :
--- Code: ---<LIBRARY_DIRS>
<str>
<![CDATA[C:\WinAVR-20090313\avr\lib;]]>
</str>
</LIBRARY_DIRS>
--- End code ---
also in "C::B" go
--- Quote ---"Settings-> Global Variables -> Current variable"
--- End quote ---
choose "avr" then delete the contents of the box "lib", then exit and restart "C: B".
The wrong path should no longer appear in your "default.conf."
cordially.
Jenna:
--- Quote from: LETARTARE on January 28, 2013, 06:47:20 pm ---In looking at the default.conf I see an big error :
--- Code: ---<LIBRARY_DIRS>
<str>
<![CDATA[C:\WinAVR-20090313\avr\lib;]]>
</str>
</LIBRARY_DIRS>
--- End code ---
also in "C::B" go
--- Quote ---"Settings-> Global Variables -> Current variable"
--- End quote ---
choose "avr" then delete the contents of the box "lib", then exit and restart "C: B".
The wrong path should no longer appear in your "default.conf."
cordially.
--- End quote ---
It's a linker search path of the avr compiler and not a global variable !
LETARTARE:
I think it's time for me to go to sleep !!!!
'Jens' in quite right.
In C::B go
--- Quote ---Settings-> Compiler-> Compiler GNU AVR GCC-> Search directories-> Linker
--- End quote ---
this time you should find the old path
--- Quote ---C:\WinAVR-20090313\avr\lib
--- End quote ---
to remove.
Sorry for the hasty response.
Ralphxyz:
Oh didn't I mention that not only am I new to Code::Blocks but that I hardly know what I am doing.
I just use programs I try to know as little as possible about anything.
I just do the install and then expect to use it.
The reason I have the .c,.h,and .o files in the "Linker settings" is because otherwise they are not found from my #includes.
So this works, now tell the correct way to "include" files.
--- Quote ---In C::B go
Quote
Settings-> Compiler-> Compiler GNU AVR GCC-> Search directories-> Linker
this time you should find the old path
Quote
C:\WinAVR-20090313\avr\lib
to remove.
--- End quote ---
Nope
--- Quote ---Yes every tab has been inspected!
This can not be true !
--- End quote ---
But it is true true I have looked at every tab, and yes it is true that I probable could know more about things
but do I really need to just to run a default install of Code::Blocks?
I am willing to bet that something about Windows 8 x64 is helping to mess things up.
But again thank you everybody for the help.
Ralph
stahta01:
The tab Compiler IS NOT that same tab as Linker.
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version