Command 'idlj' fails with syntax error Expected `{'; encountered `;'.
This document (000020782) is provided subject to the disclaimer at the end of this document.
Environment
Situation
The idlj command in version 3.0 from java-1_8_0-ibm-devel in version 1.8.0_sr7.11-150000.3.62.1 fails to compile with the following error message:
testfile.idl (line 13): Expected `{'; encountered `;'. struct AMOElement; ^ testfile.idl (line 14): AMOElement is an undeclared type. typedef sequence<AMOElement> AMOElementList;
Resolution
Change to corba 2.4 by using the flag "-corba 2.4"
:
$ sdk/bin/idlj -corba 2.4 testfile.idl
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020782
- Creation Date: 22-Sep-2022
- Modified Date:18-Oct-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com