---
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"
---

# 编译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。
