IBM Support

PM26628: Rhapsody does not generate proper make files

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as Permanent restriction.

Error description

  • Summary:
    Rhapsody does not generate proper make files
    
    
    Description:
    There are missing dependencies when the make files are being
    generated by Rhapsody.
    The missing dependencies are from external code. Customer uses
    this a lot to tie
    together their projects. The workaround to include them as
    reference would make the projects very large (equals slow).
    
    Please find the attached test project (makefile_dependencies).
    It uses a class from the
    other project (makefile2) and has it as an externalPkg. The
    makefile did not generate the dependency and what is even worse
    the class that has the dependency did not generate it in its .h
    file either.
    
    
    Customer Comment:
    We have been struggling with build problems for a long time and
    I think this might be our root cause.
    It looks like we need to do some changes in our model but it
    still seems to me that the missing include in the header file
    and the make file are bugs.
    
    
    Attachments:
    14326,130,846.zip contains the Rhapsody models
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Makefiles generated by Rhapsody are missing dependencies on
    external code.
    

Problem conclusion

  • In order for external or referenced elements to be included,
    they must belong to the scope of a component. So the correct
    way to do that is to add the relevant component itself as a
    reference. The necessary includes will then be generated in
    the code and the makefiles will include the necessary
    dependencies.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM26628

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    751

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-12

  • Closed date

    2010-12-13

  • Last modified date

    2010-12-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels



Document information

More support for: Rational Rhapsody

Software version: 7.5.1

Reference #: PM26628

Modified date: 13 December 2010