|
-
64bit link oracle9i
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks