[parsec-users] 答复: error: C compiler cannot create executables

马君 majun at ict.ac.cn
Tue Mar 1 03:53:49 EST 2011


You can get rid of the ¡®b¡¯ option in env.sh.

Compiler need to be appointed. For example: ¡°./parsecmgmt -a build -p x264
¨Cc gcc-hooks¡±

Check the configuration file ¡°gcc.bldconf¡± first.

Jun Ma

ICT, GUCAS

 

·¢¼þÈË: huwei8717 [mailto:huwei8717 at yahoo.com.cn] 
·¢ËÍʱ¼ä: 2011Äê2ÔÂ28ÈÕ 20:12
ÊÕ¼þÈË: parsec-users
Ö÷Ìâ: [parsec-users] error: C compiler cannot create executables

 

Hi, 

 

sorry to take up some time of you.

 

When I use "source ./env.sh ", it errored as followed. 

------------------------------------------------------------------------

dirname: invalid option -- 'b'

Try `dirname --help' for more information.

dirname: missing operand

Try `dirname --help' for more information.

------------------------------------------------------------------------

 

When I use "./parsecmgmt -a build -p x264 " to build x264, it errored as
followed.

 

------------------------------------------------------------------------

[PARSEC] Packages to build:  x264

[PARSEC] [========== Building package x264 ==========]

[PARSEC] [---------- Analyzing package x264 ----------]

[PARSEC] x264 depends on: yasm

[PARSEC] [---------- Analyzing package yasm ----------]

[PARSEC] yasm does not depend on any other packages.

[PARSEC] [---------- Building package yasm ----------]

[PARSEC] Removing old build directory.

[PARSEC] Running 'env LIBS=-L/n/fs/parsec/local/gcc-4.4.0-static/lib64
-L/n/fs/parsec/local/gcc-4.4.0-static/lib
/home/whu/parsec/parsec-2.1/bin/../pkgs/tools/yasm/src/configure
--prefix=/home/whu/parsec/parsec-2.1/bin/../pkgs/tools/yasm/inst/amd64-linux
.gcc':

checking for a BSD-compatible install...
/home/whu/parsec/parsec-2.1/bin/../bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether /usr/bin/make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for style of include used by /usr/bin/make... GNU

checking for gcc... /n/fs/parsec/local/gcc-4.4.0-static/bin/gcc

checking for C compiler default output file name... 

configure: error: C compiler cannot create executables

See `config.log' for more details.

[PARSEC] Error: 'env LIBS=-L/n/fs/parsec/local/gcc-4.4.0-static/lib64
-L/n/fs/parsec/local/gcc-4.4.0-static/lib
/home/whu/parsec/parsec-2.1/bin/../pkgs/tools/yasm/src/configure
--prefix=/home/whu/parsec/parsec-2.1/bin/../pkgs/tools/yasm/inst/amd64-linux
.gcc' failed.

 

------------------------------------------------------------------------

 

Could anybody can help me? Thank you very much!

 

Best Regards

 

 

2011-02-28 

  _____  

Jasper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20110301/304168ac/attachment.htm>


More information about the parsec-users mailing list