gcc错误?无法理解kern.osversion`14.3.0'

时间:2015-05-05 08:34:24

标签: gcc d

我意识到Stack溢出时有类似的问题有类似的标题。然而,我的不同之处在于:

(1)报告kern.osversion '14 .3.0'而不是'14 .0.0'

(2)我设法通过自制软件(版本gcc 4.0.2_1)成功安装最新的gcc版本。

这是问题所在: 我想从源代码安装一个包('largeQvalue'包,ref)。 在成功安装了编译软件包所需的gcc和gsl库之后,在输入make命令后,我得到了下面粘贴的错误。

以前的相关问题建议在更新计算机后更新gcc库,但是已经安装了最新的gcc和Xcode命令行工具。

为了可能重现以下错误,我使用了以下管道:

在安装gcc和gsl库后克隆git存储库:

git clone https://github.com/abrown25/qvalue

cd到'qvalue'文件夹

运行make

有趣的是,当我请求gdc版本gdc --version时,会弹出相同的错误:
gdc --version couldn't understand kern.osversion 14.3.0 i686-apple-darwin9-gdc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5484)

make
gdc -frelease -finline-functions -O3 -Werror -Wall -fversion=Have_largeQvalue src/largeQvalue.d src/parse_arg.d src/bootstrap.o src/libspline.a -lblas -lgsl -    lgslcblas -lm -o bin/largeQvalue
couldn't understand kern.osversion `14.3.0'
src/largeQvalue.d:29: found '..' when expecting ')'
src/largeQvalue.d:29: found ')' when expecting ';' following 'statement'
src/largeQvalue.d:35: found 'double' when expecting ';' following 'statement'
src/largeQvalue.d:35: found '!' when expecting ';' following 'statement'
src/largeQvalue.d:38: found '!' when expecting ';' following 'statement'
src/largeQvalue.d:38: semicolon expected, not '/'
src/largeQvalue.d:38: found '/' instead of statement
src/largeQvalue.d:40: found '!' when expecting ';' following 'statement'
src/largeQvalue.d:40: found '-' when expecting ')'
src/largeQvalue.d:40: semicolon expected, not 'e'
src/largeQvalue.d:40: found ')' when expecting ';' following 'statement'
src/largeQvalue.d:40: found '/' instead of statement
src/largeQvalue.d:104: found 'import' instead of statement
src/largeQvalue.d:113: found '..' when expecting ')'
src/largeQvalue.d:113: found ')' when expecting ';' following 'statement'
src/largeQvalue.d:125: expression expected, not '>'
src/largeQvalue.d:125: found 'a' when expecting ')' following 'template argument list'
src/largeQvalue.d:125: semicolon expected, not ')'
src/largeQvalue.d:125: found ')' instead of statement
src/largeQvalue.d:126: semicolon expected, not '~'
src/largeQvalue.d:126: found '~' instead of statement
src/parse_arg.d:11: semicolon expected, not 'helpString'
src/parse_arg.d:11: no identifier for declarator helpString
src/parse_arg.d:80: semicolon expected, not 'versionString'
src/parse_arg.d:80: no identifier for declarator versionString
src/parse_arg.d:84: no identifier for declarator pure
src/parse_arg.d:84: semicolon expected, not 'this'
make: *** [bin/largeQvalue] Error 1

有关如何解决此问题的任何想法?

0 个答案:

没有答案