installing with SCSI disk

2001-11-05 Thread Bashar
Hello,
Any idea how to load SCSI module i found the driver-1.bin ti -4.bin but 
am
not able to write them to floppy using rawrite giving error and copying them
gives no space error , any idea where to find the proper page/url describing
this instructions or anyone can help regarding this issue? thanks in advace




ProC on Debian

2001-09-02 Thread Bashar
tinue.

Syntax error at line 709, column 15, file /usr/include/stdlib.h:
Error at line 709, column 15 in file /usr/include/stdlib.h
extern size_t wcstombs __P ((char *__restrict __s,
..1
PCC-S-02201, Encountered the symbol "wcstombs" when expecting one of the
followi
ng:

   ; , = ( [
The symbol ";" was substituted for "wcstombs" to continue.

Syntax error at line 60, column 12, file sample1.pc:
Error at line 60, column 12 in file sample1.pc
size_t buf_len, msg_len;
...1
PCC-S-02201, Encountered the symbol "buf_len" when expecting one of the
followin
g:

   ; , = : ( [ * ? | & < > + - / % . ^ *= /= %= += -= <<= >>=
   &&= ||= ^= | & == != <= >= << >> ++ -- ->
The symbol ";" was substituted for "buf_len" to continue.

Error at line 0, column 0 in file sample1.pc
PCC-F-02102, Fatal error while doing C preprocessing
make[1]: Leaving directory `/home/oracle/OraHome1/precomp/demo/proc'

make[1]: *** [sample1.o] Error 1
make: *** [sample1] Error 2




On redhat there is lots of instructions to install glibc2.2 and 2.1.3
patches and others am not sure on Debian if anyone can be help to this issue
I'd be grateful. Thanks in advance.



QualityNet - Kuwait
Bashar A. AlAbdulhadi
I.S. Department
UNIX Systems Administrator
TEL: 80 Ext. 637
FAX: 965-213790
www.qualitynet.net




RE: ProC on Debian

2001-09-03 Thread Bashar
Regards!
Finally i got it working after using the link on metalink.oracle.com you
need access to go there , anyhow here is the solution:
 START OF DOCUMENT 
Doc ID:  Note:102288.1
Subject:  PCC-2015 and PCC-2201 when Compiling Sample Pro*C Programs on
Linux
Type:  PROBLEM
Status:  PUBLISHED
 Content Type:  TEXT/PLAIN
Creation Date:  13-MAR-2000
Last Revision Date:  07-JUL-2000


Problem Description
---

You are trying to compile sample Pro*C programs on Linux and receive
PCC-2015 (on standard C header files such as stddef.h, stdlib.h ,
stdarg.h, ...) and PCC-2201 errors.

The error looks similar to the following:

Error at line 33, column 11 in file /usr/include/stdio.h
# include 
..1
PCC-S-02015, unable to open include file
Error at line 38, column 11 in file /usr/include/stdio.h
# include 
..1
PCC-S-02015, unable to open include file
Error at line 29, column 10 in file /usr/include/bits/types.h
..
PCC-S-02015, unable to open include file
Syntax error at line 368, column 19, file /usr/include/libio.h:
Error at line 368, column 19 in file /usr/include/libio.h
extern _IO_size_t _IO_sgetn __P ((_IO_FILE *, void *, _IO_size_t));
..1
PCC-S-02201, Encountered the symbol "_IO_sgetn" when expecting one
  of the following:

   ; , = ( [
The symbol ";" was substituted for "_IO_sgetn" to continue.

Syntax error at line 442, column 15, file /usr/include/stdio.h:
Error at line 442, column 15 in file /usr/include/stdio.h
extern size_t fread __P ((void *__restrict __ptr, size_t __size,
..1
PCC-S-02201, Encountered the symbol "fread" when expecting one of
  the following:

   ; , = ( [
.
Error at line 0, column 0 in file sample1.pc
PCC-F-02102, Fatal error while doing C preprocessing


Solution Description


The 'sys_include' and 'include' precompiler options are not set
correctly.  Set 'sys_include' and 'include' precompiler options
in the pcscfg.cfg file located at $ORACLE_HOME/precomp/admin or
include on the command line when invoking 'proc'.

For example, include the following:

sys_include=($ORACLE_HOME/precomp/public,
 /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include,
 /usr/include)

include=(/u02/app/oracle/product/8.1.5/precomp/public)
include=(/u02/app/oracle/product/8.1.5/rdbms/demo)
include=(/u02/app/oracle/product/8.1.5/network/public)
include=(/u02/app/oracle/product/8.1.5/plsql/public)

Note:  The path containing the standard C header files which is
   "/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include"
   in the above example might differ slightly depending on your
   operating system version.  Refer to [NOTE:74896.1] entitled
   "Avoiding Syntax Errors in Default Header Files on Linux" for
   more details on correcting compilation errors involving the
   Linux system header files.


Explanation
---

The directories containing the standard C header files (such as stddef.h,
stdlib.h, stdarg.h, etc.) were not included in 'sys_include'.  Also, the
directories containing Oracle provided header files (such as sqlca.h,
sqlda.h, ...) were not included in the 'include' precompiler option.

 END OF DOCUMENT 


the lines of the include you need to figure where is your include files 
and
include them , the last 2 lines of the include files i didnt find them and
it worked with me , good luck!




QualityNet - Kuwait
Bashar A. AlAbdulhadi
I.S. Department
UNIX Systems Administrator
TEL: 80 Ext. 637
FAX: 965-213790
www.qualitynet.net


-Original Message-
From: Bashar [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 02, 2001 8:34 PM
To: debian-user@lists.debian.org
Subject: ProC on Debian
Importance: High


Regards,
I've installed Oracle 8.1.7 perfectly and working fine but when i 
installed
ProC compiler it gave me error when compiling one of the sample codes as
below:
make -f /home/oracle/OraHome1/precomp/demo/proc/demo_proc.mk OBJS=sample1.o
EXE=sample1 build
make[1]: Entering directory `/home/oracle/OraHome1/precomp/demo/proc'
proc  iname=sample1

Pro*C/C++: Release 8.1.7.0.0 - Production on Sun Sep 2 18:40:10 2001

(c) Copyright 2000 Oracle Corporation.  All rights reserved.

System default option values taken from:
/home/oracle/OraHome1/precomp/admin/pcscfg.cfg

Error at line 33, column 11 in file /usr/include/stdio.h
# include 
..1
PCC-S-02015, unable to open include file
Error at line 38, column 11 in file /usr/include/stdio.h
# include 
...