I am having a problem trying to link my proc programs to 64bit. I upgraded
to oracle9i. What i am trying to do is to link my proc programs using the
64bit loader in a HP-UX unix system. These are part of my make file:


VM=/opt/cts/CTSHQ2/vm
PROC=proc
PCCINC=$(ORACLE_HOME)/proc/lib
USERID=mk966/mk966
PCCFLAGS=include=$(PCCINC) select_error=yes parse=partial userid=${USERID}
sqlcheck=full
PCCFLAGS_LIMITED=include=$(PCCINC) select_error=yes parse=partial

CC=cc

CFLAGS= -c +Z -I. -g -Aa -D_HPUX_SOURCE +ESsfc +ESlit +DAportable

LDFLAGS= -I. +Z -Aa -L$(LIB_HOME)
ECHO=echo

extract1:extract1.o vmrusa.o
${CC} +DD64 -g -n $(LDFLAGS) extract1.o vmrusa.o -o $@ \
$(PROLDLIBS)
mv extract1 ${VM}/bin/.


When i run my make file, i get the following error:
make -f vm.mk extract1
cc +DD64 -g -n -I. +Z -Aa -L/opt/oracle/orcts/product/9.2.0/lib extract1.o
vmrusa.o -o extract1 \
-L/opt/oracle/orcts/product/9.2.0/lib/ -lclntsh `cat /opt/oracle/orcts/product/9.2.0/lib/sysliblist`
-lm -lpthread -lpthread
ld: Mismatched ABI (not an ELF file) for extract1.o
Fatal error.
*** Error exit code 1

can somebody help? how can i link my proc programs to 64bit using oracle9i?
thanks