Help: Errors/Warning compiling 4GL demo
Posted in 1995
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Internationalization & Character Sets
I'm having trouble getting my new versions of Informix to compile some of the demo software. Can anyone shed some light? Using Informix versions 7.10.UC1 SE and 6.01.UD1 4GL on SCO UNIX 3.2.4.2 Using cc compiler. (INFORMIXC=cc) Warning messages when running "c4gl menu1.4gl". NOTE: menu1.4gl is from i4gldemo menu1.c menu1.ec(346) : warning C4090: different 'const/volatile' qualifiers menu1.ec(346) : warning C4024: '_iqslct' : different types : parameter 2 menu1.ec(3042) : warning C4090: different 'const/volatile' qualifiers menu1.ec(3042) : warning C4024: '_iqstmnt' : different types : parameter 2 menu1.ec(3240) : warning C4090: different 'const/volatile' qualifiers menu1.ec(3240) : warning C4024: '_iqstmnt' : different types : parameter 2 menu1.ec(3425) : warning C4090: different 'const/volatile' qualifiers menu1.ec(3425) : warning C4024: '_iqstmnt' : different types : parameter 2 menu1.ec(3589) : warning C4090: different 'const/volatile' qualifiers menu1.ec(3589) : warning C4024: '_iqstmnt' : different types : parameter 2 menu1.ec(3623) : warning C4090: different 'const/volatile' qualifiers menu1.ec(3623) : warning C4024: '_iqslct' : different types : parameter 2 menu1.ec(3734) : warning C4090: different 'const/volatile' qualifiers menu1.ec(3734) : warning C4024: '_iqstmnt' : different types : parameter 2 menu1.ec(3783) : warning C4090: different 'const/volatile' qualifiers menu1.ec(3783) : warning C4024: '_iqslct' : different types : parameter 2 menu1.ec(3894) : warning C4090: different 'const/volatile' qualifiers menu1.ec(3894) : warning C4024: '_iqstmnt' : different types : parameter 2 menu1.ec(3951) : warning C4090: different 'const/volatile' qualifiers menu1.ec(3951) : warning C4024: '_iqslct' : different types : parameter 2 The 4ge is created and does work. --------------------------------------- Using rcc compiler - (ATT compiler). (INFORMIXC=rcc) Error messages when running "c4gl menu1.4gl". undefined first referenced symbol in file strcoll /online/informix/lib/tools/libos.a strftime /online/informix/lib/tools/netlib.a nl_langinfo /online/informix/lib/tools/libgen.a localeconv /online/informix/lib/tools/libgen.a ld fatal: Symbol referencing errors. No output written to a.out The 4ge is not created. These errors can be fixed by modifying c4gl by adding the -lintl to end of final phase compile command. Are "Warning" messages to be expected? I would like to have clean compiles, especially when using the suppiled demo source. Thanks, John -- ============================================================================== John R. Morris | email: jrm@hycel.com Director of Data Processing | phone: (314) 961-2000 fax: (314) 961-8508 ==============================================================================