Building a project using a generated make file results in error 'make: 1254-055 Dependency line need

本文介绍了解决在IBM Rational Developer for Power Systems Software 8.0中使用生成的Makefile进行项目构建时出现依赖错误的方法。通过设置使用GNU Make而非默认的AIX Make来避免1254-055错误。
摘要由CSDN通过智能技术生成

Technote (troubleshooting)


Problem(Abstract)

Attempts to build a project using a generated make file causes dependency errors resulting in compilation failure in IBM Rational Developer for Power Systems Software version 8.0.

Symptom

When generating a make file and building a project using it (it is called "Managed project build"), even if not making any modification on the generated make file, the compile will be failed with following errors.

"makefile", line xx: make: 1254-055 Dependency line needs colon or double colon operator


Steps to reproduce:

  1. Create a new project with "Managed build project" option
  2. Create C/C++ source codes to be compiled.
  3. Right click project > [Build project]
  4. The makefile will be generated
  5. The project is automatically compiled using the make file generated in step 4.
  6. The build will fail with "1254-055" error

Cause

This is current limitation for the "Managed project build".

Only GNU make is supported for it but default AIX make is not.


Resolving the problem

An RFE (Request For Enhancement) 11451 is registered for being able to use the default AIX make on managed build.


WORKAROUND:

You can set the make command used for the managed build. 

By setting it to GNU make, the project will be compiled without errors.

Steps to set the make command

  1. Right click the project > [Property] > [C/C++ Build]

  2. Uncheck "Use default build command"

  3. Change the build command to GNU

    For example /usr/bin/gmake

 

GNU make for AIX can be downloaded from  "AIX Toolbox for Linux Applications"
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值