Problem with Pro*C Precompiler in 10gR2

To test whether my pro*c precompiler was working, I copied a sample program and tried running it through the precompiler. I am running Fedora 6 on Linux X86-64
This was what I got.
proc iname=sample1.pc ltype=long
Pro*C/C++: Release 10.2.0.1.0 - Production on Sat Aug 18 01:53:49 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from: /u01/app/oracle/product/10.2.0/db_1/precomp/admin/pcscfg.cfg
Syntax error at line 72, column 26, file /usr/include/gconv.h:
Error at line 72, column 26 in file /usr/include/gconv.h
unsigned char **, size_t *, int, int);
.........................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 88, column 7, file /usr/include/gconv.h:
Error at line 88, column 7 in file /usr/include/gconv.h
size_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 "enum," was substituted for "size_t" to continue.
Syntax error at line 97, column 6, file /usr/include/gconv.h:
Error at line 97, column 6 in file /usr/include/gconv.h
size_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 "enum," was substituted for "size_t" to continue.
Syntax error at line 106, column 3, file /usr/include/gconv.h:
Error at line 106, column 3 in file /usr/include/gconv.h
__gconv_trans_fct __trans_fct;
..1
PCC-S-02201, Encountered the symbol "__gconv_trans_fct" when expecting one of th
e following:
char, const, double, enum, float, int, long, ulong_varchar,
OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
struct, union, unsigned, utext, uvarchar, varchar, void,
volatile, a typedef name,
Syntax error at line 0, column 0, file sample1.pc:
Error at line 0, column 0 in file sample1.pc
PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:
; : an identifier, end-exec, random_terminal
Error at line 0, column 0 in file sample1.pc
PCC-F-02102, Fatal error while doing C preprocessing
This is what I have in pcsfg.cfg
sys_include=(/build/s630/precomp/public,/usr/include,/opt/gcc33/lib64/gcc-lib/x86_64-suse-linux/3.3/include,/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/include,/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/include,/usr/include/linux,/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include)
ltype=short
define=__x86_64__
include=(/u01/app/oracle/product/10.2.0/db_1/precomp/public)
include=/u01/app/oracle/product/10.2.0/db_1/precomp/hdrs
I would be very grateful for any help.
Thanks

