-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order-only-prerequisites don't seem to be honoured #274
Comments
First I wonder what the 3 asterisks are after the service program name. Removing them may fix the issue. Another comment would be if this line: |
The 3 asterisks are a typo left when I applied bold to the line.
|
Hmm I have not tried an absolutely qualified SRVPGM like that. Is it an option to add QTCP into the postUsrLibl of the project? Then that library will be searched for the QTMMSNDM SRVPGM |
I added the library and changed the recipe:
Now QTMMSNDM is being built:
|
OK, some progress then.
|
I updated the previous comment to show where CHGLIBL is defined. QTMMSNDM is in library QTCP, the pipe symbol defines it as a dependent service program that is not part of the current project, but must exist for the build to complete. |
It may be that we have not yet encountered the | option and we have to do some more work to support it. |
Recipe includes an order-only-prerequisite for QTMMSNDM:
MM00200.PGM -- CRTPGM
MM00200.PGM: private TEXT = SNDMIMEF - Send MIME Email processor program
MM00200.PGM: private STGMDL = SNGLVL
MM00200.PGM: MM00200.MODULE STRING_X.SRVPGM TRANSLATE.SRVPGM ER00100.SRVPGM | /QSYS.LIB/QTCP.LIB/QTMMSNDM.SRVPGM***
Message indicates QTMMSNDM will be included:
=== Creating program [MM00200] from modules [MM00200] and service programs [STRING_X TRANSLATE QTMMSNDM]
CRTPGM listing does not include QTMMSNDM
Module Library Module Library Module Library Module Library
MM00200 *LIBL
Service Service Service
Program Library Activation Program Library Activation Program Library Activation
STRING_X *LIBL *IMMED ER00100 *LIBL *IMMED
TRANSLATE *LIBL *IMMED
Compile fails with an unresolved reference:
Unresolved references . . . . . . . . . . . . : 1
Symbol Type Library Object Bound Identifier
0000001A *MODULE BLD_XP MM00200 *YES QtmmSendMail
The text was updated successfully, but these errors were encountered: