Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

linker error in CCSV4 with math.h

$
0
0

I am using CCSV4 to compile a C/C++ project for the MSP430G2231, and I have a need for math functions from the math.h library. I have simply included the math.h file in order to use the library, however when I compile the line    result = std:exp(x);         I get a receive a linker error:

"../lnk_msp430g2231.cmd", line 60: error: placement fails for object ".text",size 0x964 (page 0). Available ranges:FLASH size: 0x7e0 unused: 0x7d8 max hole: 0x7d8 error: errors encountered during linking; "BikeLight_Ex1.out" not built

The above will happen regardless of the math.h function I try to use. It appears to be a memory or segment problem, but I have no clue why these functions would cause such an error.

Any experience with this would be most helpful. Thanks!


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>