cannot open source file "asm/errno.h"

本文提供了一种解决MUMPS与Code_Aster编译时出现的错误的方法,通过修改errno.h文件中的包含路径来规避冲突,并记录了具体的步骤,包括如何编辑文件、更改代码以及重新编译的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转载:http://www.code-aster.org/forum2/viewtopic.php?id=15285

Thanks Thomas,


I do have seen these posts before but I was not understanding what to do with the pieces of code...

This is how I proceed :

1) Edit file errno.h in /usr/include/linux (as root user) & change the line :

#include <asm/errno.h>

to

#include <errno.h>

2) Try to compile one first time (mumps compiled & aster failed immediatly after cause HDF as failed as well at the beginning)

3) Re-edit the file in 1) & cancel changes made in step 1. So re-write the line :

#include <errno.h>

to

#include <asm/errno.h>

4) Try to compile again. Normally everything is successful at the end.

Note that I did not disable scoth as I did in my first post & it finally works as well.

Note : For eficasQt there are still the "QListBoxitem" expression to be replaced...

Edit : eficasQT seems to work well on the 64bits platform
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值