错误信息:
make all-recursive
Making all in glob
source='glob.c' object='glob.o' libtool=no \
depfile='.deps/glob.Po' tmpdepfile='.deps/glob.TPo' \
depmode=none /bin/bash ../config/depcomp \
CC -DHAVE_CONFIG_H -I. -I. -I.. -g -c `test -f 'glob.c' || echo './'`glob.c
"glob.c", line 194: Error: p is not defined.
"glob.c", line 200: Warning: The variable p has not yet been assigned a value.
"glob.c", line 202: Warning: The variable n has not yet been assigned a value.
"/usr/include/alloca.h", line 14: Error: Linkage specifications are allowed only
at file level.
"/usr/include/alloca.h", line 14: Error: Identifier expected instead of "{".
"/usr/include/alloca.h", line 14: Error: Use ";" to terminate declarations.
"./fnmatch.h", line 23: Error: Linkage specifications are allowed only at file l
evel.
"./fnmatch.h", line 23: Error: Identifier expected instead of "{".
"./fnmatch.h", line 23: Error: Use ";" to terminate declarations.
"./glob.h", line 22: Error: Linkage specifications are allowed only at file leve
l.
"./glob.h", line 22: Error: Identifier expected instead of "{".
"./glob.h", line 22: Error: Use ";" to terminate declarations.
"glob.c", line 298: Error: glob_t is not defined.
"glob.c", line 316: Error: begin is not defined.
"glob.c", line 320: Error: begin is not defined.
"glob.c", line 351: Error: Cannot return const char* from a function that should
return char*.
"glob.c", line 362: Error: Badly formed expression.
"glob.c", line 367: Error: glob_t is not defined.
"glob.c", line 367: Error: pglob is not defined.
"glob.c", line 375: Error: pglob is not defined.
"glob.c", line 378: Error: Cannot return int from a function that should return
char*.
"glob.c", line 381: Warning: The variable flags has not yet been assigned a valu
e.
"glob.c", line 401: Error: pglob is not defined.
"glob.c", line 402: Error: Cannot return int from a function that should return
char*.
"glob.c", line 423: Error: pglob is not defined.
"glob.c", line 437: Error: pglob is not defined.
"glob.c", line 454: Error: pglob is not defined.
"glob.c", line 455: Error: pglob is not defined.
Compilation aborted, too many Error messages.
*** Error code 1
make: Fatal error: Command failed for target `glob.o'
Current working directory /space/ortt/comp/test/dxas/xml/make-3.80/glob
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /space/ortt/comp/test/dxas/xml/make-3.80
*** Error code 1
make: Fatal error: Command failed for target `all'
5 个解决方案
#1
直接下binary的呗,http://www.sunfreeware.com
#2
http://www.sunfreeware.com 上我找了半天没找到……
能不能给我一个具体的下载链接?
能不能给我一个具体的下载链接?
#3
up!
#4
竟然没有人知道吗?
#5
http://ftp.sunfreeware.com/ftp/pub/freeware/
或者用Sun的Software Companion光盘里提供的用pkgadd安装的gmake,也可以到Sun的网站去下载
或者用Sun的Software Companion光盘里提供的用pkgadd安装的gmake,也可以到Sun的网站去下载
#1
直接下binary的呗,http://www.sunfreeware.com
#2
http://www.sunfreeware.com 上我找了半天没找到……
能不能给我一个具体的下载链接?
能不能给我一个具体的下载链接?
#3
up!
#4
竟然没有人知道吗?
#5
http://ftp.sunfreeware.com/ftp/pub/freeware/
或者用Sun的Software Companion光盘里提供的用pkgadd安装的gmake,也可以到Sun的网站去下载
或者用Sun的Software Companion光盘里提供的用pkgadd安装的gmake,也可以到Sun的网站去下载