1
对于10.9,在Go中编译C程序包似乎中断了。当试图建立一个包,10.8跑,氏族输出在OSX上编译C程序包10.9
clang: error: argument unused during compilation: '-fno-eliminate-unused-debug-types'
当我尝试解决这个问题了加入以下
#cgo CFLAGS: -Qunused-arguments
围棋与
could not determine kind of name for C.<ctype>
为进口响应类型。任何提示如何解决这个问题?
您是否使用'pkg-config'编译指示?当尝试输出'pkg-config --cflags --libs Foo'时。 – mattn
是的,我使用'pkg-config'。 –
我不认为你是第一个遇到这个问题的人。看看https://groups.google.com/forum/#!topic/golang-dev/H3FCUAlc6BU – Intermernet