Thanks very much for your help. With code=CPP the size_t error disappears. But will that produce Pro C code in C format ?
I ran into another problem.
[oracle@Falcon source]$ proc iname=sample1.pc ltype=long code=CPP
Pro*C/C++: Release 10.2.0.1.0 - Production on Sun Aug 19 08:33:31 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from: /u01/app/oracle/product/10.2.0/db_1/precomp/admin/pcscfg.cfg
Semantic error at line 19, column 22, file sample1.pc:
EXEC SQL CONNECT :userid;
.....................1
PCC-S-02322, found undefined identifier
Semantic error at line 25, column 23, file sample1.pc:
WHERE deptno = :dept_number;
......................1
PCC-S-02322, found undefined identifier
Semantic error at line 38, column 39, file sample1.pc:
EXEC SQL FETCH emp_cursor INTO :emp_name;
......................................1
PCC-S-02322, found undefined identifier
[oracle@Falcon source]$ vi sample1.pc
Where this is the code.
[oracle@Falcon source]$ cat sample1.pc
#include <stdio.h>
/* declare host variables */
char userid[18] = "PRODUSER/PRODUSER";
char emp_name[10];
int emp_number;
int dept_number;
char temp[32];
void sql_error();
/* include the SQL Communications Area */
#include <sqlca.h>
main()
{ emp_number = 7499;
/* handle errors */
EXEC SQL WHENEVER SQLERROR do sql_error("Oracle error");
/* connect to Oracle */
EXEC SQL CONNECT :userid;
printf("Connected.\n");
/* declare a cursor */
EXEC SQL DECLARE emp_cursor CURSOR FOR
SELECT ename
FROM emp
WHERE deptno = :dept_number;
printf("Department number? ");
gets(temp);
dept_number = atoi(temp);
/* open the cursor and identify the active set */
EXEC SQL OPEN emp_cursor;
printf("Employee Name\n");
printf("-------------\n");
/* fetch and process data in a loop
exit when no more data */
EXEC SQL WHENEVER NOT FOUND DO break;
while (1)
EXEC SQL FETCH emp_cursor INTO :emp_name;
printf("%s\n", emp_name);
EXEC SQL CLOSE emp_cursor;
EXEC SQL COMMIT WORK RELEASE;
exit(0);
void sql_error(msg)
char *msg;
char buf[500];
int buflen, msglen;
EXEC SQL WHENEVER SQLERROR CONTINUE;
EXEC SQL ROLLBACK WORK RELEASE;
buflen = sizeof (buf);
sqlglm(buf, &buflen, &msglen);
printf("%s\n", msg);
printf("%*.s\n", msglen, buf);
exit(1);
Why won't it recognize userid ? And that is a valid login/password.

Similar Messages

  • Problems with Pro Tools 8, is it the software?

    Hello, I know this is "Apple Discussions", but since I'm using Pro tools 8 with the new macbook pro, I might get some answers here. I recently bought pro tools 8, I already have logic though, but wanted to be in the pro tools world too so, the thing is that every time I use Pro Tools 8 with the digi 003, the session Im working on will stop with just a few plugins, and man this happens a lot, on the other hand is that nothing happens when I use the digi 003 with Logic 8, I mean, I could have like 20 plugins and It would not stop at all. Can anyone identify with this problem with pro tools 8, Because people tell me that on pro tools 7.4 that doesnt happen at all.
    Thank you...

    PT8 is much better with plug ins than PT7x, but is not in the league of Logic. I am a huge PT fan and use both Logic and PT8, and as much as I love the look and superior interface of PT8, Logic is like an ugly old car that goes 200 MPH. It's a performance beast. I've had ridiculous amounts of plug ins in Logic with not a whimper from the program.
    PT8 is much more sensitive to things like whether you are using Firewire drives to record to (as opposed to internal SATAs on a Mac Pro), and many 3rd party plugs cause PT much grief. For high track counts and lots of plug ins, Logic is still King Kong.
    TH
    Message was edited by: Tom Hartman1

  • Problem with Pro*C reading BLOB field from Oracle 10g

    Hello Experts,
    We have a Pro*c application which is reading the BLOB data fields (a PNG image file) from Oracle data base. It holds the BLOB fields returned from the SQL query into a Unsigned Char structure in Pro*C. The program used work fine on AIX 32 – bit 4.3 and Oracle 8.1 environment.
    Recently, we have upgraded the environment to AIX 64-bit 5.3 and Oracle 10g.Since after the Pro*c program has problem in reading the Blob filed.
    Below is the query we are trying to execute –
    EXEC SQL
    SELECT
    signtre_image, image_file_name_ext
    INTO
    :msipLocalImage INDICATOR :msipLocalImage_i,
    :file_name_ext INDICATOR :file_name_ext_i
    FROM
    dcs_sign
    WHERE
    signtre_nbr = :signtre_nbr;
    Here signtre_image is the BLOB fields and msipLocalImage is a Pro*C structure define as below –
    typedef struct tagSignImage
    long len; /* Image length */
    unsigned char img[1]; /* Pointer to first byte. */
    } MOTS_SIGN_IMAGE;
    The quesry does not give any error or exception message in the Pro*C , program just stops at the point of executing the quesry..When we run the query commenting the BLOB filed it works fine. Also, the query runs good when we run it in the Oracle editor.
    There seems to be problem with the way we are reading the BLOB field in the new Oracle 10g enviromet.
    Does any body have any idea what’s wrong with this query? We really need it to work.
    Any Help will be greatly appreciated.
    Thanks,
    - Rajan Yadav

    Thanks a ton for your response.
    We made the necessary changes as suggested by you.This time we got another flavour of error - SQL Error Code - Inconsistent error while reading BLOB.
    Another thing we noticed is that the data field which we are trying to read is defined as LONG RAW instead of a BLOB in data base.
    Are these two things related in any sense or is there anything else which is causing the error.
    Once again Thanks for your help.
    - Rajan Yadav

  • Problem with Pro*C

    When trying to generate C-Code of the sample programs with the Pro*C compiler on a Redhat 9 Linux and Oracle 8.1.7, I have a problem with typedef __builtin_va_ as shown below. The $ORACLE_HOME/precomp/admin/pcscfg.cfg contains the following entries:
    sys_include=(/usr/include,/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include)
    include=(/usr/include/linux)
    include=(/usr/lib/gcc-lib/i386-redhat-linux7/2.96/include)
    include=(/usr/local/oracle/product/8.1.7/precomp/public)
    include=/usr/local/oracle/product/8.1.7/precomp/syshdr
    include=/usr/local/oracle/product/8.1.7/rdbms/public
    include=/usr/local/oracle/product/8.1.7/rdbms/demo
    ltype=short
    ================
    Pro*C/C++: Release 8.1.7.0.0 - Production on Mon Jun 7 13:26:06 2004
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    System default option values taken from: /usr/local/oracle/product/8.1.7/precomp/admin/pcscfg.cfg
    Syntax error at line 43, column 9, file /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:
    Error at line 43, column 9 in file /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/incl
    ude/stdarg.h
    typedef __builtin_va_list __gnuc_va_list;
    ........1
    PCC-S-02201, Encountered the symbol "__builtin_va_list" when expecting one of th
    e 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,
    The symbol "enum," was substituted for "__builtin_va_list" to continue.

    Sorry! I have not explain it clearly.
    To solve it , you do following :
    1. locate stdarg.h ( or find /usr -name stdarg.h ), assume you find a stdarg.h in /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h
    2.ln -s /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h /usr/include/stdarg.h or cp /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h /usr/include
    ( above 2 step was to make Pro*C can find stdarg.h in /usr/include )
    3. for file stddef.h do like step 1,2
    4. append a line in your Pro*C config file:
    CODE=ANSI_C
    null

  • External Hard Drive & Problems With Pro Tools LE

    Alright... my friend has the same computer as me, Powerbook G4, with the same specs and everything (OSX 10.3.9), and has a Digi 002 Rack with Pro Tools LE 6.2.2 He can record and playback everything perfectly through his Lacie 150 GB external HD. However, when i installed the software on my laptop and tried to load the same files he was working on, i get an error message that tells me that the audio files are "unsuitable for playback" and that the Lacie HD is "not an audio playback volume", which it really is!! The only way to get the songs to play, is to copy all the files onto my internal HD... then it all works fine. (besides the fact that is uses up all my memory!!!) Is there any way to fix this problem?? Some update or driver that i'm missing?? I'm assuming it has something to do with my laptop software/hardware??? ALSO, i run Final Cut Pro, and it won't let me set my external HD as the target disk, because it is, again, unsuitable for playback!!! I have to import tapes to the internal, then send them to the external after the fact! really annoying....
    ANY help would be greatly appreciated!!!!!!

    How big is the drive?  It's possible that Spotlight indexing is running and slowing things down.  If you are unplugging the drive when you run into problems, the indexing will never complete and will start again the next time you plug in the drive.  You can exclude the external drive from being indexed in the Spotlight system preferences:
    You might also want to use Disk Utility to check the disk for errors, especially if you've been unplugging it while activity has been going on.

  • Problems with pro mouse

    Finally got a Pro Mouse for my G4 (still non-mac keyboard though). But it seems that there is a problem with the mouse now. I got it second hand from a friend and saw it working on his computer, but I plug it in to mine and I get no response! I've tried plugging it into different ports and restarting the computer with no luck...any suggestions?

    Thanks Barry,
    I just tried to do what you said in your answer and after restarting the computer everything worked fine for a short period of time, after that everything was as before.
    I took the magic mouse to an apple store a couple of days ago, they tried it in several computers and everything was fine. I also checked my macbook's bluetooth with other devices and I didn't find any problems.
    I still have until monday to fix the issue before the 14 day trial period expires, so you are welcome if you have any more suggestions.
    Thanks again to everybody trying to help
    Miguel

  • Problems with Pro*C and the double datatype

    Hi!
    I'm working with Pro*C 8.1.7 on HPUX 11.0, but I've a problem
    with the datatype double.
    On runtime, I got a Bus Error (core dumped) when try assign a
    double bind_variable (Pro*C) with a double variable (ANSI_C)
    For example:
    typedef struct xxxx
    float item_ANSI_C;
    double variable_ANSI_C;
    } xxxx;
    void procedure_name()
    EXEC SQL BEGIN DECLARE SECTION;
    xxxx *POINTER;
    double double_bind_variable_PRO*C;
    EXEC SQL END DECLARE SECTION;
    EXEC SQL WHENEVER SQLERROR DO (...);
    for (i = 0; ; i++)
    EXEC SQL WHENEVER NOT FOUND DO break;
    EXEC SQL FETCH cursor INTO (...),
    :double_bind_variable_PRO*C,
    POINTER.item_ANSI_C = other_bind_variable_PRO*C;
    (***)POINTER[i].variable_ANSI_C = double_bind_variable_PRO*C;
    (***): In this point the program throw BusError(core dumped).
    However, the float datatype does not.
    ------- End Example -------------
    Somebody have any solution for this problem? Please.
    Thanks, in advance.
    Alex.

    Hi Franz,
    Though it's a bit late, I'll leave this trace for those who follow.
    IRecordset also has Fields->Item.
    What might work is:
    IField * field;
    field = rec->Fields->Item(0);
    field->get_Value(0); (or something similar for your environment).                
    I couldn't find any documentation either.
    The C++ examples are not overwhelming, are they?
    Worse, they are not supported. Otherwise SBO-support is very hilfsbereit.
    Cheers,
    Evert

  • Problem with Pro Retina

    Hi,
    I have had my MacBook Pro with Retina for about 48 hours and so far it has switched itself off about 9 times and gone to a white screen saying it has encountered a problem and needs to shut down and help would be amazing.......this is the error report
    Interval Since Last Panic Report:  9163 sec
    Panics Since Last Report:          4
    Anonymous UUID:                    985A1E2C-F455-46D1-8098-30852A3B1D86
    Fri Aug 17 12:35:32 2012
    panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff7f823d19b1, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x00000000feedbef7, CR3: 0x000000001442e003, CR4: 0x00000000001606e0
    RAX: 0xffffff7f823d1a84, RBX: 0x0000000000000077, RCX: 0x00000000feedbeef, RDX: 0x0000000000ae85cc
    RSP: 0xffffff80f434b9b0, RBP: 0xffffff80f434b9c0, RSI: 0xffffff801ad88a00, RDI: 0xffffff801acff000
    R8:  0xffffff80e45c6670, R9:  0x0000000000000000, R10: 0xffffff7f823d2e6c, R11: 0xffffff8015e305e8
    R12: 0xffffff80177b9988, R13: 0xffffff801acff000, R14: 0xffffff80d39cc000, R15: 0xffffff801acff000
    RFL: 0x0000000000010282, RIP: 0xffffff7f823d19b1, CS:  0x0000000000000008, SS:  0x0000000000000010
    CR2: 0x00000000feedbef7, Error code: 0x0000000000000002, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80f434b660 : 0xffffff8000220792
    0xffffff80f434b6e0 : 0xffffff80002c4794
    0xffffff80f434b890 : 0xffffff80002da55d
    0xffffff80f434b8b0 : 0xffffff7f823d19b1
    0xffffff80f434b9c0 : 0xffffff7f823d5f7d
    0xffffff80f434bb00 : 0xffffff7f823d2ed4
    0xffffff80f434bb60 : 0xffffff800065593e
    0xffffff80f434bb80 : 0xffffff800065621a
    0xffffff80f434bbe0 : 0xffffff80006569bb
    0xffffff80f434bd20 : 0xffffff80002a3f08
    0xffffff80f434be20 : 0xffffff8000223096
    0xffffff80f434be50 : 0xffffff80002148a9
    0xffffff80f434beb0 : 0xffffff800021bbd8
    0xffffff80f434bf10 : 0xffffff80002af140
    0xffffff80f434bfb0 : 0xffffff80002dab5e
          Kernel Extensions in backtrace:
             com.apple.driver.AppleIntelHD4000Graphics(7.2.8)[6B02D782-A79F-399C-81FD-353EBF F2AB81]@0xffffff7f823c9000->0xffffff7f8242ffff
                dependency: com.apple.iokit.IOPCIFamily(2.7)[C0404427-3360-36B4-B483-3C9F0C54A3CA]@0xffffff 7f80829000
                dependency: com.apple.iokit.IONDRVSupport(2.3.4)[474FE7E9-5C79-3AA4-830F-262DF4B6B544]@0xff ffff7f8088d000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[EF26EBCF-7CF9-3FC7-B9AD-6C0C27B89B2B]@0 xffffff7f80854000
    BSD process name corresponding to current thread: Google Chrome He
    Mac OS version:
    11E2620
    Kernel version:
    Darwin Kernel Version 11.4.2: Wed May 30 20:13:51 PDT 2012; root:xnu-1699.31.2~1/RELEASE_X86_64
    Kernel UUID: 25EC645A-8793-3201-8D0A-23EA280EC755
    System model name: MacBookPro10,1 (Mac-C3EC7CD22292981F)
    System uptime in nanoseconds: 6563306129534
    last loaded kext at 7357761562: com.apple.driver.AppleHWSensor          1.9.5d0 (addr 0xffffff7f824ed000, size 28672)
    last unloaded kext at 100749901807: com.apple.iokit.IOEthernetAVBController          1.0.1b1 (addr 0xffffff7f818d7000, size 20480)
    loaded kexts:
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AGPM          100.12.69
    com.apple.driver.ApplePlatformEnabler          2.0.5d3
    com.apple.driver.X86PlatformShim          5.0.0d8
    com.apple.driver.AppleHDA          2.2.3f13
    com.apple.driver.AppleMikeyDriver          2.2.3f13
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleIntelHD4000Graphics          7.2.8
    com.apple.driver.AppleSMCPDRC          5.0.0d8
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.iokit.IOBluetoothSerialManager          4.0.7f2
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.GeForce          7.2.8
    com.apple.driver.AppleSMCLMU          2.0.1d2
    com.apple.driver.AudioIPCDriver          1.2.3
    com.apple.driver.ApplePolicyControl          3.1.32
    com.apple.driver.AppleMuxControl          3.1.32
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.driver.AppleIntelFramebufferCapri          7.2.8
    com.apple.driver.AppleUSBTCButtons          227.6
    com.apple.driver.BroadcomUSBBluetoothHCIController          4.0.7f2
    com.apple.driver.AppleUSBTCKeyboard          227.6
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          33
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.0.4
    com.apple.driver.AirPort.Brcm4331          560.7.21
    com.apple.driver.AppleSDXC          1.2.2
    com.apple.driver.AppleUSBHub          5.0.8
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleAHCIPort          2.3.0
    com.apple.driver.AppleUSBEHCI          5.0.7
    com.apple.driver.AppleUSBXHCI          1.0.7
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleACPIButtons          1.5
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.5
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          195.0.0
    com.apple.nke.applicationfirewall          3.2.30
    com.apple.security.quarantine          1.3
    com.apple.security.TMSafetyNet          8
    com.apple.driver.AppleIntelCPUPowerManagement          195.0.0
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.2.1
    com.apple.driver.DspFuncLib          2.2.3f13
    com.apple.iokit.IOSurface          80.0.2
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.iokit.IOAudioFamily          1.8.6fc18
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleHDAController          2.2.3f13
    com.apple.iokit.IOHDAFamily          2.2.3f13
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleGraphicsControl          3.1.32
    com.apple.driver.X86PlatformPlugin          5.1.1d6
    com.apple.driver.AppleSMC          3.1.3d10
    com.apple.driver.IOPlatformPluginFamily          5.1.1d6
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.nvidia.nvGK100hal          7.2.8
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.NVDAResman          7.2.8
    com.apple.iokit.IONDRVSupport          2.3.4
    com.apple.iokit.IOGraphicsFamily          2.3.4
    com.apple.driver.AppleUSBBluetoothHCIController          4.0.7f2
    com.apple.iokit.IOBluetoothFamily          4.0.7f2
    com.apple.driver.AppleThunderboltDPInAdapter          1.8.4
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.8.4
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.5
    com.apple.driver.AppleUSBMultitouch          230.5
    com.apple.iokit.IOUSBHIDDriver          5.0.0
    com.apple.driver.AppleUSBMergeNub          5.0.7
    com.apple.driver.AppleUSBComposite          5.0.0
    com.apple.driver.AppleThunderboltNHI          1.6.0
    com.apple.iokit.IOThunderboltFamily          2.0.3
    com.apple.iokit.IO80211Family          420.3
    com.apple.iokit.IONetworkingFamily          2.1
    com.apple.iokit.IOUSBUserClient          5.0.0
    com.apple.iokit.IOAHCIFamily          2.0.8
    com.apple.iokit.IOUSBFamily          5.0.8
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.7.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          177.5
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.driver.DiskImages          331.7
    com.apple.iokit.IOStorageFamily          1.7.2
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.5
    com.apple.iokit.IOPCIFamily          2.7
    com.apple.iokit.IOACPIFamily          1.4
    Model: MacBookPro10,1, BootROM MBP101.00EE.B00, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 2.3f32
    Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 512 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (5.106.198.19.21)
    Bluetooth: Version 4.0.7f2, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en0
    Serial ATA Device: APPLE SSD SM256E, 251 GB
    USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1a100000 / 2
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8510, 0x1a110000 / 3
    USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1d100000 / 2
    USB Device: hub_device, 0x0424  (SMSC), 0x2512, 0x1d180000 / 3
    USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0263, 0x1d182000 / 5
    USB Device: BRCM20702 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x1d181000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8286, 0x1d181300 / 8

    Do you have the very latest version of Google Chrome? There were some problems with it and the rMBP when it first came out...
    Clinton

  • Problem with Pro*C/C++ complie in linux

    I install Oracle8.1.7 in my Mandrake 7.2 ( like redhat7.1) , and it works well except with proc not works well.
    when I complie the precomp demo program, it gives much errors. I note the proc config file length was zero.
    The following is errors I get when do:
    cd precomp/demo/proc
    make -f demo_proc.mk sample1
    it print very large errors, like follow:
    Pro*C/C++: Release 8.1.7.0.0 - Production on PGFZNe 7TB 6 11:46:04 2001
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    System default option values taken from: /home/u01/precomp/admin/pcscfg.cfg
    Error at line 33, column 11 in file /usr/include/stdio.h
    # include <stddef.h>
    ..........1
    PCC-S-02015, unable to open include file
    Error at line 38, column 11 in file /usr/include/stdio.h
    # include <stdarg.h>
    ..........1
    PCC-S-02015, unable to open include file
    Error at line 29, column 10 in file /usr/include/bits/types.h
    #include <stddef.h>
    .........1
    PCC-S-02015, unable to open include file
    Error at line 14, column 10 in file /usr/include/_G_config.h
    when I run proc without file, it print options as following:
    Pro*C/C++: Release 8.1.7.0.0 - Production on Mon Jul 9 11:19:38 2001
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    System default option values taken from: /home/u01/precomp/admin/pcscfg.cfg
    Option Name Current Value Description
    auto_connect no Allow automatic connection to ops$ account
    char_map charz Mapping of character arrays and strings
    close_on_commitno Close all cursors on COMMIT
    code kr_c The type of code to be generated
    comp_charset multi_byte The character set type the C compiler supports
    config default Override system configuration file with another
    cpp_suffix none Override the default C++ filename suffix
    dbms native v6/v7/v8 compatibility mode
    def_sqlcode no Generate '#define SQLCODE sqlca.sqlcode' macro
    define none Define a preprocessor symbol
    duration transaction Set pin duration for objects in the cache
    dynamic oracle Specify Oracle or ANSI Dynamic SQL Semantics
    errors yes Whether error messages are sent to the terminal
    errtype none Name of the list file for intype file errors
    fips none FIPS flagging of ANSI noncompliant usage
    header none Specify file extension for Precompiled Headers
    hold_cursor no Control holding of cursors in the cursor cache
    iname none The name of the input file
    include none Directory paths for included files
    intype none The name of the input file for type information
    lines no Add #line directives to the generated code
    lname none Override default list file name
    ltype none The amount of data generated in the list file
    maxliteral 1024 Maximum length of a generated string literal
    maxopencursors 10 Maximum number of cached open cursors
    mode oracle Code conformance to Oracle or ANSI rules
    nls_char none Specify National Language character variables
    nls_local no Control how NLS character semantics are done
    objects yes Support object types
    oname none The name of the output file
    oraca no Control the use of the ORACA
    pagelen 80 The page length of the list file
    parse full Control which non-SQL code is parsed
    prefetch 1 Number of rows pre-fetched at cursor OPEN time
    release_cursor no Control release of cursors from cursor cache
    select_error yes Control flagging of select errors
    sqlcheck syntax Amount of compile-time SQL checking
    sys_include none Directory where system header files are found
    threads no Indicates a multi-threaded application
    type_code oracle Use Oracle or ANSI type codes for Dynamic SQL
    unsafe_null no Allow a NULL fetch without indicator variable
    userid none A username/password [@dbname] connect string
    varchar no Allow the use of implicit varchar structures
    version recent Which version of an object is to be returned
    PCC-F-02135, CMD-LINE: User asked for help
    How can I do to solve this problem now?
    Note: I need pro*c/c++ to works well in my project.
    Thank you very much for your kindly help!
    chen chuanwen: [email protected]
    null

    Sorry! I have not explain it clearly.
    To solve it , you do following :
    1. locate stdarg.h ( or find /usr -name stdarg.h ), assume you find a stdarg.h in /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h
    2.ln -s /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h /usr/include/stdarg.h or cp /usr/lib/gcc-lib/XXX/XXX/include/stdarg.h /usr/include
    ( above 2 step was to make Pro*C can find stdarg.h in /usr/include )
    3. for file stddef.h do like step 1,2
    4. append a line in your Pro*C config file:
    CODE=ANSI_C
    null

  • Problem with pro*c compilation and linking

    Hi all,
    I have a problem running the pro*c program on an windows environment.
    I have oracle9i and visual studio .net. Ya kinda strange about the combo, but need to live with it.
    I create a .pc file and precompile it using oracle pro*c/c++ precompiler. so now I got the .c file.
    I used .net command line to compile this .c file
    It gave me the .obj file. Now I am getting a link error. I am not sure how I need to link the linkfile.
    Let me know if you have any suggestions.
    Thank you,
    -Raghu

    Make sure you are including the Pro*C library. The platform docs tell you explicitly what the library name is. I think for 9i it is called orasql9.lib.

  • Having a problem with Pro Tools and Quiktime may be the cause. Need advice.

    I recently installed Pro Tools recording software on my Mac and everytime I try and open the program I get a kernel panic "restart" screen. I have been told that it may have something to with my Quiktime version.
    I am running
    OSX version 10.4.7
    Pro Tools version 7.1
    and Quiktime version 7.0.4
    Could this be my problem? thanks

    A fax file is simply a TIFF file. If you converted it to a PDF (you did not give any info on your workflow), then you have a graphic. The conversion to Excel will also be a bunch of graphics I guess. You would need to run OCR first. Even then you may not get the column information and may have to copy column by column using alt key when selecting the text. That allows you go copy a column.

  • Printing Problem with Pro 8 and Reader

    I have this problem where when I print to any printer, from Acrobat pro, or reader, any sort of graphics/image in the PDF doesn't come out properly. For example, most of the graphics/image part looks solid black, or blocky. I usually take the same PDF, open it up on another computer, and print it to the same printer i normally print to, and it prints fine. I also can print from any other program other than acrobat/reader just fine.
    So far, i have uninstalled Reader, and reinstalled Acrobat, with no result.
    Any ideas?

    Not alot of information to go on but you might check to see if Print Color As Black is checked in the lower left corner of the Print dialog.

  • Printing Problem with Pro-100 and Photoshop

    This is my setup: using Mac Pro running Snow Leopard (10.6.8) & editing & printing from Photoshop CS 6. I have new Canon Pixma Pro-100 printer and set it up OK. First thing printed was a page from a document from MS Word on 8.5X11 plain paper - this came out OK. Next I fire up Photoshop and open a 4X6 inch image (just a snapshot in jpeg, landscape format) to do a test print.  I set it up in the print dialog as 4X6 paper, Canon's Pro Glossy paper profile, rear tray, standard print quality, Photoshop manages the color.  I load the paper in the rear tray close the covers and hit print.
    Now, when it starts to print the printer moves about 3.8 inches of paper out of the printer and it starts printing on the remaining 2.2 inches then spits the paper out.  It does this in Photoshop (any image, it doesn't matter), and it does it printing from Nikon’s Capture NX.  I have been able to get it to print on the paper correctly using Apple's Preview program but that that's not going to do me any good. I was on the phone with Canon tech support for about 2 hours and they were completely puzzled suggesting I would have to use Canon's printing apps instead to print - that doesn't do me any good either. I want to be able to print from Photoshop. I have the most recent Canon driver, and Photoshop is up to date. Any one every heard of this or experienced the same problem?  I don’t think I’ve overlooked anything. Thanks JMDavis!

    Hi JMDavis,
    Have you tried printing using the Print Studio Pro plugin for Photoshop?  If this is not install, it is available for download from Canon's web site.  To download and install Print Studio Pro, please follow these steps:
     1.  Visit Canon's website at:    http://www.usa.canon.com/cusa/support/consumer
     2.  Type PIXMA PRO-100 in the "Enter Your Model Name" box and click GO.
     3.  On the Support page for your unit, click the 'Drivers & Software' link in the middle of the page.
     4.  Click Software.
     5.  Click on Print Studio Pro.
     6.  If you agree, please select the checkbox next to "I have read and agree to the terms of the Disclaimer and wish to continue with the download".
     7.  Click on the Download button.
     8.  The file will be downloaded to your Downloads folder.  
     9.  Once the download is complete, close all windows.
    10.  Double click [mpsp-mac-1_3_5-ea9_2.dmg] in your Downloads folder.  Files will extract.
    Follow the prompts and installation will complete.
    Once installed, please open your image in Photoshop and print it using the Print Studio Pro plugin.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Problem:Oracle Pro*c Precompiler on Linux

    Hi,
    PLEASE HELP!!!!
    Regards
    Bhagat Singh
    Before discussing all these issue I want to inform u that this code is running code in sun solaris means it compiles cleanly and runs without flaws or error and results are to the mark.
    But in linux first of all it does not compiles if it compiles then it does not produce the right/desired results .
    1.ora erro 1008
    2.ora errno 1438
    3.ora errno 1403
    Information is there in database but update is not working and returning code 1403
    if it is working then also the message is "no data found".
    Pl/Sql block is being used in the Pro*c code so we have made SQLCHECK = SEMANTICS then also it is not working.
    When we use math.h then also it does not compiles at all and falters out.
    When I update the database it does not updates may there be relevant information present in the database, but if i do select count(*) into :variable from the same table then it updates else it fails to do so they all are peculiar issues.
    Some times it says parent record not found in the master whereas it very exists over there.
    Some times core dump if I define two dimensional char pointer array of 10000 size it results in core dump
    say char_ptr[300][10000] .
    Some functions in the program return char pointer there also it is giving and error where and I am collecting the information from the return variable through string copying and it is having clear cut definition in header files for the return type of that function this is working very well in sun but I fail to understand about linux.
    operating systems details
    =====================
    Linux Details
    ===========
    Linux=Red Hat Release 6.2 (Zoot), Kernel 2.2.14-12 on an i686
    Oracle 8 i=Release 2 Version 8.1.6
    Proc Compiler= Release 8.1.6.0.0
    Sun Details
    ==========
    SunOS blrgps 5.6 Generic sun4u sparc SUNW,Ultra-1
    Oracle 8=Release 8.0.3.0.0
    Proc Compiler= Release 8.0.3.0.0
    .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=.:$PATH:$HOME/bin:/opt/oracle/OraHome1/bin:/usr/bin:/bin:/usr/local/bin:/opt/oracle/OraHome1/bin:/usr/sbin
    :/opt/oracle/OraHome1/precomp/lib:/usr/include:/usr/lib
    BASH_ENV=$HOME/.bashrc
    USERNAME=""
    ORACLE_HOME=/opt/oracle/OraHome1
    ORACLE_SID=telecom
    ORACLE_OWNER=oracle
    EPC_DISABLED=TRUE
    LD_LIBRARY_PATH=/opt/oracle/OraHome1/lib
    export USERNAME BASH_ENV PATH ORACLE_HOME ORACLE_SID ORACLE_OWNER LD_LIBRARY_PATH
    NLS_LANG=american; export NLS_LANG
    null

    I have very similar problems, all of which I have been able to work around, except for the very serious defect where the executed code returns bizarre errors like no data found for a query like:
    EXEC SQL SELECT sum(X) INTO :var FROM table;
    These same programs were working just fine under Oracle 8.0.5 on Solaris/Intel 2.6 w/ gcc 2.7.2p.
    My configuration is RedHat 6.2 / Kernel 2.2.14-6.1.1smp / gcc egcs-2.91.66 (release 1.1.2) / glibc 2.1.3-15
    Note: Pro*C 8.1.6 for Linux does come with some alternate system header files in $ORACLE_HOME/proc/syshdr. This should fix your math.h problem if you place that directory early in your include path.

  • Problems with Pro*C/C++ compiler on NT

    When I run the precompiler on a .pc file with embedded SQL, a .cpp file is produced. However, the data definitions inserted by the precompiler are not recognized by the C++ compiler (in Visual C++ 6.0) unless I physically move the definitions so that they follow the SQLCA definitions (produced when the precompiler expands EXEC SQL INCLUDE SQLCA), at which point everything compiles with no problem. Has anyone seen behavior like this?
    Thanks!

    How do you want to "make the code for a windows pc with java" ?
    Java can use sockets directly, and you can get the Local IP address by this code..
    regards,
    Owen
    import java.net.*;
    public class testnet
        public static void main(String[] args)
            try
                InetAddress local = InetAddress.getLocalHost();
                System.out.println ("Local Host Name : " + local.getHostName() );
                byte[] ip = local.getAddress();
                // Now do a bit of conversion to print the IP address from a byte array
                System.out.print ("Local Host IP   : " );
                int toUnsignedInt;
                for ( int i=0; i<ip.length; i++ )
                    if (i>0)
                        System.out.print ( "." );
                    toUnsignedInt = (int)ip& 0xFF;
    System.out.print ( Integer.toString( toUnsignedInt ) );
    System.out.println();
    catch ( Exception dooohhh )
    dooohhh.printStackTrace();
    System.exit(0);

Maybe you are looking for

  • Photoshop on Windows or Mac? What system is better?

    Hi I'm thinking on buying new laptop mostly to create stuff in Photoshop, sometimes After Effects videos and to update my community blog [link removed by moderator] My friend is saying that I should buy Mac Book because it will work better and faster

  • How to get the path of the web-archive on the local filesystem?? [Apache]

    Hello all, Im running a webapplication on a tomcat server. I need to find out the path of the web-archive on the local filesystem to access several files. How can I do that with out having an instance of HttpRequest or whatever??

  • JCO_COMMUNICATION_FAILURE

    Can anybody explain the cause of this error and how to fix it? <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">   <SAP:Category>XIServer</SAP:Category>   <SAP:Code

  • MacBook to media projector

    When I connect my MacBook to an overhead projector for PowerPoint presentations or video presentations I don't get the desktop projected. Instead I get another screen that doesn't display any information. I know there is likely a setting somewhere to

  • Windows Media Player  won't work on Amazon, others

    On Amazon.com and some other sites, when I click to listen with Windows Media Player, a message comes up that Safari doesn't support those files. Any ideas? Works fine on mp3.com