![]() |
Encoder causes 24 bit relocation error
We are using Windriver C++...
We are using the Encoder and we get it to compile but when we reboot we get the error... Relocation value does not fit in 24 bits. We get it twice which corrisponds to the fact that the encoder is using 2 digital channels. The program failes to load. I looked on the web and see a WindRiver post about this. http://fixunix.com/vxworks/262055-re...-overflow.html Anyone run into this? |
Re: Encoder causes 24 bit relocation error
Probably the simplest thing to do is bring up the project properties, select Build Properties and then Build Macros.
There, in the 'Build spec specific settings' section, click on CC_ARCH_SPEC to highlight it and then click the Edit button. Add '-mlongcall' to the end of whatever is there. Finish properly by clicking the Apply button. Please post a result here -- whether it works or not. |
Re: Encoder causes 24 bit relocation error
Sorry it took so long to answer. We have been having problems loading code. I finally got it all working on my Vista machine at home. A student had his working but that is where we saw the 24-bit error. Based upon the fact that mine was working he reloaded all the code on his. Bingo it worked. We also loaded another student's system and it too worked. So it looks like it was a load and update issue.
Thanks |
Re: Encoder causes 24 bit relocation error
Quote:
|
| All times are GMT -5. The time now is 12:14. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi