Build-Op Error : Subprocess command failed

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
s_rkhan
Participant
Posts: 20
Joined: Thu Mar 03, 2005 6:26 am

Build-Op Error : Subprocess command failed

Post by s_rkhan »

Hi All,

I am using DS 7.5.1A version with gcc 3.2.3. I am trying to write the Build-Op Stage but whenever i try to generate the operator it gives the following error:-

Operator Generation Failed

buildop -f -BC g++ -BL g++ -v -FN -C buildop -H buildop -O buildop -W buildop buildop/TestBOp.opd

##E TBLD 000000 Subprocess command failed with exit status 256.
##W TBLD 000000 Output from subprocess: bosource505-0.C: In member function `virtual APT_Status TestBOp::runLocally()':
bosource505-0.C:298: redeclaration of `
TestBOp::runLocally()::APT_Bop_input0Accessors&in'
bosource505-0.C:285: `TestBOp::runLocally()::APT_Bop_input0Accessors&in'
previously declared here
bosource505-0.C:298: declaration of `
TestBOp::runLocally()::APT_Bop_input0Accessors&in'

##I TCBO 000000 Operator build has started.
##I TCBO 000000 Creating temporary files.
##W TBLD 000000 Output from subprocess: bosource505-0.C:285: conflicts with previous declaration `
TestBOp::runLocally()::APT_Bop_input0Accessors&in'

##I TCBO 000000 Preparing source data.
##I TCBO 000000 Creating a static object.
##I TBLD 000000 g++ -fPIC -I/opt/datastage/Ascential/DataStage/Projects/test/buildop -I/opt/datastage/Ascential/DataStage/PXEngine/include -O -fPIC -Wno-deprecated -c /opt/datastage/Ascential/DataStage/Projects/test/buildop/bosource505-0.C -o /tmp/bosource505-0_s.o.


For testing purpose I have even tried to map the input columns to the output columns without any logic. Please let me know the solution for this error.

Regards
srk
Post Reply