Pro*C Compilation Problems

I am a member of the OTN, from which I received Oracle V8.1.6. I recently got around to installing the Oracle Server V8.1.6 on Red Hat Linux V6.1. I eventually got everything installed and proceded to test the Pro*C sample programs. I "compiled" all the related SQL programs and created the tables. The problem is that when I use the "make" program "demo_proc.mk" to build any of the sample*.c programs I get the following error :
make -f demo_proc.mk build
cc -o -L /u01/app/oracle/product/8.1.6/lib/ -lclntsh `cat /u01/app/oracle/pr
oduct/8.1.6/lib/sysliblist` -ldl -lm
/u01/app/oracle/product/8.1.6/lib/: file not recognized: Is a directory
collect2: ld returned 1 exit status
make: *** [build] Error 1
or whe make -f demo_proc.mk build_static
make -f demo_proc.mk build_static
cc -o -L /u01/app/oracle/product/8.1.6/lib/ -lclient8 /u01/app/oracle/product/
8.1.6/lib/libsql8.a /u01/app/oracle/product/8.1.6/lib/scorept.o /u01/app/oracle/
product/8.1.6/lib/sscoreed.o /u01/app/oracle/product/8.1.6/rdbms/lib/kpudfo.o `
cat /u01/app/oracle/product/8.1.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -l
nro8 `cat /u01/app/oracle/product/8.1.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -l
nl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lwtc8 -lmm -lnls8 -lcore8 -l
nls8 -lcore8 -lnls8 `cat /u01/app/oracle/product/8.1.6/lib/ldflags` -lnsgr8
-lnzjs8 -ln8 -lnl8 -lnro8 `cat /u01/app/oracle/product/8.1.6/lib/ldflags` -
lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lpls8
-ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8 -lcommo
n8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /u01/app/oracle/prod
uct/8.1.6/lib/sysliblist` -ldl -lm /u01/app/oracle/product/8.1.6/lib/nautab.o /
u01/app/oracle/product/8.1.6/lib/naeet.o /u01/app/oracle/product/8.1.6/lib/naect
.o /u01/app/oracle/product/8.1.6/lib/naedhs.o /u01/app/oracle/product/8.1.6/rdb
ms/lib/xaondy.o
/u01/app/oracle/product/8.1.6/lib/: file not recognized: Is a directory
collect2: ld returned 1 exit status
make: *** [build_static] Error 1
I have checked that the directories are valid and readable, but to no avail. I have setup the pcscfg.cfg as follows :
sys_include=(/usr/include,/usr/src/linux/include,/usr/src/linux/include/linux/in
clude,/usr/include/g++-2,/usr/lib/bcc/include)
include=/u01/app/oracle/product/8.1.6/precomp/public
include=/u01/app/oracle/product/8.1.6/precomp/hdrs
include=/u01/app/oracle/product/8.1.6/tpcc2x_2/src
include=/u01/app/oracle/product/8.1.6/precomp/include
include=/u01/app/oracle/product/8.1.6/oracore/include
include=/u01/app/oracle/product/8.1.6/oracore/public
include=/u01/app/oracle/product/8.1.6/rdbms/include
include=/u01/app/oracle/product/8.1.6/rdbms/public
include=/u01/app/oracle/product/8.1.6/rdbms/demo
include=/u01/app/oracle/product/8.1.6/nlsrtl/include
include=/u01/app/oracle/product/8.1.6/nlsrtl/public
include=/u01/app/oracle/product/8.1.6/network_src/include
include=/u01/app/oracle/product/8.1.6/network_src/public
include=/u01/app/oracle/product/8.1.6/network/include
include=/u01/app/oracle/product/8.1.6/network/public
include=/u01/app/oracle/product/8.1.6/plsql/public
code=ansi_c
ltype=short
sqlcheck=full
But I am able to build the CPPPro*C sample, albeit with loads of warnings.
I have followed all the installation instructions and the help provide on the technet site, but I still cannot get this to work.
or when I just try to "proc sample1.pc", I get the following
Pro*C/C++: Release 8.1.6.0.0 - Production on Tue Apr 10 09:17:37 2001
(c) Copyright 1999 Oracle Corporation. All rights reserved.
System default option values taken from: /u01/app/oracle/product/8.1.6/precomp/a
dmin/pcscfg.cfg
Syntax error at line 263, column 12, file /usr/include/libio.h:
Error at line 263, column 12 in file /usr/include/libio.h
size_t __nbytes));
...........1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 272, column 11, file /usr/include/libio.h:
Error at line 272, column 11 in file /usr/include/libio.h
size_t __n));
..........1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 364, column 9, file /usr/include/libio.h:
Error at line 364, column 9 in file /usr/include/libio.h
IOva_list, int *__restrict));
........1
PCC-S-02201, Encountered the symbol "__gnuc_va_list" when expecting one of the f
ollowing:
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "auto," was substituted for "__gnuc_va_list" to continue.
Syntax error at line 366, column 10, file /usr/include/libio.h:
Error at line 366, column 10 in file /usr/include/libio.h
IOva_list));
.........1
PCC-S-02201, Encountered the symbol "__gnuc_va_list" when expecting one of the f
ollowing:
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "auto," was substituted for "__gnuc_va_list" to continue.
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 IOsize_t IOsgetn __P ((_IO_FILE *, void *, IOsize_t));
..................1
PCC-S-02201, Encountered the symbol "_IO_sgetn" when expecting one of the follow
ing:
; , = ( [
The symbol ";" was substituted for "_IO_sgetn" to continue.
Syntax error at line 368, column 55, file /usr/include/libio.h:
Error at line 368, column 55 in file /usr/include/libio.h
extern IOsize_t IOsgetn __P ((_IO_FILE *, void *, IOsize_t));
......................................................1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "auto," was substituted for "size_t" to continue.
Syntax error at line 233, column 18, file /usr/include/stdio.h:
Error at line 233, column 18 in file /usr/include/stdio.h
int __modes, size_t __n));
.................1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 239, column 8, file /usr/include/stdio.h:
Error at line 239, column 8 in file /usr/include/stdio.h
size_t __size));
.......1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 258, column 6, file /usr/include/stdio.h:
Error at line 258, column 6 in file /usr/include/stdio.h
Gva_list __arg));
.....1
PCC-S-02201, Encountered the symbol "__gnuc_va_list" when expecting one of the f
ollowing:
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "__gnuc_va_list" to continue.
Syntax error at line 261, column 5, file /usr/include/stdio.h:
Error at line 261, column 5 in file /usr/include/stdio.h
Gva_list __arg));
....1
PCC-S-02201, Encountered the symbol "__gnuc_va_list" when expecting one of the f
ollowing:
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "__gnuc_va_list" to continue.
Syntax error at line 265, column 6, file /usr/include/stdio.h:
Error at line 265, column 6 in file /usr/include/stdio.h
Gva_list __arg));
.....1
PCC-S-02201, Encountered the symbol "__gnuc_va_list" when expecting one of the f
ollowing:
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "__gnuc_va_list" to continue.
Syntax error at line 269, column 49, file /usr/include/stdio.h:
Error at line 269, column 49 in file /usr/include/stdio.h
extern int snprintf __P ((char *__restrict __s, size_t __maxlen,
................................................1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 273, column 52, file /usr/include/stdio.h:
Error at line 273, column 52 in file /usr/include/stdio.h
extern int __vsnprintf __P ((char *__restrict __s, size_t __maxlen,
...................................................1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 275, column 9, file /usr/include/stdio.h:
Error at line 275, column 9 in file /usr/include/stdio.h
Gva_list __arg))
........1
PCC-S-02201, Encountered the symbol "__gnuc_va_list" when expecting one of the f
ollowing:
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "__gnuc_va_list" to continue.
Syntax error at line 277, column 50, file /usr/include/stdio.h:
Error at line 277, column 50 in file /usr/include/stdio.h
extern int vsnprintf __P ((char *__restrict __s, size_t __maxlen,
.................................................1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "size_t" to continue.
Syntax error at line 279, column 7, file /usr/include/stdio.h:
Error at line 279, column 7 in file /usr/include/stdio.h
Gva_list __arg))
......1
PCC-S-02201, Encountered the symbol "__gnuc_va_list" when expecting one of the f
ollowing:
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "enum," was substituted for "__gnuc_va_list" 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:
; , = ( [
The symbol ";" was substituted for "fread" to continue.
Syntax error at line 442, column 51, file /usr/include/stdio.h:
Error at line 442, column 51 in file /usr/include/stdio.h
extern size_t fread __P ((void *__restrict __ptr, size_t __size,
..................................................1
PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
... auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol "exec," was substituted for "size_t" to continue.
Syntax error at line 445, column 1, file /usr/include/stdio.h:
Error at line 445, column 1 in file /usr/include/stdio.h
extern size_t fwrite __P ((__const void *__restrict __ptr, size_t __size,
1
PCC-S-02201, Encountered the symbol "extern" 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
The same error occurs when I hacked an old make file from an old project to make sample1.pc
CC=gcc
CINC=$(SQL)/inc
SLIB=-L$(SQL)/lib -L$(CLIB)
LIBSAL=-lsal -lacc
ECHO=$(ORACLE_HOME)/bin/echodo
OBJS= sample1.o
# CK Leave this in. I might get this makefile working correctly
# at some future date.
#HDRS = cs_alloc_segment.h \
# orafunc.h
GET = get
GFLAGS =
CFLAGS= -O -DNDEBUG
# Acct Targets
AC_PRODUCTION_TARGETS= \
sample1
ac_production_targets: $(AC_PRODUCTION_TARGETS)
sample1: $(OBJS) \
$(PROC) $(PROCPLSFLAGS) iname=sample1.pc
@$(ECHO) $(CC) $(CFLAGS) -w0 -I $(CINC) $(LDFLAGS) \
-o sample \
$(PROLDLIBS) $(CLIB)/libacc.a \
-DSCRIPT_HARNESS sample1.c
rm sample1.c sample1.o
The reason I am doing this, is that the place where I'm currently working are trying to choose between NT/SQL-Server and Linux/Oracle. I am trying to prove that the latter is the better development/production platform. If you could give me any help on the above, I would be grateful.
regards
Tim

I have experienced similar to your PRO*C problems when trying to
compile the code containing function with variable number of
arguments (ellipse). The Pro*C complaind about the line
containing: va_list args;. It simply seems that in 8i version of
Oracle the PRO*C is not capable to preprocess this kind of
construct (and in your example there are more constructs it does
not cope with ;-).
My workaround was to set PARSE=PARTIAL option. Then the PRO*C is
only pre-processing the code found in declare sections and in
EXEC SQL sections. This means that the pre-processor will work
fine if you don't put the 'unparsable' constructs in any of
these sections. It worked for me... at least.
Regards,
P.

Similar Messages

  • Pro*Cobol PCO Compilation problem in Linux

    Hi,
    DB :oracle 11g on RHEL 5.5
    when we are compiling the (Pro*cobol ) PCO code it is giving us the error :
    System default option values taken from: /oracle/oracle11g/app/product/11.2.0/dbhome_1/precomp/admin/pcbcfg.cfg
    Error at line 320, column 35 in file BR2385.PCO
    WHERE A.SOC_NO = :PARAM-SOC
    ..................................1
    PCB-S-00223, Undeclared variable "PARAM-SOC".
    when we change the pcbcfg.cfg file with flag : declare_section=no it's compile without error.
    But in this scenario cobol app doesn't run.
    if we declare the undeclared variable in the section
    EXEC SQL BEGIN DECLARE SECTION END-EXEC.
    PARAM-SOC PIC X(25).
    EXEC SQL END DECLARE SECTION END-EXEC.
    and compile it with declare_section=yes then cobol app. run fine.
    Are different files generated (cob,int,gnt) after compilation with the option declare_section=no and declare_section=yes.
    Pls help us in this regards. we have lot of file which having these issue and we don't want to do manual changes "EXEC SQL BEGIN" in it.
    Thanks in advance..

    Your code is faulty and has to be fixed.
    No compilation problem is present, the compiler correctly barfs.
    As this is not a support forum, kindly keep your non-issues out of this forum.
    Thank you!!!
    Sybrand Bakker
    Senior Oracle DBA

  • Pro*C 8051 problem AIX -- Linux

    Hello. This is my problem trying to port an application from AIX
    to Linux.
    I installed redhat 6.0 on PII350 128Mb ram. kernel 2.2.5
    I installed Oracle 8051 enterprise edition, the glibcpatch,
    inserted
    the defines:
    define=_STDIO_H
    define=_STRING_H
    define=_STDLIB_H
    into pcscfg file
    I am able to compile the sample files (I tried for sample1 and
    sample2, inserting the size_t definition into .pc files) so pro*C
    is ok.
    Trying to porting from AIX 4.3.2 to linux an application:
    I inserted the demo_proc.mk file for settings into the original.
    I run:
    make -r VER=linux -f bz201l.mk \
    /aixdev/S6/security/lib/liblinux/bz201l.a
    Into the original .pc file there were
    #include <stdarg.h>
    #include <stddef.h>
    and leaving them inside I got
    Error at line 29, column 10 in file
    /aixdev/S6/security/source/bz201l00.pc
    #include <stdarg.h>
    .........1
    PCC-S-02015, unable to open include file
    So I cut them from the .pc file and so:
    Syntax error at line 23, column 48, file ../include/bz201.h:
    Error at line 23, column 48 in file ../include/bz201.h
    void(*)(),void(*)() , FILE *, ...);
    ...............................................1
    PCC-S-02201, Encountered the symbol "FILE" when expecting one of
    the following:
    ... auto, char, const, double, enum, float, int, long,
    OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDate,
    OCINumber, OCIRaw, OCIString, register, short, signed,
    sql_context, sql_cursor, static, struct, union, unsigned,
    varchar, void, volatile, a typedef name, exec oracle, exec,
    exec sql, exec sql begin, exec sql type, exec sql var,
    The symbol "enum," was substituted for "FILE" to continue.
    What is the problem? I have to add other define in pcscfg.cfg
    file?
    The header file bz201.h is below
    *BZ201.h - definitions/declarations for BZ201_AcceptSqlcode
    routine
    *Purpose:
    * This file defines the values and functions
    * used for BZ201_AcceptSqlcode routine.
    #ifndef BZ201_END_PARM_LIST
    #define BZ201_END_PARM_LIST 0xF0F0F0F0,__LINE__,__FILE__
    #endif
    /* function prototypes */
    void BZ201_AcceptWSqlcode(
    void(*)(),void(*)() , FILE *, ...);
    if I don't eliminate the stddef and stdarg definitions, but
    add to the proc command line include= setting also these two
    directories
    /usr/i386-glibc20-linux/include/linux and
    /usr/lib/gcc-lib/i386-glibc20-linux/egcs-2.90.29/include
    I have not the errors for the stddef and stdarg but I get an
    error inside the time.h header
    Syntax error at line 135, column 15, file /usr/include/time.h:
    Error at line 135, column 15 in file /usr/include/time.h
    extern size_t strftime __P ((char *__restrict __s, size_t
    __maxsize,
    ..............1
    PCC-S-02201, Encountered the symbol "strftime" when expecting one
    of the following:
    and then also the one reported above in the first case for the
    bz201.h header (also with a core dumped after segm fault).
    Anyone knows how to set correctly the include dirs and/or the
    pcscfg.cfg file?
    Thanks in advance and sorry for the lenght of the message.
    Gianluca
    null

    Gianluca Cecchi (guest) wrote:
    : Hello. This is my problem trying to port an application from
    AIX
    : to Linux.
    : I installed redhat 6.0 on PII350 128Mb ram. kernel 2.2.5
    : I installed Oracle 8051 enterprise edition, the glibcpatch,
    : inserted
    : the defines:
    : define=_STDIO_H
    : define=_STRING_H
    : define=_STDLIB_H
    : into pcscfg file
    : I am able to compile the sample files (I tried for sample1 and
    : sample2, inserting the size_t definition into .pc files) so
    pro*C
    : is ok.
    : Trying to porting from AIX 4.3.2 to linux an application:
    : I inserted the demo_proc.mk file for settings into the
    original.
    : I run:
    : make -r VER=linux -f bz201l.mk \
    : /aixdev/S6/security/lib/liblinux/bz201l.a
    : Into the original .pc file there were
    : #include <stdarg.h>
    : #include <stddef.h>
    : and leaving them inside I got
    : Error at line 29, column 10 in file
    : /aixdev/S6/security/source/bz201l00.pc
    : #include <stdarg.h>
    : .........1
    : PCC-S-02015, unable to open include file
    : So I cut them from the .pc file and so:
    : Syntax error at line 23, column 48, file ../include/bz201.h:
    : Error at line 23, column 48 in file ../include/bz201.h
    : void(*)(),void(*)() , FILE *, ...);
    : ...............................................1
    : PCC-S-02201, Encountered the symbol "FILE" when expecting one
    of
    : the following:
    : ... auto, char, const, double, enum, float, int, long,
    : OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDate,
    : OCINumber, OCIRaw, OCIString, register, short, signed,
    : sql_context, sql_cursor, static, struct, union, unsigned,
    : varchar, void, volatile, a typedef name, exec oracle, exec,
    : exec sql, exec sql begin, exec sql type, exec sql var,
    : The symbol "enum," was substituted for "FILE" to continue.
    : What is the problem? I have to add other define in pcscfg.cfg
    : file?
    : The header file bz201.h is below
    : *BZ201.h - definitions/declarations for BZ201_AcceptSqlcode
    : routine
    : *Purpose:
    : * This file defines the values and functions
    : * used for BZ201_AcceptSqlcode routine.
    : #ifndef BZ201_END_PARM_LIST
    : #define BZ201_END_PARM_LIST 0xF0F0F0F0,__LINE__,__FILE__
    : #endif
    : /* function prototypes */
    : void BZ201_AcceptWSqlcode(
    : void(*)(),void(*)() , FILE *, ...);
    : if I don't eliminate the stddef and stdarg definitions, but
    : add to the proc command line include= setting also these two
    : directories
    : /usr/i386-glibc20-linux/include/linux and
    : /usr/lib/gcc-lib/i386-glibc20-linux/egcs-2.90.29/include
    : I have not the errors for the stddef and stdarg but I get an
    : error inside the time.h header
    : Syntax error at line 135, column 15, file /usr/include/time.h:
    : Error at line 135, column 15 in file /usr/include/time.h
    : extern size_t strftime __P ((char *__restrict __s, size_t
    : __maxsize,
    : ..............1
    : PCC-S-02201, Encountered the symbol "strftime" when expecting
    one
    : of the following:
    : and then also the one reported above in the first case for the
    : bz201.h header (also with a core dumped after segm fault).
    : Anyone knows how to set correctly the include dirs and/or the
    : pcscfg.cfg file?
    : Thanks in advance and sorry for the lenght of the message.
    : Gianluca
    Can I make a suggestion? I don't know too much about the Pro*C
    compiler but I do know of some useful packages on Linux. It may
    be possible to use a standard Linux package called "automake" to
    port the code and set it up for use in a Linux environment. What
    this package basically does is take input files and automatically
    outputs properly made config files to setup the program depending
    on which type of Unix you are porting it to. I would suggest you
    take a look at it's documentation. Here is a good URL:
    http://developer.gnome.org/tools/build.html
    They have a tutorial on how to use the tools and they have some
    other good links ;-)
    Sincerely,
    Kevin M.
    null

  • Pro*C linker problems

    System is Linux Mandrake 6.0 with Oracle 8i, with the 8i patch
    applied.
    What a nightmare that install was! Lots of permission problems,
    unreadable directories, programs with no execute permission on
    them and so on.
    I now have a database up and running, and am trying to get Pro*C
    working. The code was written on RedHat 5.2 with Oracle 8.0.5,
    and worked fine there, so I know it is not a fundamental code
    problem!
    I have patched the pcscfg.cfg file as detailed in the patch FAQ
    (with modifications for the slightly different paths under
    Mandrake Linux).
    When I compile the Pro*c file, I get many "undefined reference
    to 'dbcon'" and "undefined reference to 'ctx'" errors from the
    linker. This occurs whether I use a pre-defined list of specific
    libraries in my own Makefile, or if I use the standard
    demo_proc.mk makefile. I have used nm(1) on every place I can
    think of, to try to find the required library/object, but to no
    avail.
    I appreciate that Oracle have so far only certified Oracle for
    Linux against Redhat 6.0, but surely Mandrake can't be THAT
    different ;-)
    Does anybody have any ideas, known problems etc? I REALLY HOPE
    that I don't have to switch to Redhat as the only solution - no
    problem with Redhat, it would just require a tedious and
    complicated system rebuild, which I don't have the time to do :-(
    TIA
    Mike Holden
    null

    Robert B     gin (self) (guest) wrote:
    : Robert B     gin (guest) wrote:
    : : Since I've last posted, I've installed RedHat 5.2 and
    ditched
    : : Slackware!
    : : (btw, what a breeze - Hat's off to RH! very nice install!).
    : : I've then installed oracle, have managed to setup
    tnsnames.ora
    : : so I can connect via sqlplus to my remote database (on
    : VAX/VMS).
    : : But now I have Pro*C linker problems with:
    : : make -f demo_proc.mk build OBJS=test.o exe=test
    : : (blah,blah,blah)
    : : /usr/lib/crt1.o(.text+0x36): undefined reference to `main'
    : : make: *** [build] Error 1
    : : Does anybody out there have a similar problem?
    : : Rob
    : Duh! forget it... (EXE has to be caps... RTFM)
    : (cryptic error message though?)
    : works great!!!
    Could you please tell me where I can get demo_proc.mk file
    for Linux (RedHat)?
    Thanks
    null

  • Pro*C compiled on 11g should load libclntsh.so of 10g

    Is it possible that a program compiled with ORACLE 11g Pro*C compiler to load libclntsh.so of 10g ?
    My problem is source compiled on 10g works fine for even when connected to 11g database. But it get crashed with compiled on 11g and run in same environment.
    Can any please help?

    Pro*C doesn't compile the program. It just creates a .c file.
    Then you compile and link it with the library libclntsh.so
    libclntsh.so -> libclntsh.so.11.1
    libclntsh.so.10.1 -> libclntsh.so
    To fool the compiler you have to COPY the data of the library:
    mkdir ~/1
    cd ~/1
    cat $ORACLE_HOME/lib/libclntsh.so > libclntsh.so.10.1
    ln -s libclntsh.so.10.1 libclntsh.so
    gcc -L$HOME/1 -lclntshBTW, what do you mean by crashing? If you try to run the compiled program and it can't find the library, it's not a crash

  • Compiling problem in oracle 11g environment

    Hello mates,
    We have recently migrated from oracle10g to oracle11g. we have lot of pro*c and forms programs.
    my requirement is to compile all those pro*c and form programs in 11g.
    for compiling pro*c programs we have compilation scripts. these compilation scripts are prepared
    based on oracle10g. pro*c programs are compiling fine by using this compilation scripts.
    after migrated to 11g, ihave used same 10g compilation scripts to compile pro*c programs.
    1.while compiling the programs first time, i got these errors
    /oracle/app/product/11.2.0.3_cli/lib32/libsql10.a: No such file or directory
    /oracle/app/product/11.2.0.3_cli/rdbms/lib32/kpudfo.o: No such file or directory
    /oracle/app/product/11.2.0.3_cli/lib32/libpls10.a: No such file or directory
    /oracle/app/product/11.2.0.3_cli/lib32/libpls10.a: No such file or directory
    /oracle/app/product/11.2.0.3_cli/lib32/libpls10.a: No such file or directory
    so i have replace all libsql10.a,libpls10.a,libpls10.a,libpls10.a to libsql11.a,libpls11.a,libpls11.a,libpls11.a
    2.then these errors got resolved but second time compilation it shown below error.
    /oracle/app/product/11.2.0.3_cli/rdbms/lib/kpudfo.o: No such file or directory
    so i have removed kpudfo.o file from compilation script.
    3. i have compiled third time then it shown diffrent error as shown below
    ld: fatal: library -lnapt: not found
    ld: fatal: file /oracle/app/product/11.2.0.3_cli/lib/libclntsh.so: wrong ELF class: ELFCLASS64
    ld: fatal: file /oracle/app/product/11.2.0.3_cli/rdbms/lib/cdf.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to ./ebsparam
    i have changed script
    "/usr/local/bin/gcc -m32 -g -DSOLARIS -DSOLARIS2 -I$HOME/include"
    to
    "/usr/local/bin/gcc -m64 -g -DSOLARIS -DSOLARIS2 -I$HOME/include"
    4. then i have compiled again then it shown error as below
    ld: fatal: file /usr18/SIR02551/mydomain/BD/obj/ebsparam.o: wrong ELF class: ELFCLASS32
    ld: fatal: File processing errors. No output written to ./ebsparam
    collect2: ld returned 1 exit status
    because of 32 bit problem i have changed script to 32 to 64. but now it is showing this error
    what is the problem i am not able to understand.
    please help on this
    Thanks
    Edited by: ramadurga.v on Jan 25, 2013 3:10 PM
    Edited by: ramadurga.v on Jan 25, 2013 3:26 PM

    Pl do not post duplicates -
    Compilaton problem in 11g environment
    Compilation problem in 11g environment
    Compilation problem in 11g environment

  • Unresolve compilation problems

    I have narrowed a bug down to three lines of code. I do not see what is wrong with this code. In fact I am so sure of the code I was wondering if it may be a bug in 1.5
    I get the error:
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
         Syntax error, insert "AssignmentOperator Expression" to complete Assignment
         Syntax error, insert ";" to complete Statement
         LVN cannot be resolved
         foo cannot be resolved
         e cannot be resolved
    on the the last line of :
    if (useLVN)
             for(Enumeration e = ilocGen.getRoutines().elements(); e.hasMoreElements();)
                  LVN foo = new LVN((BasicBlock) e.nextElement());LVN is a class who's constructor takes a BasicBlock as an argument. iloc.getRoutines() returns a vector and useLVN is a boolean that is set earlier in the program. The program was fully functional until I inserted these three lines. if I replace the body of the for loop with ";" the code will still execute.
    Has anyone seen this kind of error before? Can someone clue me into what I am doing wrong? or is this something that should be taken to a bug report of some kind?

    I recreated the issue. The error appears in the last line of source code. Below is the full source code for all of the classes. As a note I am using jre1.5.0_06 and eclipse 3.2.1 as my IDE. The operating system I am currently using is Windows XP Pro. (Obviously not that it should matter based on the language in question.)
    File:
    BasicBlock.java
    public class BasicBlock {
         public String str;
         public BasicBlock(String in){
              str = in;
    IlocGenerator.java
    import java.util.Vector;
    public class IlocGenerator {
          Vector routines = new Vector();
          public Vector getRoutines() {
                  return routines;
          public void addRoutine(IlocRoutine in){
              routines.add(in);
    LVN.java
    public class LVN {
         public LVN(BasicBlock in){
              System.out.println(in.str);
    IlocRoutine.java
    import java.util.*;
    public class IlocRoutine {
         private Vector Blocks;
         public IlocRoutine(){
              Blocks = new Vector();
         public void addBasicBlock(BasicBlock in){
              Blocks.add(in);          
         public Vector getBasicBlocks() {
             return Blocks;
    MainProg.java
    import java.util.Enumeration;
    public class MainProg {
         public static void main(String[] args) {
              boolean useLVN = true;
              IlocGenerator ilocGen = new IlocGenerator();
              IlocRoutine iR = new IlocRoutine();
              BasicBlock bB = new BasicBlock("one");
              iR.addBasicBlock(bB);
              bB = new BasicBlock("two");
              iR.addBasicBlock(bB);
              ilocGen.addRoutine(iR);
              iR = new IlocRoutine();
              bB = new BasicBlock("three");
              iR.addBasicBlock(bB);
              bB = new BasicBlock("four");
              iR.addBasicBlock(bB);
              ilocGen.addRoutine(iR);
             if (useLVN)
                  for(Enumeration e = ilocGen.getRoutines().elements(); e.hasMoreElements();)
                       for (Enumeration f = ((IlocRoutine) e.nextElement()).getBasicBlocks().elements(); f.hasMoreElements();)
                            LVN foo = new LVN((BasicBlock) f.nextElement());
    }Message was edited by:
    mtu9000 (added environment information)

  • Pro*C compiling/linking

    I have a Pro*C EXE program on Sun that compiles/links and works fine on that Unix box, which has Pro*C compiler and Oracle 8.05 installed. Apparantly this EXE program is refering to Oracle libraries ar run time. If I take this program on other Sun computer, it gives me an error "ld.so.1: dpn_config: fatal: libclntsh.so.1.0: open failed: No such file or directory"
    How can I create a Pro*C EXE program that will run on similar Sun box that has no Oracle or Pro*C compiler installed?
    There must be some linking parameters in make file I can make use of.
    Thanks for your help.
    Kishor

    Sorry alphasof, but you'll need to have the minimum oracle client software installed on every sun box you move the app to. More than just the libraries are involved, the whole TNS name lookup stuff gets installed, etc. It's more than just trying to statically link in the oracle libraries to your executable.
    If you install the oracle client software, you'll have no problems moving the executable.

  • Re: [iPlanet-JATO] sp3 jsp compiler problem

    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text
    substitution situations, and as a completely independent tool its use is not
    restricted to migration situations (or file types for that matter).
    Second, I sympathize with the unfortunate trouble you are experiencing due to
    Jasper's (perhaps more strict) compilation, but in what way did the iMT
    automated translation contribute to these inconsistencies that you cited?
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a
    translation situation, the only way "OnClick" would have been introduced was if
    it had been part of the pre-existing project's "extraHTML" (which was written
    by the original customer and just passed through unchanged by the iMT) or if it
    was added manually by the post-migration developer.
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be
    similar to the OnClick situation described above?
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no
    equivalent in the NetDynamics world, so any content tags in your code must have
    been introduced by your developers manually. Its a shame that jasper is so
    particular, but the iMT could not help you out here even if we wanted to. The
    constants that are used by the iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can see, the
    only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174144234026000079108238073194105057099246073154180137239239223019162">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    [Non-text portions of this message have been removed]

    Thanks a lot Matt and Mike for your prompt replies.
    I agree completely that iMT doesn't introduce the inconsistencies.
    About the three cases I mentioned, the third one happens only in
    manually created JSPs. So it has nothing to do with iMT. The first
    two are mainly due to the existing HTML code, as you rightly pointed
    out.
    The reason I made the suggestion is since we know that case 1 and 2
    won't pass the japser compiler in sp3, we have to do something about
    it. The best place to do this, in my mind, is iMT. Of course, there
    might be some twists that make it impossible or difficult to do this
    kind of case manipulation or attribute discard.
    Weiguo
    --- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text substitution situations, and as a completely independent
    tool its use is not restricted to migration situations (or file types
    for that matter).
    >
    Second, I sympathize with the unfortunate trouble you are experiencing due to Jasper's (perhaps more strict) compilation, but
    in what way did the iMT automated translation contribute to these
    inconsistencies that you cited?
    >
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a translation situation, the only way "OnClick" would have been
    introduced was if it had been part of the pre-existing
    project's "extraHTML" (which was written by the original customer and
    just passed through unchanged by the iMT) or if it was added manually
    by the post-migration developer.
    >
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be similar to the OnClick situation described above?
    >
    >
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no equivalent in the NetDynamics world, so any content tags
    in your code must have been introduced by your developers manually.
    Its a shame that jasper is so particular, but the iMT could not help
    you out here even if we wanted to. The constants that are used by the
    iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can
    see, the only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    >
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174048139046">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as
    what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    >>
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    Service.
    >
    >
    >
    [Non-text portions of this message have been removed]

  • Servlet Compilation Problem !

    Hi,
    I am just starting to learn servlets and I got problem in compiling them. I got compilation error in
    import javax.servlet.*;statement. Seems that the compiler cannot find the servlet package. I got J2EE 1.4 beta installed on my machine but there is no servlet.jar package. I am using J2SDK 1.4.1_02, J2EE 1.4 beta and Tomcat 4.1.24.
    Can anyone help me with my servlet compilation problem?
    Thanks in advance!
    Josh

    servlet.jar is here :
    <tomcatdir>\common\lib
    add it to your compiler classpath

  • Compilation problem in a JSP page

    Hi all,
    I'm trying to write a jsp page and some java stuff in it.
    It goes something like this -
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1255"%>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1255"/>
        <title>Michael</title>
      </head>
      <body>
    <%
              String strError="";
    %>
    </body>Now the problem is that I get compilation problem about the use in java -
    "String cannot be resolved to a type"
    I know for sure that in other computers it's work, the question is what I'm missing?
    I have Java VM installed and I've downloaded and installed the latest JDK, what else?
    thanks,
    Michael.

    Michael4488 wrote:
    BalusC wrote:
    Then you should be using JSTL/EL.I don't familiar with this technology, any way - Its work on one computer so in my understanding it should work on the other as well.It is not related to the actual problem. It was just a comment on your code. Using scriptlets is considered as bad practice.
    I understand that of course, but I don't use any configuration file or set any special parameters in my computer.
    What exactly does the compiler need in order to recognize the Java code in the JSP page? If i manually add the JAVA_HOME environment variable it will work?
    where should I refer it to? "..\Java\jre1.6.0_07\lib" will do?It must point to the root installation directory of the JDK (thus not the JRE!).

  • I have just subscribed for a monthly billing for my acorbat pro XI, the problem is i have clicked on the link on the email that have sent me to activate it but its still not allowing me to acess this and see my PDF's

    i have just subscribed for a monthly billing for my acrobat pro XI, the problem is i have clicked on the link on the email that have sent me to activate it but its still not allowing me to acess this and see my PDF's, how to i activate my new license?

    Can you explain the problem in more detail - "not allowing me to access" isn't clear to me. If you get any errors, please give the full wording. If you just don't seem to have any useful functions under TOOLS, make sure you are NOT still running Adobe Reader.

  • Titanium Fatal1ty Pro SPDIF game problem

    (Titanium Fatalty Pro SPDIF game problem hi all,
    sorry if this issue reported in the past i but i could not get any answer on any relati've posts, the terminology was so complicated
    i buy?a new pc with a Titanium Fatalty Pro sound card, i use Vista sp2 x64, the sound card is connected to my external amplifier with SPDIF out in order to get surround sound for my movies and my games and here is my problem
    any movies format with surround sound play perfect with out any problem any kind of movie DVD, dvix, mkv?files?etc
    but non of the games i play?use the surround system, why is that? is any?kind of special settings needed to be done? how is possible to get surround to movies and not to the games?
    thanks you all for your time ?

    ,Re: Titanium Fatalty Pro SPDIF game problem? this is really coincidence - I just posted on the very same topic 5 minutes ago.
    for games just go to the Console Entertainment mode > Encoder > Dolby Digital. Although this is not documented I believe what happens is that the sound card encodes the 6 digital channels onto Dolby Digital mode and transfers this over SPDIF. Kok-Choy actually recommend using the standard analogue cables (and he has a point as you are actually upcoding an existing game signal onto Dolby so that your digital receiver can then decode this down to 6 channels - seems a pretty useless overhead)
    for video - I am curious to know what you do - I can either get 96/24 bits on the display of my z5500 with a direct signal but the z5500 receiver then tells me that this signal is only in dolby ProLogic II (and not DD or DTS). As alternati've I use again the encoder and have to select for EACH FILM WHAT IS BEST DOLBY DIGITAL OR DTS. Pls explain what settings you use.
    thanks

  • Premier pro play back screen goes black a freezes every 15 minute . This is my second mac pro with identical problems.

    Premier pro play back screen goes black a freezes every 15 minute . This is my second mac pro with identical problems.

    SOLVED!!!!!
    SO I did some more digging around and read ATI cards seem to overheat easily.  I knew the fan was working, but after closer inspection I realised there was ALOT of built up dust on the card and clogging the fan and airflow.  Blew it out with alot of compressed air, stuck it back in the Mac and BAM...no black screens.  I tested it by streaming 6 video sources...doing 2 screen captures at once as well as watching a HD movie in fullscreen.  Did all this for 30 minutes and no crashes.  I also downloaded an app to monitor the temps inside the computer and the expansion bay stays at 41 degrees.  No clue what it was before but obviously it was hotter than that.  So my problem is solved!  Funny that 10.7.5 made the card work harder.  I wonder if its off loading some CPU stuff to the GPU for processing more than 10.7.4 so its just working a bit harder and so it heats up faster....

  • Compilation problem on solaris9  x86

    I am working on JAVA/J2EE . Am new to solaris9 . My requirement is to compile a source distribution of MOD-JK 1.2.21 (apache 2.0 server connector)and to produce binary distribution (*.so file) in solaris9 X86 box. But i got only source distribution of solaris10 X86 platform . Even with this source i tried to compile in solaris9 box its giving some error message and i can't able to make a executable file. Below i pasted the error message .
    # ./configure -with-apxs=/usr/apache2/bin/apxs
    checking build system type... i386-pc-solaris2.10
    checking host system type... i386-pc-solaris2.10
    checking target system type... i386-pc-solaris2.10
    checking for a BSD-compatible install... scripts/build/unix/install-sh -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... no
    checking for nawk... nawk
    checking whether make sets $(MAKE)... no
    checking for gcc... no
    checking for cc... cc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    Can any body help me in this regards. Even i don't know, am proceeding in right direction to compile this file. If any body having the binary distribution for the same MOD-JK1.2.21 on solaris9 or solaris10 X86 platform for apache2.0 . please help me to compile this file .I given below the config.log file entries also.
    Thanks in advance..........
    karthikeyan.u
    [email protected]
    AIM or AOL :: karthikeyanu
    CONFIG.log entries......
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by configure, which was
    generated by GNU Autoconf 2.59. Invocation command line was
    $ ./configure -with-apxs=/usr/apache2/bin/apxs
    ## Platform. ##
    hostname = Solaris
    uname -m = i86pc
    uname -r = 5.10
    uname -s = SunOS
    uname -v = Generic_118844-26
    /usr/bin/uname -p = i386
    /bin/uname -X = System = SunOS
    Node = Solaris
    Release = 5.10
    KernelID = Generic_118844-26
    Machine = i86pc
    BusType = <unknown>
    Serial = <unknown>
    Users = <unknown>
    OEM# = 0
    Origin# = 1
    NumCPU = 1
    /bin/arch = i86pc
    /usr/bin/arch -k = i86pc
    /usr/convex/getsysinfo = unknown
    hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /usr/openwin/bin
    PATH: /usr/ucb
    ## Core tests. ##
    configure:1546: checking build system type
    configure:1564: result: i386-pc-solaris2.10
    configure:1572: checking host system type
    configure:1586: result: i386-pc-solaris2.10
    configure:1594: checking target system type
    configure:1608: result: i386-pc-solaris2.10
    configure:1640: checking for a BSD-compatible install
    configure:1695: result: scripts/build/unix/install-sh -c
    configure:1706: checking whether build environment is sane
    configure:1749: result: yes
    configure:1814: checking for gawk
    configure:1843: result: no
    configure:1814: checking for mawk
    configure:1843: result: no
    configure:1814: checking for nawk
    configure:1830: found /usr/bin/nawk
    configure:1840: result: nawk
    configure:1850: checking whether make sets $(MAKE)
    configure:1874: result: no
    configure:2085: checking for gcc
    configure:2114: result: no
    configure:2165: checking for cc
    configure:2181: found /usr/ucb/cc
    configure:2191: result: cc
    configure:2355: checking for C compiler version
    configure:2358: cc --version </dev/null >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2361: $? = 1
    configure:2363: cc -v </dev/null >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2366: $? = 1
    configure:2368: cc -V </dev/null >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2371: $? = 1
    configure:2394: checking for C compiler default output file name
    configure:2397: cc conftest.c >&5
    /usr/ucb/cc: language optional software package not installed
    configure:2400: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "mod_jk"
    | #define VERSION "1.2.21"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:2439: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=i386-pc-solaris2.10
    ac_cv_build_alias=i386-pc-solaris2.10
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=
    ac_cv_env_CXXFLAGS_value=
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_F77_set=
    ac_cv_env_F77_value=
    ac_cv_env_FFLAGS_set=
    ac_cv_env_FFLAGS_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=i386-pc-solaris2.10
    ac_cv_host_alias=i386-pc-solaris2.10
    ac_cv_prog_AWK=nawk
    ac_cv_prog_ac_ct_CC=cc
    ac_cv_prog_make_make_set=no
    ac_cv_target=i386-pc-solaris2.10
    ac_cv_target_alias=i386-pc-solaris2.10
    ## Output variables. ##
    ACLOCAL='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run aclocal-1.9'
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run tar'
    APACHE20_OEXT=''
    APACHE_CONFIG_VARS=''
    APACHE_DIR=''
    APXS=''
    APXSCFLAGS=''
    APXSCPPFLAGS=''
    APXSLDFLAGS=''
    AR=''
    AUTOCONF='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run autoconf'
    AUTOHEADER='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run autoheader'
    AUTOMAKE='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run automake-1.9'
    AWK='nawk'
    CC='cc'
    CCDEPMODE=''
    CFLAGS=''
    CP=''
    CPP=''
    CPPFLAGS=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    ECHO='echo'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    F77=''
    FFLAGS=''
    GREP=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    INSTALL_TYPE=''
    JAVA_HOME=''
    JK_JNI_WORKER=''
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIB_JK_TYPE=''
    LN_S=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/missing --run makeinfo'
    MAKE_DYNAMIC_APACHE_FALSE=''
    MAKE_DYNAMIC_APACHE_TRUE=''
    MKDIR=''
    OBJEXT=''
    OS=''
    PACKAGE='mod_jk'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PERL=''
    RANLIB=''
    RM=''
    SED=''
    SET_MAKE='MAKE=make'
    SHELL='/bin/bash'
    STRIP=''
    TEST=''
    VERSION='1.2.21'
    WEBSERVER=''
    ac_ct_AR=''
    ac_ct_CC='cc'
    ac_ct_CXX=''
    ac_ct_F77=''
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    apache_include=''
    bindir='${exec_prefix}/bin'
    build='i386-pc-solaris2.10'
    build_alias=''
    build_cpu='i386'
    build_os='solaris2.10'
    build_vendor='pc'
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host='i386-pc-solaris2.10'
    host_alias=''
    host_cpu='i386'
    host_os='solaris2.10'
    host_vendor='pc'
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    install_sh='/export/home/dump_208/workspace_SB_563/modjk/ModJK1/modjk/jkk/tomcat-connectors-1.2.21-src/native/scripts/build/unix/install-sh'
    int32_t_fmt=''
    int32_value=''
    int64_t_fmt=''
    int64_value=''
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    mkdir_p='$(install_sh) -d'
    oldincludedir='/usr/include'
    prefix='NONE'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='i386-pc-solaris2.10'
    target_alias=''
    target_cpu='i386'
    target_os='solaris2.10'
    target_vendor='pc'
    uint32_t_fmt=''
    uint32_t_hex_fmt=''
    uint64_t_fmt=''
    uint64_t_hex_fmt=''
    ## confdefs.h. ##
    #define PACKAGE "mod_jk"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define VERSION "1.2.21"
    configure: exit 77

    You need to make sure the source is for the same version i.e. if you run apache 2.0.52 you need the source of 2.0.52. I successfully ran mixed installs, but I would not recommend it. You can download the required source from Apache.
    As for your compiler problem, make sure you have �/usr/ccs/bin/� in the your path, if you do not have it installed you will have to add the pkg �SUNWsprot�. You do not have 'make' in yout path.
    Make sure you have the following packages installed:
    SUNWbtool, SUNWsprot, SUNWtoo
    SUNWhea, SUNWarc, SUNWlibm, SUNWlibms
    SUNWdfbh, SUNWcg6h, SUNWxwinc, SUNWolinc,
    SUNWxglh,SUNWarcx, SUNWbtoox, SUNWdplx,
    SUNWscpux, SUNWsprox, SUNWlmsx, SUNWlmx
    SUNWlibCx, SUNWtoox, SUNWsra, SUNWsrh

Maybe you are looking for

  • New E3000 Constantly Restarting Itself

    Had the problem sporadically last night but it had finally stopped after I reset everything. About 30 minutes ago it randomly began doing it again. If I remove the internet connection (hooked directly to the cable modem to put this in) it seems just

  • Info view not recognizing correct processor family

    pc wizard 2004 recognizes my processor as a Thoroughbred core but info view recognizes it as a duron processor.  whats the problem here? could it be the bios or something? thanks for any help K7N2GM-L Athlon XP 2000+ @ 1.67 need anything else?

  • Number of bpms in pi

    Is there any limitations on the number of bpms that can be created in PI at one time? We have a idoc to file scenario (bpm). The peak volume could be say 5000 idocs at one time. and each will create its own bpm instance.

  • How to install new bios??

    hi guys first time i post here.. i have a question.. i just download it the 12a bios from this page how can i install it?? i have no idea.. im, a newbee i just buy a AMD 3400 clawhammer MSI K8N platinium 2x515 corsair value pack shappire x800xt plati

  • Applecare+ international?

    According to the sixth point in the applecare+ agreement "6.2 Apple reserves the right to change the method by which Apple may provide repair or replacement service to you, and your Covered iPhone’s eligibility to receive a particular method of servi