Link Error: Could not allocate data memory

Create new topics, add your comment, remark, bugs...
Post Reply
coolj
Posts: 16
Joined: Mon Nov 29, 2010 7:31 pm

Link Error: Could not allocate data memory

Post by coolj » Wed Jan 12, 2011 1:02 am

xxxxxx.o: Link Error: Could not allocate section .nbss, size = 64 bytes, attributes = bss near
Link Error: Could not allocate data memory

Link step failed.

If you're trying to compile source files in MPLAB (for debugging purposes) that compile fine in Matlab, but run into the error above, try enabling "Large data model" under Build Options -> Project -> MPLAB C30 -> Memory Model

Hope that helps!

Justin
large_data_model.gif
large_data_model.gif (26.04 KiB) Viewed 6391 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest