---
title: 编译abinit时make报错
description: "编译abinit时make报错，报错信息为：“Error: Line truncated at (1) [-Werror=line-truncation]”。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0081.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/trouble/bootkit_hpc_troublecase_0081.html
indexId: ba0b5cbd91c34f77123372ef0c8cd5c3afbd62503cb12b64dd013c17b7ac02c474
---
# 编译abinit时make报错

#### 问题现象描述

编译abinit时make报错，报错信息为：“Error: Line truncated at (1) [-Werror=line-truncation]”。


#### 关键过程、根本原因分析

此错误是因为代码中未限制132个字符。


#### 结论、解决方案及效果

需要在编译安装(https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengabinit_02_0011.html)的FCFLAGS="-g -O2 -ffree-line-length-none"中增加-ffree-line-length-none。
