fix linux  error: ‘xx’  undeclared