主要是由于使用全局变量造成的, 如果要使用全局数组,如 int a[ ] = {1,2,3 };请在前面加上const , 如下const static int a[ ] = {1,2,3 }; 请勿使用全局指针.This linker error can occur when trying to build "Position Independent" code. Consider
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号