Article ID: 127843, created on Dec 24, 2015, last review on Dec 24, 2015

  • Applies to:
  • Business Automation 6.0

Symptoms

The custom plugin code could have been complied successfully on BA 6.0.5, but it fails on 6.0.6, even though no changes with code were made. The failure is similar to below:

[root@dev-aps09-pbalinfe ETISALATIPG]# waf build
Waf: Entering directory `/root/EcommercePlugins/MyPlugin/.build'
Running with 3 parallel jobs.
[4/5] LISA post-generation task manager -> processing 1 CXX tasks
[11/13] cxx: internals.cc -> .build/default/internals_1.o
In file included from ../../../../usr/local/bm/include/BM/.src/internals/oAccAttr.hpp:7,
                 from ../internals.cc:6:
../../../../usr/local/bm/include/BM/internals/headers/bAccAttr.hpp:4:21: error: ACCOUNT.h: No such file or directory
In file included from ../../../../usr/local/bm/include/BM/.src/internals/oAccAttr.hpp:7,
                 from ../internals.cc:6:
../../../../usr/local/bm/include/BM/internals/headers/bAccAttr.hpp:13: error: ‘AccAttrUtils’ has not been declared
../../../../usr/local/bm/include/BM/internals/headers/bAccAttr.hpp:13: error: expected ‘,’ or ‘...’ before ‘&’ token
Waf: Leaving directory `/root/EcommercePlugins/MyPlugin/.build'
Build failed:  -> task failed (err #1):
        {task: cxx internals.cc -> internals_1.o}

Cause

The issue is caused by the bug with id #PBA-69007 ("Not possible to compile custom plugins on 6.0.6").

Resolution

Unless new sdk version is released, replace /usr/local/bm/include/BM/internals/headers/bAccAttr.hpp with the file attached.

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328

Email subscription for changes to this article
Save as PDF