DOCUMENT:Q50702 04-NOV-1999 [utilities] TITLE :PRB: /PACKCODE Incompatible with IOPL Segments w/ LINK 5.01.21 PRODUCT :Microsoft Programming Utilities PROD/VER:OS/2:5.01.21 OPER/SYS: KEYWORDS:kb16bitonly ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft LINK for OS/2, version 5.01.21 ------------------------------------------------------------------------------- SYMPTOMS ======== LINK Version 5.01.21 does not support the combination of using the /PACKCODE switch and having code segments declared as IOPL (i.e., as having I/O privilege). When combining segments as directed by the /PACKCODE option, LINK 5.01.21 will combine the IOPL segment(s) with other segments that do not have I/O privilege. The result is an invalid executable that returns the system error SYS1059 when it is invoked. STATUS ====== The lack of ability to combine these options is a limitation of this particular linker version. LINK Version 5.03 allows the combination of /PACKCODE and IOPL segments without a problem. Additional query words: ====================================================================== Keywords : kb16bitonly Technology : kbAudDeveloper kbZNotKeyword3 kbLINKSearch kbLINK50121DOS Version : OS/2:5.01.21 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.