User forums > Help

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

<< < (6/9) > >>

Jenna:

--- Quote from: LETARTARE on January 27, 2013, 10:32:00 am ---hello,
what is :

--- Code: ----LC:\WinAVR-20090313\avr\lib
--- End code ---
since this directory does not exist ?
Cordially.

--- End quote ---
This is surely a manual setting, either in project/target settings or in the compiler toolchain.
In any case it an incorrect configuration done by the user not by C::B, and it's the cause for the OP's problem.


--- Quote from: Ralphxyz on January 27, 2013, 03:32:22 am ---The WinAVR-20090313 is persistent, in fact there is lots of persistents in the Code::Blocks install if you uninstall and reinstall it still remembers your prior projects, I even went through regedit removing all references to CodeBlocks and a new install still knew about prior projects.

--- End quote ---
User settings should always be persistent through install or new install.
C::B does not store anything in the registry.
The only thing there are the file associations, but that's the windows way to do it, no way to work around. And this is of course not the cause for the issue.

Ralphxyz:

--- Quote ---what is :
Code:
-LC:\WinAVR-20090313\avr\lib
--- End quote ---

--- Quote ---In any case it an incorrect configuration done by the user not by C::B, and it's the cause for the OP's problem.
--- End quote ---

Nope, I didn't set any configurations just hit Auto detect after moving C:\WinAVR-20090313 out of the way!!

Ralph



oBFusCATed:
Then inspect your project and the compiler settings for this path and remove it.

Ralphxyz:

--- Quote ---Insert Quote
Then inspect your project and the compiler settings for this path and remove it.
--- End quote ---

Interesting I can not find any reference to C:\WinAVR-20090313\avr\lib but the -LC:\WinAVR-20090313\avr\lib
still shows up.


--- Quote ----------------- Build: Debug in StepperJoy (compiler: GNU AVR GCC Compiler)---------------

avr-g++.exe -LC:\WinAVR-20090313\avr\lib
--- End quote ---

In fact I no longer have a C:\WinAVR-20090313 folder on my system.

Also I do not see any place to set a -L flag.

In the Global compiler settings on the first tab there is a tab "Compiler Flags" but no -L option.

So this "-LC:\WinAVR-20090313\avr\lib" setting is not something I am doing but part of the default install.

As it is it doesn't hurt anything I am now able to Build my projects since I am using a newer (WinAVR-20100110) Toolchain.

Ralph

oBFusCATed:

--- Quote from: Ralphxyz on January 27, 2013, 05:58:20 pm ---In the Global compiler settings on the first tab there is a tab "Compiler Flags" but no -L option.

--- End quote ---
Have you tried the other tabs? What about the Search Directories -> Linker?

This starts to get really annoying.
Please make sure you've clicked on every button in the Global compiler settings and in Project -> Properties before posting your next post.
Also make sure you've read the user manual. If you don't understand it read it again.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version