Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What does the gcc error DISP16 mean?

Error gcc mean
0
Posted

What does the gcc error DISP16 mean?

0

This is a linker error. It means that you have called a function that does not exist, or your code segment is too large. Check your code for typos first (especially the API calls, since they tend to be long.) From Derek Kwan: Most of the time when you have this error, you better check the CaSe? of your functions. For example if you call strstr as in regular C function you will have this error. You have to use StrStr? as in palmpilot developer manual. For me everytime when I have a typo in the function which doesn’t exist or the CaSe? of the function doesn’t match, I will have this error. Of course YMMV. 🙂 From Ian Goldberg: The DISP16 error means that a (16-bit displacement) branch could not be constructed, for one of two reasons: 1) Branches cannot span more than 32K, so if you have more than that much code, a refence to a symbol at the end of your code by something at the beginning will give this error. If you get a DISP16 for “bhook_start” or something similar, this is the problem.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123