ESQL\\C Compile Error
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues, Internationalization & Character Sets
Hello, Everyone, I'm getting the following errors whenever I try to compile an ESQL\\C program: gcc: language arch=v9 not recognized gcc: language arch=v9 not recognized ld: elf error: file bycopy.c: unknown type, unable to process using elf(3E) libs ld: fatal: library -lifsql: not found ld: fatal: library -lifasf: not found ld: fatal: library -lifgen: not found ld: fatal: library -lifos: not found ld: fatal: library -lifgls: not found ld: fatal: file /opt/informix/lib/esql/checkapi.o: wrong machine class ld: fatal: File processing errors. No output written to a.out collect2: ld returned 1 exit status For the record, I'm running ESQL 9.20 FC1, with Solaris 2.7. Any suggestions?
FWIR arch=v7 is a Sun Pro compiler option. The rest look like a LD_LIBRARY_PATH problem Vickey Crouch wrote: > > Hello, Everyone, > > I'm getting the following errors whenever I try to compile an ESQL\\C > program: > > gcc: language arch=v9 not recognized > gcc: language arch=v9 not recognized > ld: elf error: file bycopy.c: unknown type, unable to process using > elf(3E) libs > ld: fatal: library -lifsql: not found > ld: fatal: library -lifasf: not found > ld: fatal: library -lifgen: not found > ld: fatal: library -lifos: not found > ld: fatal: library -lifgls: not found > ld: fatal: file /opt/informix/lib/esql/checkapi.o: wrong machine class > ld: fatal: File processing errors. No output written to a.out > collect2: ld returned 1 exit status > > For the record, I'm running ESQL 9.20 FC1, with Solaris 2.7. > Any suggestions? -- Paul Watson # WF Software Ltd # You are only young once Tel: +44 1436 674729 # but you can be immature Fax: +44 1436 678693 # for ever www.wfsoftware.com #