- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Compile Proc*C with debug option
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 04:06 AM
тАО06-06-2005 04:06 AM
If a Compile on this way, results OK! and I can generate my .exe:
make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk build EXE=pruebita.exe OBJS=pruebita.o
But if I compile like this:
make -g $ORACLE_HOME/precomp/demo/proc/demo_proc.mk build EXE=pruebita.exe OBJS=pruebita.o
result: `/oracle/product/9.2.0/precomp/demo/proc/demo_proc.mk' is up to date.
Make: Don't know how to make build. Stop.
Maybe I'm missing something... somebody could help me please!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 04:09 AM
тАО06-06-2005 04:09 AM
Re: Compile Proc*C with debug option
My operating system is HPUX 11.23 (ITANIUM)
Thanks a lot for any response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 06:14 AM
тАО06-06-2005 06:14 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 07:34 AM
тАО06-06-2005 07:34 AM
Re: Compile Proc*C with debug option
I did a review of my demo_prok.mk but I didn't figure out where to put it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 08:00 AM
тАО06-06-2005 08:00 AM
Re: Compile Proc*C with debug option
In demo_proc.mk there is a line similar to this:
include $(ORACLE_HOME)/precomp/lib/env_precomp.mk
It is this file that needs to me modified.
There should be a definition for CCFLAGS; modify it and add "-" to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 08:04 AM
тАО06-06-2005 08:04 AM
Re: Compile Proc*C with debug option
That should be:
There should be a definition for CCFLAGS; modify it and add "-g" to it.
You make also see some use of $(GFLAG) but without a definition for it. Instead of modifying CCFLAGS, you could add a definition
GFLAG=-g
near the top of the include file.
You really need to understand make before tackling ProC or you are going to be faced with many obscure problems. It's probably easier to get started with make compiling plain C programs before adding ProC to the mix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 01:05 PM
тАО06-06-2005 01:05 PM
Re: Compile Proc*C with debug option
Now I can compile with debug option but I can't finish the complete process because I'm getting the following error
ld: Can't find library or mismatched ABI for -lclntsh
Fatal error.
*** Error exit code 1
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2005 03:27 PM
тАО06-06-2005 03:27 PM
Re: Compile Proc*C with debug option
You really, really need to first learn make or you are simply going to get more of these types of problems. Make is a very good tool and its purpose in life is to look at suffixes (e.g. .c, .pc, .s, .o) and timestamps and decide what operations need to be done to build a target file (an executable, library, etc.). Until you bother to study make, you are wasting time.