- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Pro*C Error
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
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
тАО01-29-2009 01:47 AM
тАО01-29-2009 01:47 AM
Re: Pro*C Error
This error is occuring only after i modified the CFLAGS AND LFLAGS to +DD32 in the makefile.
I also tried changing it back to +DD64.
Still getting same error.
>Any other errors in your make output?
No i get only this error
>Does this env_precomp.mk file exist?
Yes, it exists.
Thanks,
Dhivya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 01:53 AM
тАО01-29-2009 01:53 AM
Re: Pro*C Error
>>Does this env_precomp.mk file exist?
>Yes, it exists.
Is it accessible by the user and the contents not changed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 01:57 AM
тАО01-29-2009 01:57 AM
Re: Pro*C Error
Thanks,
Dhivya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 02:04 AM
тАО01-29-2009 02:04 AM
Re: Pro*C Error
Then you are going to have to go looking for zebras. :-)
We need to find out why make can't find that file by using tusc:
tusc -fp -o tusc.out your-make-command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 10:19 PM
тАО01-29-2009 10:19 PM
Re: Pro*C Error
Actually while modifying the make file i FTPd it to local machine and opened using notepad and moved it back to the server. Notepad has inserted some junk characters and that was causing the issue.
Now, we get few warning when we try compiling the programs. And the program gets compiled when we use +D
We get the follwing error when we tried compiling a program.
ld: Unsatisfied symbol "sqlcx2t" in file get_plc_data.o
ld: Unsatisfied symbol "main" in file
2 errors.
*** Error exit code 1 (ignored)
/bin/rm -f get_plc_data.o
We guess that the fix may be as simple as adding a header file. But we donot knwo what that header file is.
Also, we get the following,
/home/builddir $ make build_sy_ocstobarts
Making Object files for sy_ocstobarts.c
/usr/ccs/bin/cc -c +DD64 +W2225,2009,2001,2174,2177,2117,2181,2180,4212,2549,2167,2169 -I. -I../lib -I/u01/dba/oracle/prodc
/usr/ccs/bin/cc -o sy_ocstobarts sy_ocstobarts.o -L/u01/dba/oracle/product/1012ias/lib -lclntsh +DD64
ld: Unsatisfied symbol "piut_setservernode" in file sy_ocstobarts.o
ld: Unsatisfied symbol "pipt_findpoint" in file sy_ocstobarts.o
ld: Unsatisfied symbol "piut_connect" in file sy_ocstobarts.o
ld: Unsatisfied symbol "pitm_systime" in file sy_ocstobarts.o
ld: Unsatisfied symbol "pitm_formtime" in file sy_ocstobarts.o
ld: Unsatisfied symbol "piut_netserverinfo" in file sy_ocstobarts.o
ld: Unsatisfied symbol "piar_compvalues" in file sy_ocstobarts.o
7 errors.
*** Error exit code 1
Gess they are refering to missing PI interface components.
Can you please help us out in this issue?
Thanks,
Dhivya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 10:37 PM
тАО01-29-2009 10:37 PM
Re: Pro*C Error
You mean +W
ld: Unsatisfied symbol "sqlcx2t"
ld: Unsatisfied symbol "main"
Is the first in some Oracle shlib?
Where is your main?
>Guess they are referring to missing PI interface components.
Did you forget to add a -l library?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 12:56 AM
тАО01-30-2009 12:56 AM
Re: Pro*C Error
>Is the first in some Oracle shlib?
Am not sure of that.
>Did you forget to add a -l library?
Actually, we have been using these files in 64 bit so far in HP_UX PA-RISC 11i and when moved to HP_UX Itanium 11.31 these programs are throwing this error.
So we are not sure what libraries to include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 01:52 AM
тАО01-30-2009 01:52 AM
Re: Pro*C Error
Are you still linking with -lclntsh?
>So we are not sure what libraries to include.
Start with the same -l but you'll need to change any -L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 02:12 AM
тАО01-30-2009 02:12 AM
Re: Pro*C Error
# C compiler flags
CFLAGS= +DD64
LFLAGS= -L$(ORACLE_HOME)/lib -lclntsh +DD64
# C compiler include directories
IFLAGS= -I. -I../lib $(PRECOMPPUBLIC) -I$(ORACLE_HOME)/precomp/public
# Target definitions
build_get_plc_data: get_plc_data.o
-$(CC) -o get_plc_data get_plc_data.o $(LFLAGS)
$(RM) get_plc_data.o
Thanks,
Dhivya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 03:57 AM
тАО01-30-2009 03:57 AM
Re: Pro*C Error
We get few warnings while compiling the files.
"core_cards2.c", line 355: warning #2181-D: argument is incompatible with
corresponding format string conversion
fscanf(infile, "%s", &uidx);
^
"core_cards2.c", line 853: warning #2174-D: expression has no effect
exit;
^
Please help.
Thanks,
Dhivya