Missing #define __x86_64__

I'm trying to use sparse on a x86_64 machine and I always get the following error message:
% sparse test.c
/usr/include/gnu/stubs.h:7:12: error: unable to open 'gnu/stubs-32.h'
where test.c is quite simple:
% cat test.c
#include <stdio.h>
int main(int argc, char* argv[]){
printf("hello world");
return 0;
so I've tracked why stubs-32.h was being used and the reason is that in the file /usr/include/bits/wordsize.h __WORDSIZE depends on __x86_64__ to be 64, because __x86_64__ is defined nowhere  __WORDSIZE  turns out to be 32 and stubs-32.h is used instead of stubs-64.h, any fix for that?
here is the exact same problem: https://bugs.launchpad.net/ubuntu/+sour … bug/374927

slinkygn wrote:
Forgive the potentially dumb question, but -- does gcc have to support multilib for __x86_64__ to be defined?
I would've thought that, independent of whether gcc has multilib or not, it'd be appropriate to include the #define that dictates that builds should be for the x86_64 arch...
Then again, I'm not very confident of that.  Sorry if it's not a very clever question.  Would appreciate any explanations.
No, GCC has to have multilib enabled and Arch's doesn't. There's a GCC package in AUR that's multilib enabled, but you'll have to jump through a few hoops to get it working:
http://aur.archlinux.org/packages.php?ID=28545
**EDIT***
Crap. I misread your question. I don't actually know the answer. Sorry.

Similar Messages

  • Missing Defines Error in Simple Java Stored Procedure

    Anyone have any suggestions on what might be causing the unusual behavior described below? Could it be a 10g java configuration issue? I am really stuck so I'm open to just about anything. Thanks in advance.
    I am writing a java stored procedure and am getting some SQLException's when executing some basic JDBC code from within the database. I reproduced the problem by writing a very simple java stored procedure which I have included below. The code executes just fine when executed outside of the database (10g). Here is the output from that execution:
    java.class.path=C:\Program Files\jEdit42\jedit.jar
    java.class.version=48.0
    java.home=C:\j2sdk1.4.2_04\jre
    java.vendor=Sun Microsystems Inc.
    java.version=1.4.2_04
    os.arch=x86
    os.name=Windows XP
    os.version=5.1
    In getConnection
    Executing outside of the DB
    Driver Name = Oracle JDBC driver
    Driver Version = 10.1.0.2.0
    column count=1
    column name=TEST
    column type=1
    TEST
    When I execute it on the database by calling the stored procedure I get:
    java.class.path=
    java.class.version=46.0
    java.home=/space/oracle/javavm/
    java.vendor=Oracle Corporation
    java.version=1.4.1
    os.arch=sparc
    os.name=Solaris
    os.version=5.8
    In getConnection
    We are executing inside the database
    Driver Name = Oracle JDBC driver
    Driver Version = 10.1.0.2.0
    column count=1
    column name='TEST'
    column type=1
    MEssage: Missing defines
    Error Code: 17021
    SQL State: null
    java.sql.SQLException: Missing defines
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:158)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
    at oracle.jdbc.driver.OracleResultSetImpl.getString(Native Method)
    at OracleJSPTest.test(OracleJSPTest:70)
    Here is the Java code:
    // JDBC classes
    import java.sql.*;
    import java.util.*;
    //Oracle Extensions to JDBC
    import oracle.jdbc.*;
    import oracle.jdbc.driver.OracleDriver;
    public class OracleJSPTest {
    private static void printProperties(){
         System.out.println("java.class.path="+System.getProperty("java.class.path"));
         System.out.println("java.class.version="+System.getProperty("java.class.version"));
         System.out.println("java.home="+System.getProperty("java.home"));
         System.out.println("java.vendor="+System.getProperty("java.vendor"));
         System.out.println("java.version="+System.getProperty("java.version"));
         System.out.println("os.arch="+System.getProperty("os.arch"));
         System.out.println("os.name="+System.getProperty("os.name"));
         System.out.println("os.version="+System.getProperty("os.version"));
    private static Connection getConnection() throws SQLException {
         System.out.println("In getConnection");      
    Connection connection = null;
    // Get a Default Database Connection using Server Side JDBC Driver.
    // Note : This class will be loaded on the Database Server and hence use a
    // Server Side JDBC Driver to get default Connection to Database
    if(System.getProperty("oracle.jserver.version") != null){
              System.out.println("We are executing inside the database");
              //connection = DriverManager.getConnection("jdbc:default:connection:");                    
              connection = new OracleDriver().defaultConnection();
    }else{
         System.out.println("Executing outside of the DB");
         DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
         connection = DriverManager.getConnection("jdbc:oracle:thin:@XXX.XXX.XXX.XX:XXXX:XXXX","username","password");
    DatabaseMetaData dbmeta = connection.getMetaData();
    System.out.println("Driver Name = "+ dbmeta.getDriverName());
    System.out.println("Driver Version = "+ dbmeta.getDriverVersion());
    return connection;
    public static void main(String args[]){     
         test();     
    public static void test() {   
         printProperties();
    Connection connection = null; // Database connection object
    try {
         connection = getConnection();
         String sql = "select 'TEST' from dual";
         Statement stmt = connection.createStatement();
    ResultSet rs = stmt.executeQuery(sql);     
         ResultSetMetaData meta = rs.getMetaData();     
         System.out.println("column count="+meta.getColumnCount());
         System.out.println("column name="+meta.getColumnName(1));
         System.out.println("column type="+meta.getColumnType(1));
         if(rs.next()){
              System.out.println(rs.getString(1));
    } catch (SQLException ex) { // Trap SQL Errors
         System.out.println("MEssage: " + ex.getMessage());
         System.out.println("Error Code: " + ex.getErrorCode());
         System.out.println("SQL State: " + ex.getSQLState());
         ex.printStackTrace();
    } finally {
    try{
    if (connection != null || !connection.isClosed())
    connection.close(); // Close the database connection
    } catch(SQLException ex){
    ex.printStackTrace();
    Message was edited by:
    jason_mac

    Jason,
    Works for me on Oracle 10.1.0.3 running on Red Hat Enterprise Linux AS release 3 (Taroon).
    Java code:
    import java.sql.*;
    * Oracle Java Virtual Machine (OJVM) test class.
    public class OjvmTest {
      public static void test() throws SQLException {
        Connection conn = DriverManager.getConnection("jdbc:default:connection:");
        PreparedStatement ps = null;
        ResultSet rs = null;
        try {
          ps = conn.prepareStatement("select 'TEST' from SYS.DUAL");
          rs = ps.executeQuery();
          if (rs.next()) {
            System.out.println(rs.getString(1));
        finally {
          if (rs != null) {
            try {
              rs.close();
            catch (SQLException sqlEx) {
              System.err.println("Error ignored. Failed to close result set.");
          if (ps != null) {
            try {
              ps.close();
            catch (SQLException sqlEx) {
              System.err.println("Error ignored. Failed to close statement.");
    }And my PL/SQL wrapper:
    create or replace procedure P_J_TEST as language java
    name 'OjvmTest.test()';And here is how I execute it in a SQL*Plus session:
    set serveroutput on
    exec dbms_java.set_output(2000)
    exec p_j_testGood Luck,
    Avi.

  • Java.sql.SQLException: Missing defines

    $ java -version
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pap64dev-20060511 (SR2))
    IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20060504 (JI
    T enabled)
    J9VM - 20060501_06428_BHdSMr
    JIT  - 20060428_1800_r8
    GC   - 20060501_AA)
    JCL  - 20060511aWe keep running into java.sql.SQLException: Missing defines once in a while, but it is not always reproducible.
    I have tried to look-up when this exception is actually thrown, but haven't found anything so far.
    There was a bug reported on the same exception, but was closed as not reproducible.
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6189524
    Can anyone throw more light on this and give me some information as to when actually this exception occurs?
    Thanks.
    P.S. The insert hyperlink option isn't working for me. I get a JS error (IE 6). Anyone else having the same problem?

    The bug was closed because it is not Sun's responsibility to debug people's applications or JDBC drivers.
    So you need to get a stack trace or something.
    Consider talking to the driver vendor for help as well.

  • JDBC Driver 10.2.0.2 + Hibernate: ORA-17021 Missing defines

    Hi!
    In my application (BTW a portlet running in WebSphere Portal 5.1.0.3) I suddenly get a SQLException with the ORA-17021 error code.
    Please, could someone explain this error message? The manual says nothing except "Missing defines". What does that mean?
    The application:
    A portlet running in WPS 5.1.0.3, Java 1.4.2, using Spring and Hibernate.
    Last changes made:
    - Introduction of a unique constraint
    - Introduction of several foreign keys
    - Introduction of a new index
    The query works if I run it from a tool (?'s replaced with some values), but not from the application.
    Thanks for your help!

    Hi!
    In my application (BTW a portlet running in WebSphere Portal 5.1.0.3) I suddenly get a SQLException with the ORA-17021 error code.
    Please, could someone explain this error message? The manual says nothing except "Missing defines". What does that mean?
    The application:
    A portlet running in WPS 5.1.0.3, Java 1.4.2, using Spring and Hibernate.
    Last changes made:
    - Introduction of a unique constraint
    - Introduction of several foreign keys
    - Introduction of a new index
    The query works if I run it from a tool (?'s replaced with some values), but not from the application.
    Thanks for your help!

  • PCC-S-02015, unable to open include file(gnu/stubs-32.h)

    Hi,
    I was trying to precompile one of the sample files from the "Pro*C/C++ Precompiler
    Programmer’s Guide" and I got this error message:
    Fehler in Zeile 7, Spalte 11, in Datei /usr/include/gnu/stubs.h
    # include <gnu/stubs-32.h>
    ..........1
    PCC-S-02015, Einfügedatei konnte nicht geöffnet werden.
    (Which means "unable to open include file")
    I couldn't find any an answer on the forum, so I figured it out for myself.
    I just wanted to post it so in case somebody else faces the same problem, they would have the solution here.
    The machine is a virtual Linux host running on a 64Bit architecture, so I was surprised why is it looking for stubs-32.h and not stubs-64.h.
    The answer is in the stubs.h file:
    #include <bits/wordsize.h>
    #if __WORDSIZE == 32
    # include <gnu/stubs-32.h>
    #elif __WORDSIZE == 64
    # include <gnu/stubs-64.h>
    #else
    # error "unexpected value for __WORDSIZE macro"
    #endifSo let's check the bits/wordsize.h file:
    #if defined __x86_64__
    # define __WORDSIZE     64
    # define __WORDSIZE_COMPAT32    1
    #else
    # define __WORDSIZE     32
    #endifSo I figured out you can define __x86_64__ in two places:
    The file: precomp/admin/pcscfg.cfg
    Most probably you just need to add define=__x86_64__ and that should do the trick.
    Unfortunately I couldn't try it because I didn't have write permission on that file.
    The other way is to pass it in the command line:
    proc sample1.pc MODE=ORACLE DEFINE=__x86_64__+
    This way the precompiler created the output .c file without errors.
    Cheers
    PS: Don't try to define the __x86_64__ in the .pc file, or you'll get a warning when you compile the .c file. Not a big deal, just desn't look good :-D
    Edited by: VincentFreeman on Feb 12, 2009 4:09 AM
    Edited by: VincentFreeman on Feb 12, 2009 4:16 AM

    Ideally speaking your pcscfg.cfg should have the paths to the directories where you will be getting all your headers from
    Based on what linux flavor & version of gcc you have the following directory will have the headers you are missing
    /usr/lib/gcc/ABC-XYZ-linux/<gcc_version_no>/include
    where ABC could be i386/i586 depending on the hardware and XYZ could be the linux flavor like redhat/suse/whatever you have

  • Porting of CS4 Plugin into CS5 on Mac 10.6

    Hello All,
    I am new to Photoshop and I am trying to Port the CS4 Plugin into CS5. On Mac OS 10.5 it gets compiled properly without any major changes but the menus does not load into Photoshop menus. On Mac OS 10.6 I am facing the proplem comiling the code itself.
    Can any one help me on this. What wrong I am doing or have I missed anything. I also tried to compare my code with Outboud Sample project. There is no major difference. Still why is it not getting loaded?
    Thank you all in advance.
    Regards
    Farzana.

    What platform are you compiling to and what platform is your machine?
    Check your .r file and your PiPL resource and your configuration.
    Are the the CS5 SDK projects working when you run them on Photoshop CS5?
    You should have something like this in your PiPL resource.
    #ifdef __PIMac__
              #if (defined(__i386__))
                        CodeMacIntel32 { "PluginMain" },
                        /* If your plugin uses Objective-C, Cocoa, for UI it should not be
                           unloaded, this flag is valid for 32 bit plug-ins only and
                     should not be used in any windows section */
                        // off for now as this plug-in has no Objective-C Cocoa {},
              #endif
              #if (defined(__x86_64__))
                        CodeMacIntel64 { "PluginMain" },
              #endif
    #else
              #if defined(_WIN64)
                        CodeWin64X86 { "PluginMain" },
              #else
                        CodeWin32X86 { "PluginMain" },
              #endif
    #endif

  • IC Web Client: Requirement: After click on button END back to CALL LIST

    Hello Experts,
    we are using CRM 2007 (6.0).
    I have to implement the following requirement:
    When the user clicks on the button END in Interaction Center the user should come back to the CALL LIST.
    Right now the the system always is getting back to IDENTIFY ACCOUNT. This is not very comfortable for the user as he or she has always make a view clicks to come back to the call list in order to call the next account (customer).
    I tried to implement the required behaviour using rule policies (Intent Driven Interaction).
    I customized the following:
    If
    Current Event Equals Interaction ended
    Then
    Navigate To ( Navigation Object type:Action = "IC_BT_IHI:B" )
    Now I am pretty sure that the event 'Interaction Ended' is the right one, BUT my action is not correct! The system does not jump back to the call list.
    My problem is that I can't find the correct action which gets me back to the CALL LIST!
    Or is there another way to implement this requirement?
    I would really appreciate your help!
    Thank you and kind regards,
    Roman
    Ps: Actually there is an action called CALLLIST:B (Call Lists:Display) but this action does not seem to work properly!
    Edited by: Roman Richter on Feb 28, 2011 11:55 AM
    Edited by: Roman Richter on Mar 29, 2011 11:12 AM

    Hello Experts,
    we are using CRM 2007 (6.0).
    I have to implement the following requirement:
    When the user clicks on the button END in Interaction Center the user should come back to the CALL LIST.
    Right now the the system always is getting back to IDENTIFY ACCOUNT. This is not very comfortable for the user as he or she has always make a view clicks to come back to the call list in order to call the next account (customer).
    I tried to implement the required behaviour using rule policies (Intent Driven Interaction).
    I customized the following:
    If
    Current Event Equals Interaction ended
    Then
    Navigate To ( Navigation Object type:Action = "IC_BT_IHI:B" )
    Now I am pretty sure that the event 'Interaction Ended' is the right one, BUT my action is not correct! The system does not jump back to the call list.
    My problem is that I can't find the correct action which gets me back to the CALL LIST!
    Or is there another way to implement this requirement?
    I would really appreciate your help!
    Thank you and kind regards,
    Roman
    Ps: Actually there is an action called CALLLIST:B (Call Lists:Display) but this action does not seem to work properly!
    Edited by: Roman Richter on Feb 28, 2011 11:55 AM
    Edited by: Roman Richter on Mar 29, 2011 11:12 AM
    SOLUTION:
    Customizing was missing:
    Define Generic OP Mapping:
    Flag at 'Use Link ID'
    Maintain IC_CALLIST in Logical Link ID

  • JDBC adapter configuration problem while design

    Hi,
    I am connecting SAP TO THIRD PARTY using RFC and JDBC,which is using a stored procedure.
    I have mapped in such a way that
    table = is mapped with the stored procedure name.
    isinput = true.
    type = char.
    But If i look into the monitor its showing a problem with DATATYPE,which i have mentioned is char.The metioned below is log.
    Can any one help me,what changes I have to make.
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'STORED_PROCEDURE_NAME' (structure 'Statement'): java.sql.SQLException: ERROR: Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'MaterialNumber' (Setting a SQL-type (e.g. INTEGER, CHAR, DATE etc.) is mandatory !)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
    With Regards,
    KishoreJ.

    hi kishore,
    <i>Invalid XML document format for stored procedure: 'type="<SQL-type>"' attribute is missing for element 'MaterialNumber'</i>
    As the error implies, you have missed defining the TYPE attribute while for the field MATERIAL NUMBER. Assign a valid type to it , and it should work fine.
    From the online help,
    <i>The attribute type=<SQL-Datatype> , which describes the valid SQL data type, is mandatory for all parameter types (IN, OUT, INOUT).</i>
    <i>The following SQL data types are supported:
    INTEGER, BIT, TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, STRING, LONGVARCHAR, DATE, TIME, TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, BLOB (input and output),CLOB (input and output), CURSOR (output; only in conjunction with the Oracle JDBC driver).</i>
    Also, check this blog for any help,
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    Regards,
    Bhavesh

  • 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.

  • Premiere Elements 9 plug-in not working

    Premiere Elements 9 (MAC) is finding my plug-in "/Library/Application Support/Adobe/Common/Plug-ins/CS5/MediaCore" and I can see it on the spash screen when loading.
    But I can't find my plugin anywhere in Premiere Elements.
    I tried putting the EffectPreview file in with the plug-in, but that didn't work.
    Where do the EffectPreview .png files go?
    Are they named the same as with Premiere Elements 8 on Windows?

    I've got my plug-in working with Premiere Elements 9 on Windows, but not yet on MAC.
    I've set Architectures to "32-bit universal", but I get compile errors.
    in AEConfig.h  "unrecognized AE processor"
    //Define our Processor defines
    #if defined(__i386__) || defined(_M_IX86)
    #define AE_PROC_INTEL
    #elif defined(_M_X64) || defined(__amd64__) || defined(__x86_64__)
    #define AE_PROC_INTELx64
    #else
    #error "unrecognized AE processor"
    #endif
    What do I need to do to get this to compile?

  • Risk on wrong definition of sales organization, distribution channel and division

    Hi,
    our organization just started to implement SAP and SD module is one of the subject to complete.
    We are in the defining phase of the above subject but I still can not understand the risk of being miss-defining the sales organization, distribution channel and division. Is it true will only impacting the pricing and reporting only? Are there going to be future impact on this?
    Thank you before for your explanation.
    Andy

    Hi Andy,
    Good to see the suggestions!
    These are the rules I try to follow:
    Do not over do it. Simple is better and facilitates change.
    One sales organization for each company code unless significant differences exist between independent sales departments. Like one wants to use CRM and others won't. It's roughly equivalent to one by each top level sales director.
    One distribution channel for each sales channel group that defines different prices or different shipping conditions for the same material. Like retail and wholesale have different pricing. Special rules can apply like mail delivery require different correspondence settings.
    One division for each division of the company. If company has no clearly defined divisions (like Aeronautics and Footwear) there is no need (in sales) to split (it might in financials).
    Using sales office and sales group for reporting is a lot better than the top level structures because it's easy to change them in master data, unlike sales org or distribution channel. And when departments get reorganized the system effort is significantly reduced if no change occurs at those three top levels.
    So I normally use the sales office to the first or second level of reporting and sales group in some cases to represent individual sales persons or nothing at all in other cases.
    regards,
    Edgar

  • Error -:  AIP-50014:  General Error: Error -:  AIP-50025:  Repository error

    Hi
    Has anyone seen this exception, any idea what causes this exception
    Description: General Error
    StackTrace:
    Error -: AIP-50014: General Error: Error -: AIP-50025: Repository error : Error -: AIP-11016: SQL error: java.sql.SQLException: Missing defines
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1213)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: Error -: AIP-50025: Repository error : Error -: AIP-11016: SQL error: java.sql.SQLException: Missing defines
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireMsgState(DbAccess.java:2545)
         at oracle.tip.adapter.b2b.msgproc.Request.postTransmit(Request.java:2291)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1823)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:972)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1166)
         ... 3 more
    Caused by: Error -: AIP-11016: SQL error: java.sql.SQLException: Missing defines
         at oracle.tip.repos.core.driver.CatalogQueryDriver.updateInternalObject(CatalogQueryDriver.java:980)
         at oracle.tip.repos.core.driver.CatalogQueryDriver.getRefreshedObject(CatalogQueryDriver.java:763)
         at oracle.tip.repos.core.driver.CatalogQueryDriver.refresh(CatalogQueryDriver.java:481)
         at oracle.tip.repos.core.driver.CatalogDriver.refresh(CatalogDriver.java:1699)
         at oracle.tip.repos.core.persistency.PersistencyService.refresh(PersistencyService.java:545)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.updateWireMsgState(DbAccess.java:2534)
         ... 7 more
    Caused by: java.sql.SQLException: Missing defines
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
         at oracle.jdbc.driver.RawAccessor.getBytes(RawAccessor.java:81)
         at oracle.jdbc.driver.T4CRawAccessor.getBytes(T4CRawAccessor.java:336)
         at oracle.jdbc.driver.OracleResultSetImpl.getBytes(OracleResultSetImpl.java:660)
         at oracle.jdbc.driver.OracleResultSet.getBytes(OracleResultSet.java:1678)
         at oracle.tip.repos.core.driver.CatalogQueryDriver.updateInternalObject(CatalogQueryDriver.java:896)
         ... 12 more

    Hi,
    We got this error on our production oracle b2b repeatedly.
    2010.01.07 at 12:52:04:936: Thread-10: B2B - (ERROR) Error -: AIP-50025: Repository error : Error -: AIP-11057: Reading/
    commit LargeString/XMLString before closing writer: Error -: AIP-11057: Reading/commit LargeString/XMLString before closin
    g writer
    Is there anyway to overcome this? What is the possible reason for this error?What steps do we need to take?
    We are on MLR#11 and will be upgrading to MLR#13 in a few weeks.
    Regards
    Kavitha

  • Problem with .c code generated from proc compiler.

    I am having a problem compiling the c code generated from the proc pre-compiler.
    First some info on my system.
    [root@dell-xps-420-22 ~]# cat /etc/redhat-release
    Red Hat Enterprise Linux Client release 5.4 (Tikanga)
    [root@dell-xps-420-22 ~]# cat /proc/version
    Linux version 2.6.18-164.11.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Wed Jan 6 13:26:04 EST 2010
    [root@dell-xps-420-22 ~]# uname -a
    Linux dell-xps-420-22.drew.com 2.6.18-164.11.1.el5 #1 SMP Wed Jan 6 13:26:04 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    I have written a simple PRO*C program to test the compile.
    [oracle@dell-xps-420-22 etl]$ cat Test.pc
    #include <stdio.h>
    main(int argc,char **argv)
    printf("Testing ........\n");
    [oracle@dell-xps-420-22 admin]$ cat pcscfg.cfg
    sys_include=(/usr/include,/usr/include/linux,/build/s630/precomp/public,/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include)
    include=$(ORACLE_HOME)/precomp/public
    include=$(ORACLE_HOME)/precomp/hdrs
    include=$(ORACLE_HOME)/precomp/include
    CODE=cpp
    TYPE_CODE=ORACLE
    DEF_SQLCODE=YES
    VARCHAR=YES
    LTYPE=short
    define=__x86_64__
    When compiling the Test.pc program with the pcscfg.cfg file above.
    [oracle@dell-xps-420-22 etl]$ proc Test.pc
    Pro*C/C++: Release 10.2.0.1.0 - Production on Sun Feb 21 19:51:15 2010
    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
    [oracle@dell-xps-420-22 etl]$ gcc -c ./Test.c -I . -I$ORACLE_HOME/precomp/public
    ./Test.c:117: error: expected identifier or '(' before string constant
    ./Test.c:131: error: expected identifier or '(' before string constant
    The code generated by the proc compiler that has problems is below.
    //File Test.c
    // Prototypes
    Line 117: extern "C" {
    void sqlcxt (void **, unsigned int *,
    struct sqlexd *, const struct sqlcxp *);
    void sqlcx2t(void **, unsigned int *,
    struct sqlexd *, const struct sqlcxp *);
    void sqlbuft(void **, char *);
    void sqlgs2t(void **, char *);
    void sqlorat(void **, unsigned int *, void *);
    // Forms Interface
    Line 131: extern "C" { void sqliem(char *, int *); }
    It seems like the compiler is generating c++ code but the gcc compiler is only compiling in cc mode. I've tried a number of options in the pcscfg.cfg file to no avail. I have tried the different options for the CODE=cpp in the pcscfg.cfg file but still get the same error and/or multiple errors. I have also tried to compile the oracle demo programs using the demo_proc.mk file and also get the same error.
    The install of Oracle is fine. I can start the database and have created a needed user and tables but cannot successfully compile the pro*C code.

    My proc is also compiling for cpp code but in the pcscfg.cfg file there is no "CODE=cpp"

  • Linux proc fails on PCC-S-02201

    I'm trying to precompile some downloaded example programs from OTN using proc from 11.2.0.1 install on x86_64 linux.
    using gmake stage1
    Pro*C/C++: Release 11.2.0.1.0 - Production on Sun Jun 10 11:55:05 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    System default option values taken from: /opt/oracle/product/11.2.0/dbhome1/precomp/admin/pcscfg.cfg
    Syntax error at line 201, column 37, file /usr/include/bits/sched.h:
    Error at line 201, column 37 in file /usr/include/bits/sched.h
    extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp)
    ....................................1
    PCC-S-02201, Encountered the symbol "__setsize" when expecting one of the follow
    ing:
    Syntax error at line 203, column 44, file /usr/include/bits/sched.h:
    Error at line 203, column 44 in file /usr/include/bits/sched.h
    extern cpu_set_t *__sched_cpualloc (size_t __count) __THROW __wur;
    ...........................................1
    PCC-S-02201, Encountered the symbol "__count" when expecting one of the followin
    g:
    The symbol "," was substituted for "__count" to continue.
    Syntax error at line 199, column 15, file /usr/include/time.h:
    Error at line 199, column 15 in file /usr/include/time.h
    extern size_t strftime (char *__restrict __s, size_t __maxsize,
    ..............1
    PCC-S-02201, Encountered the symbol "strftime" when expecting one of the followi
    ng:
    ; , = ( [
    The symbol ";" was substituted for "strftime" to continue.
    Syntax error at line 199, column 47, file /usr/include/time.h:
    Error at line 199, column 47 in file /usr/include/time.h
    extern size_t strftime (char *__restrict __s, size_t __maxsize,
    ..............................................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 43, column 9, file /usr/include/xlocale.h:
    Error at line 43, column 9 in file /usr/include/xlocale.h
    typedef __locale_t locale_t;
    ........1
    PCC-S-02201, Encountered the symbol "__locale_t" when expecting one of the follo
    wing:
    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 "__locale_t" to continue.
    Syntax error at line 217, column 15, file /usr/include/time.h:
    Error at line 217, column 15 in file /usr/include/time.h
    extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
    ..............1
    PCC-S-02201, Encountered the symbol "strftime_l" when expecting one of the follo
    wing:
    ; , = ( [
    The symbol ";" was substituted for "strftime_l" to continue.
    Syntax error at line 217, column 49, file /usr/include/time.h:
    Error at line 217, column 49 in file /usr/include/time.h
    extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
    ................................................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 220, column 6, file /usr/include/time.h:
    Error at line 220, column 6 in file /usr/include/time.h
    __locale_t __loc) __THROW;
    .....1
    PCC-S-02201, Encountered the symbol "__locale_t" when expecting one of the follo
    wing:
    ... 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 "__locale_t" to continue.
    Syntax error at line 91, column 5, file /usr/include/bits/pthreadtypes.h:
    Error at line 91, column 5 in file /usr/include/bits/pthreadtypes.h
    __pthread_list_t __list;
    ....1
    PCC-S-02201, Encountered the symbol "__pthread_list_t" when expecting one of the
    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,
    The symbol "enum," was substituted for "__pthread_list_t" to continue.
    Syntax error at line 225, column 38, file /usr/include/pthread.h:
    Error at line 225, column 38 in file /usr/include/pthread.h
    extern int pthread_create (pthread_t *__restrict __newthread,
    .....................................1
    PCC-S-02201, Encountered the symbol "*" when expecting one of the following:
    Syntax error at line 226, column 30, file /usr/include/pthread.h:
    Error at line 226, column 30 in file /usr/include/pthread.h
    __const pthread_attr_t *__restrict __attr,
    .............................1
    PCC-S-02201, Encountered the symbol "*" when expecting one of the following:
    Error at line 0, column 0 in file stage1.pc
    PCC-F-02102, Fatal error while doing C preprocessing
    gmake: *** [stage1.c] Error 1
    pcscfg.cfg file
    [oracle@oralnx6 admin]$ cat pcscfg.cfg
    sys_include=(/usr/include,/usr/include/linux,/usr/lib/x86_64-redhat-linux5E/include)
    ltype=short
    define=__x86_64__
    uname -a
    Linux oralnx6.localdomain 2.6.32-300.21.1.el6uek.x86_64 #1 SMP Wed Apr 18 19:15:19 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

    Thank you for your response but the tone is so unfriendly that I wonder your motives...certainly not trying to be helpful I'm geussing. It isn't always so easy to find the correct forum. I did look and spent more than a few minutes without much success. I fear now that I've incurred the wrath of the Oracle "gods."

  • Malloc fails after 3.8 GB when jvm is loaded on SunOS 11

    All,
    I have a very simple c++ program that dynamically loads the jvm and in a loop tries to allocate memory in chunks of 512K. The malloc fails after about 3.8 GB is consumed. I don't use the jvm in any way other than just loading it. If I specify a java max heap size of 4096 MB I can allocate up 29 GB and then the malloc fails. If I subsequently increase the max heap size to 32GB then I can allocate more than 100GB.
    What is interesting is that this happens only on SunOS 11. Also it happens with java 1.6.0_26 and java 1.7 but not with java 1.6.0_22. If I don't load the jvm everything runs fine. This simple program runs without issues on SunOS 10, linux and windows with java 1.7.
    I have used truss with this program and I get the following output
    /1: nanosleep(0xFFFFFD7FFFDFF600, 0x00000000) = 0
    /1: brk(0xEAAEC000) = 0
    /1: nanosleep(0xFFFFFD7FFFDFF600, 0x00000000) = 0
    /1: brk(0xEABED000) = 0
    /1: nanosleep(0xFFFFFD7FFFDFF600, 0x00000000) = 0
    /1: brk(0xEACEE000) Err#12 ENOMEM
    This machine has 256GB of memory. I have been scratching my head for a while now and any help will be greatly appreciated.
    Pauli
    Edited by: 948514 on Jul 24, 2012 3:01 PM

    Find below the complete code that is encountering this issue
    #define MAX_MEMORY 10*1024*1024
    #define ALLOC_SIZE 512
    #define MAX_JAVA_HEAP "-Xmx256m"
    #define REPORTING_INTERVAL 1000
    #define USE_JAVA_VM 1
    #ifdef _WIN32
    #include <winsock2.h>
    #include "win_dlfcn.h"
    #else
    #include <dlfcn.h>
    #endif
    #include <jni.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <string>
    #include <iostream>
    #include <list>
    using namespace std;
    //On Windows the JNI_CreateJavaVM function is called with __stdcall convention
    #ifdef _WIN32
    typedef jint (__stdcall jniCreateJavaVM_t) (JavaVM *, void **, JavaVMInitArgs *);
    typedef jint (__stdcall jniGetCreatedJavaVMs_t) (JavaVM *, jsize, jsize *);
    #else
    typedef jint (*jniCreateJavaVM_t) (JavaVM **, void **, JavaVMInitArgs *);
    typedef jint (*jniGetCreatedJavaVMs_t) (JavaVM **, jsize, jsize *);
    #endif
    static void *s_jvmLibrary = NULL;
    static JavaVMInitArgs s_vmArgs = {0};
    static JavaVMOption *s_vmOptions = NULL;
    string maxHeapSize = "-XmxMAX_JAVA_HEAP";
    void *
    GetJavaVMLibrary()
    std::string jvmLibrary;
    const char *pjvmLibrary = getenv("JAVA_HOME");
    if (!pjvmLibrary || !*pjvmLibrary)
    std::cerr << "JAVA_HOME has not been set" << std::endl;
    exit(1);
    jvmLibrary = std::string(pjvmLibrary) + "/";
    #if defined(WIN64)
              jvmLibrary.append("bin/server/jvm.dll");
    #elif defined(WIN32)
              jvmLibrary.append("bin/client/jvm.dll");
    #elif defined(__sparc__) && defined(__sun__)
              jvmLibrary.append("lib/sparcv9/server/libjvm.so");
    #elif defined(__x86_64__) && defined(__sun__)
              jvmLibrary.append("lib/amd64/server/libjvm.so");
    #elif defined(__i386__) && defined(__linux__)
              jvmLibrary.append("lib/i386/server/libjvm.so");
    #elif defined(__x86_64__) && defined(__linux__)
              jvmLibrary.append("lib/amd64/server/libjvm.so");
    #else
              jvmLibrary = "./libjvm.so";
    #endif
    std::cout << "jvmlibrary is " << jvmLibrary << std::endl;
    #ifndef RTLD_GLOBAL
    #define RTLD_GLOBAL 0
    #endif
    void * s_jvmLibrary = dlopen(jvmLibrary.c_str(), RTLD_LAZY | RTLD_GLOBAL);
    if( !s_jvmLibrary )
    char * err = dlerror();
    string error = (err == NULL) ? "could not open Java VM shared library" : err;
    std::cerr << error << std::endl;
    exit(1);
         return s_jvmLibrary;
    JavaVM *
    CreateJavaVM()
         JNIEnv *env = NULL;
         JavaVM *jvm = NULL;
         std::list<std::string> vmOptions;
         void *libraryHandle = GetJavaVMLibrary();
         jniCreateJavaVM_t createVMFunction = (jniCreateJavaVM_t)dlsym(libraryHandle, "JNI_CreateJavaVM");
         if( !createVMFunction )
              std::cerr << "could not find Java VM library function " << std::endl;
    exit(1);
    //Set the Java Max Heap Option
    int noOfOptions = 1;
         s_vmOptions = (JavaVMOption *)malloc(noOfOptions * sizeof(JavaVMOption));
         s_vmOptions[0].optionString = strdup(maxHeapSize.c_str());
         s_vmArgs.version = JNI_VERSION_1_6;
         s_vmArgs.options = s_vmOptions;
         s_vmArgs.nOptions = noOfOptions;
         s_vmArgs.ignoreUnrecognized = JNI_TRUE;
         // Create the Java VM
         int ret = createVMFunction(&jvm, (void**)&env, &s_vmArgs);
         if( ret != 0 )
    std::cerr << "Could not create jvm" << endl;
    exit(1);
         return jvm;
    int
    main(int argc, char **argv)
    int createJvm = USE_JAVA_VM;
    long mSize = ALLOC_SIZE;
    long maxSize = MAX_MEMORY;
    if(argc > 1){
    maxSize = (atol(argv[1]) * 1024);
    cout << "maxSize is " << maxSize << endl;
    if(argc > 2){
    maxHeapSize = string("-Xmx").append(argv[2]);
    if(argc > 3){
    createJvm = atoi(argv[3]);
         if (createJvm)
              JavaVM *vm = CreateJavaVM();
              if (vm != NULL)
                   printf("Sucessfully created Java VM\n");
              else
                   printf("Failed to create Java VM\n");
                   return 1;
         long memUsed = 0;
         long count = 0;
         printf("beginning mallocs\n");
         std::list<void *> memory;
         while (memUsed < maxSize)
              void ptr = malloc(mSize1024);
              memory.push_back(ptr);
              if (ptr == NULL)
                   printf("malloc failed, count=%ld, size=%ld k\n", count, memUsed);
                   return 1;
              memset(ptr, 0, mSize*1024);
              memUsed += mSize;
              count++;
              if (!(count % REPORTING_INTERVAL))
              printf("malloc count=%ld, size=%ld m\n", count, memUsed/1024);
         printf("finished mallocs\n");
         return 0;
    }

Maybe you are looking for

  • How do I close window on opening a new one from a button on the first window

    I want to close my existing window when opening a new one. I have used a roll-over from Fireworks and the page is created using Macromedia Dreamweaver. I'd like to close the page that I am coming from and open a new one in its place. Thanks for looki

  • Question about table T001P - in HR master data

    Hello, I am making a test to create a TRIP (travel expenses). I have a link between the personnel number and the User ID (Communication type 0105 0001). However, when entering the travel expenses via transaction TRIP I get following message: "No entr

  • Zulu Timestamp Issue in ADF BC

    Hello, We are using below linux version of OS: Linux hostname 2.6.18-308.20.1.el5 #1 SMP Tue Nov 6 04:38:29 EST 2012 x86_64 x86_64 x86_64 GNU/Linux Oracle Weblogic server version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 Oracle Da

  • Agent logged out suddenly, reason code:50003

    Hi, We have icm 8.0(3) and cad 8. Sometimes, an agent (each time a different one) is logged out suddenly and he get the reason code: 50003 Please find attached a logout status report that is showing the agent using extension "7459" has been logged ou

  • FM/BAPI to update requirements assignment on a PM order

    Hello, I am working on a project which involves building interfaces between a client's SAP ECC system and a third party scheduling system. The orders are created in SAP, interfaced to the third party, where they assign resources and schedule appointm