- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems compiling Pro*C
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
Forums
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
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
тАО03-21-2004 02:55 PM
тАО03-21-2004 02:55 PM
Problems compiling Pro*C
Actually we are trying to migrate pro*C programs from Digital UNIX V4.0D to Hp-Unix.
I am using the pro*C compiler for HP-Unix. When I tried to compile the proc program, it gives me the following error,
/usr/ccs/bin/make -f demo_proc.mk OBJS=updon.o EXE=updon build LIBHOME="/prod/applc/oracle817/lib/" PRODLIBHOME="/prod/applc
/oracle817/precomp/lib/" CFLAGS=" -I. -I/prod/applc/oracle817/precomp/public -I/prod/applc/oracle817/rdbms/public -I/prod/applc/
oracle817/rdbms/demo -I/prod/applc/oracle817/plsql/public -I/prod/applc/oracle817/network/public " LFLAGS=
proc iname=updon
Pro*C/C++: Release 8.1.7.2.0 - Production on Mon Mar 22 11:06:02 2004
(c) Copyright 2000 Oracle Corporation. All rights reserved.
System default option values taken from: /prod/applc/oracle817/precomp/admin/pcscfg.cfg
cc -Aa +DD64 -I. -I/prod/applc/oracle817/precomp/public -I/prod/applc/oracle817/rdbms/public -I/prod/applc/oracle817/rdbms/d
emo -I/prod/applc/oracle817/plsql/public -I/prod/applc/oracle817/network/public -c updon.c
cc -Aa +DD64 -o updon updon.o fwslib.o -L/prod/applc/oracle817/lib/ -lclntsh `cat /prod/applc/oracle817/lib/sysliblist`
-lm -lpthread -lpthread -call_shared -lsnatprm -lc_r
cc: warning 422: Unknown option "a" ignored.
I am getting this problem while linking. Am not sure whether it is a problem with the proc compiler or do i need to change something..?
I have been fighting with this problem for quite some time and itz really driving me nuts...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2004 05:33 PM
тАО03-21-2004 05:33 PM
Re: Problems compiling Pro*C
1) Make sure HP-UX is fully patches, especially cc and such. It would appear your compiler is feeding cc a bad option. Patching may help.
2) Carefully consider applying oracle patches, this could be a bug in their products.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2004 05:41 PM
тАО03-21-2004 05:41 PM
Re: Problems compiling Pro*C
But, would there be any specific reasons behind that..? I got the answer from the unix admin, that all the patches were applied to the anci-c. And there were some other applications that run fine in the same server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2004 08:39 AM
тАО03-22-2004 08:39 AM
Re: Problems compiling Pro*C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2004 05:02 AM
тАО03-23-2004 05:02 AM
Re: Problems compiling Pro*C
If you do "ll /usr/bin/cc" does that point to /opt/ansic/bin/cc?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2004 11:48 AM
тАО03-23-2004 11:48 AM
Re: Problems compiling Pro*C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 06:46 AM
тАО04-28-2004 06:46 AM
Re: Problems compiling Pro*C
I am doing same and getting linking eroors too.
::: Linking...
/usr/ccs/bin/ld: cdw420g0.o: Not a valid object file (invalid system id)
*** Error exit code 1
Your experience might be helpful for me to debug the problem.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2004 05:13 PM
тАО04-28-2004 05:13 PM
Re: Problems compiling Pro*C
can you run 'file cdw420g0.o' and post the output ?
if you have a question it is better to post it separately, it may not get attention if it is posted as a reply to someone else's question.
regards
ranga
--
ranga