Hi,
I have a simple Pro* C program ashish1.pc written as follows:
# include<stdio.h>
# include<conio.h>
main()
{
printf("\n\n hello everyone \n");
}
When i compile the same using make, it gives an error as shown below.
It is because of the line # include<conio.h>, and if i remove that line the
program runs fine. Can anyone please tell me what might be the problem?
[EMAIL PROTECTED]:/mghhk/src/pc/interface/upd_output make ashish1
proc iname=ashish1.pc include=/appl/oracle/DEV/10.1.2/precomp/lib/
include=/mghhk/src/include ireclen=256 oreclen=132 sqlcheck=full ltype=none
user=mmds/mmdx dbms=NATIVE CHAR_MAP=VARCHAR2
Pro*C/C++: Release 10.1.0.4.2 - Production on Mon Oct 9 17:21:04 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from:
/appl/oracle/DEV/10.1.2/precomp/admin/pcscfg.cfg
Error at line 2, column 10 in file ashish.pc
# include<conio.h>
.........1
PCC-S-02015, unable to open include file
/usr/bin/gcc -m32 -O2 -fPIC -DPRECOMP -I/mghhk/src/include -DLINUX
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE
-DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -o ashish1
-L/appl/oracle/DEV/10.1.2/precomp/lib/ -L/appl/oracle/DEV/10.1.2/lib/
-L/appl/oracle/DEV/10.1.2/lib/stubs/ -o ashish1 ashish1.c -lclntsh `cat
/appl/oracle/DEV/10.1.2/lib/ldflags` `cat
/appl/oracle/DEV/10.1.2/lib/sysliblist` -ldl -lm /mghhk/src/lib/r1lib.a
ashish1.c:141:19: conio.h: No such file or directory
make: *** [hcl1] Error 1
[EMAIL PROTECTED]:/mghhk/src/pc/interface/upd_output
Thanks & Regards,
Ashish.
---------------------------------
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it
NOW
[Non-text portions of this message have been removed]
To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be
removed.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/