User forums > Help

undefined reference to '__mulhi3' In function 'vfprintf': and 'calloc'

<< < (7/9) > >>

Ralphxyz:
Yes every tab has been inspected!

All I am trying to do is use a default install of Code::Blocks, hard to believe I am the only one to see this stuff.

Thanks for all of the help it is really appreciated.

Ralph

Jenna:
Please attach you project filke and the default.conf from $APPDATA$\codeblocks\ , so they can be inspected to find the reason for you issue.

Ralphxyz:
The default.conf is in the project folder.

Ralph

Ralphxyz:
In looking at the default.conf I see:



Should I change that to the newer Toolchain C:\WinAVR-20100110?

Where is the -L flag set?

Ralph

Jenna:

--- Quote from: Ralphxyz on January 27, 2013, 06:18:45 pm ---Yes every tab has been inspected!

--- End quote ---
This can not be true !
Or you have absolutely no clue of what libraries are and what a linker/compiler searchpath can be.
In this case you should read a good book/tutorial, that explains the basics of compiler/linker usage (this is not the correct website/forum for such basic stuff, sorry) and read the C::B manual.


--- Quote from: Ralphxyz on January 27, 2013, 06:18:45 pm ---All I am trying to do is use a default install of Code::Blocks, hard to believe I am the only one to see this stuff.

--- End quote ---
It can not be the default install, because there are several settings in the global options of the avrgcc toolchain, which are obviously wrong.

Note: neither headers (*.h), nor sources (*.c in your case) nor object files (*.o in this case) are libraries and the global linker searchdir points to the wrong compiler installation.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version