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

Junjie wujj at umich.edu
Mon Feb 28 13:16:57 EST 2011


Hi Jasper,

You need to check your $CC_HOME in config/gcc.bldconf. The default 
"/n/fs/parsec/local/gcc-4.4.0-static" is not likely to work on your 
Solaris machine.

Regards,
Junjie

On 01/-10/-28163 02:59 PM, huwei8717 wrote:
> 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/20110228/f5284985/attachment.html>


More information about the parsec-users mailing list