shrutika wrote:
>
> Hi,
>
>
>
>
> Error snnipet
>
> --------------------------
> Linking C executable ../../bin/pathcc
> cd /home/shru/compiler/build/src/driver && /usr/bin/cmake -E 
> cmake_link_script CMakeFiles/pathcc.dir/link.txt --verbose=1
> /usr/bin/gcc  -D_LANGUAGE_C  -O0 -g -D_DEBUG  -static 
> CMakeFiles/pathcc.dir/errors.c.o CMakeFiles/pathcc.dir/file_utils.c.o 
> CMakeFiles/pathcc.dir/lang_defs.c.o 
> CMakeFiles/pathcc.dir/string_utils.c.o 
> CMakeFiles/pathcc.dir/check_combos.c.o 
> CMakeFiles/pathcc.dir/implicits.c.o CMakeFiles/pathcc.dir/main.c.o 
> CMakeFiles/pathcc.dir/options.c.o 
> CMakeFiles/pathcc.dir/option_seen.c.o 
> CMakeFiles/pathcc.dir/get_options.c.o 
> CMakeFiles/pathcc.dir/opt_actions.c.o 
> CMakeFiles/pathcc.dir/file_names.c.o CMakeFiles/pathcc.dir/objects.c.o 
> CMakeFiles/pathcc.dir/phases.c.o CMakeFiles/pathcc.dir/run.c.o 
> CMakeFiles/pathcc.dir/special_options.c.o 
> CMakeFiles/pathcc.dir/targets.c.o CMakeFiles/pathcc.dir/targ_info.c.o 
> CMakeFiles/pathcc.dir/version_hg.c.o CMakeFiles/pathcc.dir/license.c.o 
>  -o ../../bin/pathcc -rdynamic 
> /usr/bin/ld: cannot find -lc
> collect2: ld returned 1 exit status
> gmake[2]: *** [bin/pathcc] Error 1
> gmake[2]: Leaving directory `/home/shru/compiler/build'
> gmake[1]: *** [src/driver/CMakeFiles/pathcc.dir/all] Error 2
> gmake[1]: Leaving directory `/home/shru/compiler/build'
> gmake: *** [all] Error 2
Hi Shrutika,

ld is complaining that it can't find static -lc.  Install the package 
that provides libc.a and it should succeed.  (The build really shouldn't 
crash on this...)

Best,

./C

#pathscale - irc.freenode.net

ps. The open64 people may not want path64 questions here..  Please feel 
free to subscribe to path64-dev -
http://lists.pathscale.com/mailman/listinfo/path64-dev_lists.pathscale.com

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to