Here is problem description:
Compiling C code and building .so file and executable .o file using Makefile
command: /usr/ccs/bin/make Makefile all
It is working fine and making 32 bit .so and .o file,
command: file libtest-plugin.so
libtest-plugin.so: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped
Now I am building with Makefile64
command: /usr/ccs/bin/make Makefile64 all
It is not working. Somewhere it showing errors like
ld: fatal: file /usr/ucblib/libucb.so: wrong ELF class: ELFCLASS32
Make command description:
clmsat721:/usr/ccs/bin $ file make
make: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
Both Makefile and Makefile64 are standard file of Sun One Directory Server plug-ins.
It was installed with DS, i don't think any errors from MakeFiles.
1) can we use 32 bit make command for making 64-bit lib?
2) What should i do for making complete 64 bit so file