Use ld command load. Out times wrong, there is something wrong with the prompt if_indextoname, mrouteadd doesn "reference to undefined symbol"
Both are the system function, check the corresponding. O files are, path and header files to add normal,
Why can some other system function normal execution, not only this two garage, is to include any form?
CodePudding user response:
The solution:1. Modify the compiling rules;
2. Add engineering include paths, add file reference path in a tornado or workbench,
So should can solve,,
CodePudding user response:
Under the shell with lkup command to see if_indextoname, mrouteadd if there is, there should be noLkup usage:
Lkup [" string "]] - to look for in the system the symbol table lists contain "string" function of the characters and global variable
Should be loaded first contain if_indextoname mrouteadd sign out, then load the reference out of the two symbols