Hi ,
I am trying to compile a code in various different combinations of Sun OS and Oracle versions.
Case 1. Sun OS 5.8 Oracle pointing to 32 bit library:
Code compiles and runs
Case 2: Sun OS 5.10 Oracle pointing to 32 bit library:
Code compiles and runs
Case 3: Sun OS 5.10 Oracle pointing to 64 bit library:
Code does not compile . Throws the following error:
ld: warning: file /usr/Oracle/9.2.0.6/lib//libclntst9.a(sqlbuf.o): wrong ELF class: ELFCLASS64
Undefined first referenced
symbol in file
sqlcxt <code1>.o
sqlglm <code2>.o
sqlbuft <code2>.o
ld: fatal: Symbol referencing errors. No output written to <code1>
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `build'
I need to compile this code in the 64 bit oracle .
Any help is highly appreciated.
Thanks in advance,
noviC