Jump to content

Linker Problem


Recommended Posts

I've downloaded the newest ver 6.30 of your SouceBoost, i tried to build my program. Compiling was ok, but the linker threw an error: no remainig RAM block big enough for: and a lot of variable names. Same code was translated, before that, with ver 6.25 successfully.

Link to post
Share on other sites

Havier,

 

The build output I see its this (no problems):

 

Building...

BoostC Optimizing C Compiler Version 6.30 (for PIC16 architecture)

http://www.picant.com/c2c/c.html

Copyright© 2004-2006 Pavel Baranov

Copyright© 2004-2006 David Hobday

 

Licensed to David Hobday under Single user Lite License (Unregistered) for 2 node(s)

Limitations: PIC12,PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only

 

 

LAN2.c

C:\C2C_work\RegressTest\dhTest\Havier\LAN2\ISABUS8.H(121:12): warning: local variable 'b' may be used uninitialized

C:\C2C_work\RegressTest\dhTest\Havier\LAN2\ISABUS8.H(123:12): warning: local variable 'b' may be used uninitialized

C:\C2C_work\RegressTest\dhTest\Havier\LAN2\ISABUS8.H(139:12): warning: local variable 'b' may be used uninitialized

C:\C2C_work\RegressTest\dhTest\Havier\LAN2\ISABUS8.H(140:12): warning: local variable 'b' may be used uninitialized

C:\C2C_work\RegressTest\dhTest\Havier\LAN2\ISABUS8.H(142:12): warning: local variable 'b' may be used uninitialized

C:\C2C_work\RegressTest\dhTest\Havier\LAN2\ISABUS8.H(143:12): warning: local variable 'b' may be used uninitialized

 

success

BoostLink Optimizing Linker Version 6.30

http://www.picant.com/c2c/c.html

Copyright© 2004-2006 Pavel Baranov

Copyright© 2004-2006 David Hobday

 

 

Warning unreferenced functions removed:

hexdig in: C:\C2C_work\RegressTest\dhTest\Havier\LAN2\LCD8.H

drd in: C:\C2C_work\RegressTest\dhTest\Havier\LAN2\LCD8.H

dwrhex in: C:\C2C_work\RegressTest\dhTest\Havier\LAN2\LCD8.H

 

Building CASM file

 

Memory Usage Report

===================

RAM available:192 bytes, used:96 bytes (50.0%), free:96 bytes (50.0%),

Heap size:0 bytes, Heap max single alloc:0 bytes

ROM available:4096 words, used:1487 words (36.4%), free:2609 words (63.6%)

 

 

Successful

Done

 

So I can't see anything wrong.

 

Regards

Dave

Link to post
Share on other sites

Havier,

 

Yes, it seems to me that you did not read my comment in the file ISABUS8.H. Increase the value of 'PktMax' in that file, for ex. to 60, and try to compile. You should get the error message.

Sorry for that, now I read your comments and see the problem.

 

Regards

Dave

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...