Quote:
Originally Posted by mikets
I am expecting to see compiler errors if I made mistakes. But the compiler didn't complain and instead I got load time error of undefined symbol. Can somebody tell me what it means? Thanks.
|
The reason the compiler (it's actually the linker that would complain) is not giving you an error is that VxWorks links at load time instead of requiring a stub library for external linkage. Any symbols that are not defined when building are simply assumed to exist in the environment that you program will load in. If that does not hold true, you get errors from the loader.