songke21 发表于 2010-11-15 11:08:09

求救,更新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 的软件源更新了之后不兼容了?
有没有哪位高人知道这是怎么回事?万分感谢。

neghg 发表于 2010-11-15 13:45:55

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
校园小说网

songke21 发表于 2010-11-15 19:04:35

已经解决了,原来是更新mpich2弄的不兼容了。

kcoolk 发表于 2010-11-22 12:31:14

回复 3# songke21 的帖子

请问你是如何解决的?
页: [1]
查看完整版本: 求救,更新ubuntu系统,结果把openfoam搞挂了