HP 3000 Manuals

Link Editor Message [ HP COBOL II/XL Migration Guide ] MPE/iX 5.0 Documentation


HP COBOL II/XL Migration Guide

Link Editor Message 

You may encounter the following message when you compile and link a
program or when you link the program separately.

1044     MESSAGE           INCOMPATIBLE ALIGNMENT: <subprogram>(<objfile1>,<objfile2>)

         CAUSE             A misaligned data item was passed to a subprogram that
                           requires a 32-bit or 16-bit aligned parameter.

         ACTION
                           a.  Change the data description of the data item to include
                               the SYNC clause, change the item to an 01 or 77 level,
                               or add FILLERs to the record declaration so it is
                               aligned on a 32-bit (or 16-bit) boundary.  You can use
                               the CALLALIGNED option temporarily to determine which
                               parameters are misaligned.  Then recompile the program
                               and relink it.

                           b.  If both the calling program and the called subprogram
                               are COBOL II programs, the LINKALIGNED option was
                               specified in the called program but CALLALIGNED was not
                               specified by the calling program.  You can add the
                               CALLALIGNED option to the calling program, then compile
                               and correct any errors.  You can also remove the
                               LINKALIGNED option from the called program then compile
                               and link the program.  However, this results in less
                               efficient code than produced by adding the CALLALIGNED
                               option and making changes.

                           c.  If both the calling program and the called subprogram
                               are COBOL II programs, the LINKALIGNED16 option was
                               specified in the called program but CALLALIGNED16 was
                               not specified by the calling program.  You can add the
                               CALLALIGNED16 option to the calling program, then
                               compile and correct any errors.  You can also remove the
                               LINKALIGNED16 option from the called program then
                               compile and link the program.  However, this results in
                               less efficient code than produced by adding the
                               CALLALIGNED16 option and making changes.

---------------------------------------------------------------------------------------



MPE/iX 5.0 Documentation