求救,更新ubuntu系统,结果把openfoam搞挂了
在Ubuntu 10.04 Lucid Lynx LTS系统上用官方的openfoam1.7.0 deb安装包,本来用的好好的,结果昨天一时高兴,用ubuntu的更新工具升级了一下系统,然后就出问题了。 就是在.bashrc文件中加入的那一行. /opt/openfoam170/etc/bashrc,结果成了这样。
source .bashrc
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
好像是gcc的什么东西更新之后出问题了。一怒之下格了硬盘重装,结果还是这样,简直莫名其妙啊。难道是过了几个月, Lucid 的软件源更新了之后不兼容了?
有没有哪位高人知道这是怎么回事?万分感谢。 source .bashrc
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
http://www.sybuy.net/bbs/images/fm_6.1/sigline.gif
校园小说网 已经解决了,原来是更新mpich2弄的不兼容了。
回复 3# songke21 的帖子
请问你是如何解决的?
页:
[1]