Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AS400 - new C file - getting Definition not found for symbol 'xyz'

Status
Not open for further replies.

SkiLift

Programmer
Dec 18, 2003
47
US
I am trying to add a new C source file to a program. I also changed an existing source file to call functions in the new source file. All source files compile OK. The link (actually CRTSRVPGM) is complaining that:

Definition not found for symbol 'xyz'

It appears to me that CRTSVRPGM does not know about the new symbol in a new obj file (created from a new source file)

How do I let the CRTSRVPGM know that there is a new object file (created from the new source file)?

The CRTSVRPGM cmd looks like this:

CRTSRVPGM SRVPGM($LIB/VST) MODULE($LIB/VST) TEXT('XYZ Service Program') BNDDIR($LIB/VST) SRCFILE($LIB/BND) SRCMBR(VST) TGTRLS(V4R2M0)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top