linux在make时报错 /usr/bin/ld: TrayWindow.o: undefined reference to symbol ....
错误信息如下/usr/bin/ld:TrayWindow.o:undefinedreferencetosymbol'XShapeCombineMask'/usr/bin/...
错误信息如下
/usr/bin/ld: TrayWindow.o: undefined reference to symbol 'XShapeCombineMask'
/usr/bin/ld: note: 'XShapeCombineMask' is defined in DSO /usr/lib//libXext.so.6 so try adding it to the linker command line
/usr/lib//libXext.so.6: could not read symbols: Invalid operation
搜了一下有说是路径问题,但不知道具体怎么加到linker command line里 展开
/usr/bin/ld: TrayWindow.o: undefined reference to symbol 'XShapeCombineMask'
/usr/bin/ld: note: 'XShapeCombineMask' is defined in DSO /usr/lib//libXext.so.6 so try adding it to the linker command line
/usr/lib//libXext.so.6: could not read symbols: Invalid operation
搜了一下有说是路径问题,但不知道具体怎么加到linker command line里 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询