User forums > Help
undefined reference to '__mulhi3' In function 'vfprintf': and 'calloc'
Ralphxyz:
:( I really do not know where even to begin.
I am a new user of Code:Blocks.
So far I have had a time getting my #includes "..." to work, but I have them working now.
But what about these errors:
This is using the C:\WinAVR-20090313 compiler.
Using the Atmel Toolchain I am able to build and compile my code without problems but that is using a different version of the AVR-GCC compiler.
How would I point Code:Blocks to the newer AVR-GCC compiler? Actually I cannot find the Atmel AVR Toolchain there is this notation in my Path C:\Program Files (x86)\Atmel\AVR Tools\AVR Toolchain\bin but that does not work for the Compiler's installation directory in Code:Blocks so I have to fix these undefined references problem.
Thanks for the help,
Ralph
oBFusCATed:
Have you tried setting up a compiler in Settings -> Compiler?
stahta01:
--- Quote from: oBFusCATed on January 25, 2013, 10:10:17 am ---Have you tried setting up a compiler in Settings -> Compiler?
--- End quote ---
The related FAQ http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps
Tim S.
Ralphxyz:
--- Quote ---Have you tried setting up a compiler in Settings -> Compiler?
--- End quote ---
Short answer "yes" now what?
I think that answers both of my replies, thank you.
The default installed AVR-GCC compiler gets these "undefined reference" errors pointing to the compiler libraries
nothing that I have control over.
Ralph
stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
You need to figure out what is missing.
Once, you do that it is likely someone can tell you where to add it.
If you want; the link below should help you fix it yourself.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version