Hi,

If I follow the steps at

http://stackoverflow.com/questions/6656317/cant-link-a-c-program

and I get the error

ld hw.o /usr/lib/libc.so /usr/lib/crt1.o -o hw
ld: cannot find /usr/lib/crt1.o: No such file or directory

and indeed crt1.o is not there. I can't find it anywhere. However, if I
just do

gcc hw.c

then it compiles and links fine. All of this started after "upgrading"
Ubuntu to 12.04 : (

I've tried reinstalling

sudo apt-get update
sudo apt-get install --reinstall binutils
sudo apt-get install --reinstall build-essential
sudo apt-get install --reinstall libc6-dev
sudo apt-get install --reinstall gcc-4.6
sudo apt-get install --reinstall libboost1.46-all-dev



but still no luck. Thanks.

--Cory


On Wed, Sep 19, 2012 at 7:29 PM, Paul T. Bauman <[email protected]> wrote:

> Please be sure to reply-all so that others may chime in.
>
> Check out this thread:
> http://stackoverflow.com/questions/6656317/cant-link-a-c-program
>
> Sounds like your system might've gotten FUBAR'ed. Can you build a simple
> hello work program with mpicxx?
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to