General Description: MOTIF users may get the following Warnings when using Coregen (they will appear in the console window):
Warning: Cannot convert string "<Key>SunCopy" to type VirtualBinding Warning: Cannot convert string "<Key>SunCut" to type VirtualBinding Warning: Cannot convert string "<Key>SunPaste" to type VirtualBinding Warning: translation table syntax error: Unknown keysym name: osfActivate Warning: ... found while parsing ':<Key>osfActivate:ManagerParentActivate()' Warning: translation table syntax error: Unknown keysym name: osfCancel Warning: ... found while parsing ':<Key>osfCancel:ManagerParentCancel()'
Warning: translation table syntax error: Unknown keysym name: osfSelect Warning: ... found while parsing ':<Key>osfSelect:ManagerGadgetSelect()'
These warnings are caused by a missing XKeysymDB file. Only those using MOTIF who install the Coregen application without the 2.1i Implementation tools should see this problem.
解决方案
These errors may be seen if the XKeysymDB environment has not been set properly, or the XKeysymDB file is missing.
First verify that the XKeysymDB environment variable has been set properly. It should point to the location of the XKeysymDB file, usually, $XILINX/bin/<platform>:
setenv XKeysymDB /location/of/XKeysymDB
If the XKeysymDB file is actually missing in this location (this may happen if CORE Generator is installed standalone from the 2.1i CD), install the 2.1i Implementation Tools. When the Implementation Tools are installed, a copy of XKeysymDB is placed in the $XILINX/bin/<platform> directory, where "<platform>" may be either "sol" or "hp".
Then set your variable:
setenv XKeysymDB $XILINX/bin/<platform>/XKeysymDB
substituting "<platform>" with "sol" for a Solaris platform, and "hp" for an HP platform.