Business Function Build Error: Undeclared Identifier

Crazy_About_JDE

Crazy_About_JDE

Well Known Member
Hello, list! Last time I built a full client package, it completed without errors. This time (several months later), I'm getting errors galore.

Most of the errors have this in common: error C2065: 'DSD0000176' : undeclared identifier

What's missing?


Sample from the end of BUILDLOG.TXT
************Build Finished************

CBUSPART.dll - 0 error(s), 0 warning(s): Built successfully.
CCONVERT.dll - 0 error(s), 0 warning(s): Built successfully.
CCRIN.dll - 102 error(s), 2 warning(s): Build forced to complete with errors.
CCUSTOM.dll - 0 error(s), 6 warning(s): Built successfully.
CMFGBASE.dll - 387 error(s), 60 warning(s): Build forced to complete with errors.
COPBASE.dll - 102 error(s), 14 warning(s): Build forced to complete with errors.
CSALES.dll - 200 error(s), 23 warning(s): Build forced to complete with errors.
CALLBSFN.dll - 109 error(s), 0 warning(s): Build forced to complete with errors.
CFIN.dll - 280 error(s), 125 warning(s): Build forced to complete with errors.
CMFG.dll - 204 error(s), 48 warning(s): Build forced to complete with errors.
CDIST.dll - 70 error(s), 65 warning(s): Build forced to complete with errors.
CAEC.dll - 102 error(s), 0 warning(s): Build forced to complete with errors.


Sample from higher in BUILDLOG.TXT
N1200090.c
\\DEPLOY\B7334\DV7334\package\WDV050615\source\N1200090.c(515) : error C2065: 'DSD0000176' : undeclared identifier
\\DEPLOY\B7334\DV7334\package\WDV050615\source\N1200090.c(515) : error C2146: syntax error : missing ';' before identifier 'zDS212'
\\DEPLOY\B7334\DV7334\package\WDV050615\source\N1200090.c(515) : error C2065: 'zDS212' : undeclared identifier
\\DEPLOY\B7334\DV7334\package\WDV050615\source\N1200090.c(515) : error C2059: syntax error : '{'
\\DEPLOY\B7334\DV7334\package\WDV050615\source\N1200090.c(516) : error C2275: 'DSD1200280' : illegal use of this type as an expression
\\DEPLOY\B7334\DV7334\package\WDV050615\include\b1200280.h(180) : see declaration of 'DSD1200280'
.
.
.


Business Functions That Had Errors
N1200090.c
B3101420.c
B3102020.c
N3001780.c
N3002040.c
N4101070.c
B4200310.c
N4200790.c
N0100041.c
B03B0190.c
B0400048.c
B0400297.c
B0900160.c
N000700.c
N3401430.c
B4301690.c
XT4312Z1.c
N1200010.c

(Incidentally, these objects are listed at the bottom of the R9621 report with build status = 'Spec Successful'.)
 
Fixed Business Function Build Error: Undeclared Identifier

Because of the nature of the error, I suspected a header file was missing or corrupt.

Found DV7334\source\N1200090.c (a JDE standard object) and scanned through the code; one include file, B0000176.h, jumped out at me because its name is so closely related to the 'DSD0000176 ' undeclared identifier. Found DV7334\include\B0000176.h -- 0 KB modified 6/14/05 at 9:22 AM!

Compared the same file in JD7334\include and PD7333\include (on a production workstation); they are same, both 8 KB with timestamp 6/30/1998 3:33 PM. Copied one of them over to DV7334\include and rebuilt the package. 0 errors. Zero, zilch, nada.

So...Now that it's fixed, can anybody hazard a guess as to how it could have happened??
 
Back
Top