Error in Pro*c compilation

Hi !
I have written a Pro*c program with Oracle 7 version (Solaris). It works fine . But when now USING Oracle 10G (Linux)...I am trying to compile it , I could convert the sample.pc into sample.c using the command
$proc sample.pc.......
But using the gcc command when I try to generate the executable code......I get the error........as shown below....
$ gcc -o sample sample.c
/tmp/cc24QDcV.o(.text+0x74): In function `main':
: undefined reference to `sqlca'
/tmp/cc24QDcV.o(.text+0x19f): In function `main':
: undefined reference to `sqlcxt'
/tmp/cc24QDcV.o(.text+0x205): In function `main':
: undefined reference to `sqlca'
/tmp/cc24QDcV.o(.text+0x361): In function `main':
: undefined reference to `sqlcxt'
collect2: ld returned 1 exit status
The header files listed above are in $ORACLE_HOME/precomp/public directory.
Can anyone point out the cause and remedy for this error....
regds.
J.S.Sachdeva

Please explain it. how to use demo_proc.mk and how it will resolve "
Undefined first referenced
symbol in file
sqlcxt /var/tmp/ccojYPSj.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
problem.
Thanks in advance

Similar Messages

  • Pro*c errors in 11g. -- Compiles fine in 10g.

    Hi,
    We are planning to migrate from 10g to 11g so started compiling our Pro*c code in to 11g. Got several errors and couldn't trace. So to investigate further I have written a basic pro*c program as follows:
    #include <stdio.h>
    #include <sqlca.h>
    /*#include <sqlcpr.h>*/
    #include <oraca.h>
    #include <sqlda.h>
    /* Declare error handling function. */
    void sql_error();
    int main(int argc, char** argv)
    char user[]="myusername";
    char pwd[]="mypassword";
    char msg_buf[51]="";
    /* Register sql_error() as the error handler. */
    EXEC SQL WHENEVER SQLERROR DO sql_error("ORACLE error\n");
    EXEC SQL CONNECT :user IDENTIFIED BY :pwd;
    EXEC SQL
    INSERT INTO hello_world
    VALUES ('Hello world!');
    EXEC SQL COMMIT;
    EXEC SQL
    SELECT msg
    INTO :msg_buf
    FROM hello_world
    WHERE rownum <= 1;
    printf("%s\n", msg_buf);
    return(0);
    void sql_error(char *msg)
    char err_msg[128];
    int buf_len, msg_len;
    EXEC SQL WHENEVER SQLERROR CONTINUE;
    printf("%s\n", msg);
    buf_len = sizeof (err_msg);
    sqlglm(err_msg, &buf_len, &msg_len);
    if (msg_len > buf_len)
    msg_len = buf_len;
    printf("%.*s\n", msg_len, err_msg);
    EXEC SQL ROLLBACK RELEASE;
    exit(1);
    }And then did the following:
    proc iname=hellodb.pc MODE=ORACLE it has created a .c file.
    Now run
    /opt/ansic/bin/cc -g  -I. -I${ORACLE_HOME}/precomp/public -c hellodb.c -o hellodbwhich gave me a big list of errors / warnings.
    "hellodb.c", line 117: warning #2837-D: omission of explicit type is
              nonstandard ("int" assumed)
      extern sqlcxt ( void **, unsigned int *,
             ^
    "hellodb.c", line 119: warning #2837-D: omission of explicit type is
              nonstandard ("int" assumed)
      extern sqlcx2t( void **, unsigned int *,
             ^
    "hellodb.c", line 121: warning #2837-D: omission of explicit type is
              nonstandard ("int" assumed)
      extern sqlbuft( void **, char * );
             ^
    "hellodb.c", line 122: warning #2837-D: omission of explicit type is
              nonstandard ("int" assumed)
      extern sqlgs2t( void **, char * );
             ^
    "hellodb.c", line 123: warning #2837-D: omission of explicit type is
              nonstandard ("int" assumed)
      extern sqlorat( void **, unsigned int *, void * );
             ^
    "hellodb.c", line 316: warning #2223-D: function "sqlglm" declared implicitly
      sqlglm(err_msg, &buf_len, &msg_len);
      ^
    "hellodb.c", line 342: warning #2223-D: function "exit" declared implicitly
      exit(1);I did the same in another server which is having 10g installation and it went on well and created the exe hellodb.
    Any idea what these errors are?
    Thanks in advance,
    Deep.
    Edited by: user11984804 on 06-Apr-2010 03:49

    Hello,
    We face the similar problem.Our database is migrated to 11.2.0.2 from 10g.
    PRO*C compilation is not happening with so many warnings and 1 error below
    error #4313-D: no prototype or definition in scope for call to memory allocation routine "malloc".
    Could you please provide the solution.
    we are using the following command to compile PRO*C
    make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk EXE=$program OBJS=$program.o PROCFLAGS="sqlcheck=full userid=<username>/<password>@oraclesid" build
    Edited by: user12058331 on 30-Jun-2011 04:02
    Edited by: user12058331 on 30-Jun-2011 04:05

  • Pro*C compile/runtime errors w/ XMLTYPE

    On an Oracle 9iR2 NT machine (Pro*C/C++: Release 9.2.0.1.0)...
    1. The following SQL works without error from SQL*Plus:
         DECLARE
         xml_clob CLOB;
         file_name VARCHAR2(200);
         BEGIN
         file_name := 'rsand.xml';
         xml_clob := f_get_xml_document(file_name);
         insert into RCTXMLD values(file_name, XMLTYPE(xml_clob));
         END;
         select extractValue(RCTXMLD_XMLDOC, '/CommonRecord/ReportingSchl[1]/@EntityId')
         from rctxmld
         where rctxmld_docname = 'rsand.xml'
         SELECT existsNode (RCTXMLD_XMLDOC, '/CommonRecord/ReportingSchl[1]')
         FROM RCTXMLD
         WHERE RCTXMLD_DOCNAME = 'rsand.xml'
         SELECT existsNode (RCTXMLD_XMLDOC,'/CommonRecord/ReportingSchl[1]/AttendingSchl[1]')
         FROM RCTXMLD
         WHERE RCTXMLD_DOCNAME = 'rsand.xml'
         SELECT XMLTYPE.existsNode (RCTXMLD_XMLDOC, '/CommonRecord/ReportingSchl[1]')
         FROM RCTXMLD
         WHERE RCTXMLD_DOCNAME = 'rsand.xml'
    2. The following SQL compiles and works without error from Pro*C:
    EXEC SQL DECLARE REPORTING_SCHOOL CURSOR FOR
    SELECT XMLTYPE.existsNode (RCTXMLD_XMLDOC, '/CommonRecord/ReportingSchl[1]')
    FROM RCTXMLD
    WHERE RCTXMLD_DOCNAME = :file_name_parm;
    Note: This only compiles when existsNode is prefixed by "XMLTYPE."
    3. The following SQL generates runtime errors from Pro*C:
    static void ins_xml_doc(void)
    #ifdef SCT_DEBUG
    printf("Executing ins_xml_doc\n");
    fflush(stdout);
    #endif
    EXEC SQL EXECUTE
    DECLARE
    xml_clob CLOB;
    BEGIN
    xml_clob := f_get_xml_document(:file_name_parm);
    INSERT into RCTXMLD VALUES (:file_name_parm, XMLTYPE(xml_clob));
    END;
    END-EXEC;
    POSTORA;
    Run Sequence Number....................................:
    Processing C:\TEMP\jobsub\finaid\rsand.xml...
    Connected.
    ORA-22288: file or LOB operation FILEOPEN failed
    The process cannot access the file because
    it is being used by another process
    ORA-06512: at "SYS.DBMS_LOB", line 672
    ORA-06512: at "FAISMGR.F_GETñ
    WRN-ORACERR: Error occurred in file "d:\banner\finaid\c\rerim04.pc" at line 1318
    WRN-ERRSTMT: Following statement was last statement parsed:
    declare xml_clob CLOB ; BEGIN xml_clob := f_get_xml_document ( :file_n
    Unable to initialize device default
    4. The following SQL generates compile errors from Pro*C:
    EXEC SQL SELECT XMLTYPE.extractValue(RCTXMLD_XMLDOC, '/CommonRecord/ReportingSchl[1]/@EntityId')
    INTO :ReportingSchlEntityId
    FROM RCTXMLD
    WHERE RCTXMLD_DOCNAME = :file_name_parm;
    POSTORA;
    Processing rerim04, type pc...
    Pro*C/C++: Release 9.2.0.1.0 - Production on Thu Feb 6 08:59:46 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    System default option values taken from: D:\oracle\ora92\precomp\admin\pcscfg.cfg
    Error at line 1887, column 5 in file d:\banner\finaid\c\rerim04.pc
    EXEC SQL SELECT XMLTYPE.extractValue(RCTXMLD_XMLDOC,
    ....1
    PLS-S-00302, component 'EXTRACTVALUE' must be declared
    Error at line 1887, column 5 in file d:\banner\finaid\c\rerim04.pc
    EXEC SQL SELECT XMLTYPE.extractValue(RCTXMLD_XMLDOC,
    ....1
    PLS-S-00000, SQL Statement ignored
    Semantic error at line 1887, column 5, file d:\banner\finaid\c\rerim04.pc:
    EXEC SQL SELECT XMLTYPE.extractValue(RCTXMLD_XMLDOC,
    ....1
    PCC-S-02346, PL/SQL found semantic errors
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
    Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
    rerim04.c
    fatal error C1083: Cannot open source file: 'C:\TEMP\rerim04.c': No such file or directory

    On an Oracle 9iR2 NT machine (Pro*C/C++: Release 9.2.0.1.0)...
    1. The following SQL works without error from SQL*Plus:
         DECLARE
         xml_clob CLOB;
         file_name VARCHAR2(200);
         BEGIN
         file_name := 'rsand.xml';
         xml_clob := f_get_xml_document(file_name);
         insert into RCTXMLD values(file_name, XMLTYPE(xml_clob));
         END;
         select extractValue(RCTXMLD_XMLDOC, '/CommonRecord/ReportingSchl[1]/@EntityId')
         from rctxmld
         where rctxmld_docname = 'rsand.xml'
         SELECT existsNode (RCTXMLD_XMLDOC, '/CommonRecord/ReportingSchl[1]')
         FROM RCTXMLD
         WHERE RCTXMLD_DOCNAME = 'rsand.xml'
         SELECT existsNode (RCTXMLD_XMLDOC,'/CommonRecord/ReportingSchl[1]/AttendingSchl[1]')
         FROM RCTXMLD
         WHERE RCTXMLD_DOCNAME = 'rsand.xml'
         SELECT XMLTYPE.existsNode (RCTXMLD_XMLDOC, '/CommonRecord/ReportingSchl[1]')
         FROM RCTXMLD
         WHERE RCTXMLD_DOCNAME = 'rsand.xml'
    2. The following SQL compiles and works without error from Pro*C:
    EXEC SQL DECLARE REPORTING_SCHOOL CURSOR FOR
    SELECT XMLTYPE.existsNode (RCTXMLD_XMLDOC, '/CommonRecord/ReportingSchl[1]')
    FROM RCTXMLD
    WHERE RCTXMLD_DOCNAME = :file_name_parm;
    Note: This only compiles when existsNode is prefixed by "XMLTYPE."
    3. The following SQL generates runtime errors from Pro*C:
    static void ins_xml_doc(void)
    #ifdef SCT_DEBUG
    printf("Executing ins_xml_doc\n");
    fflush(stdout);
    #endif
    EXEC SQL EXECUTE
    DECLARE
    xml_clob CLOB;
    BEGIN
    xml_clob := f_get_xml_document(:file_name_parm);
    INSERT into RCTXMLD VALUES (:file_name_parm, XMLTYPE(xml_clob));
    END;
    END-EXEC;
    POSTORA;
    Run Sequence Number....................................:
    Processing C:\TEMP\jobsub\finaid\rsand.xml...
    Connected.
    ORA-22288: file or LOB operation FILEOPEN failed
    The process cannot access the file because
    it is being used by another process
    ORA-06512: at "SYS.DBMS_LOB", line 672
    ORA-06512: at "FAISMGR.F_GETñ
    WRN-ORACERR: Error occurred in file "d:\banner\finaid\c\rerim04.pc" at line 1318
    WRN-ERRSTMT: Following statement was last statement parsed:
    declare xml_clob CLOB ; BEGIN xml_clob := f_get_xml_document ( :file_n
    Unable to initialize device default
    4. The following SQL generates compile errors from Pro*C:
    EXEC SQL SELECT XMLTYPE.extractValue(RCTXMLD_XMLDOC, '/CommonRecord/ReportingSchl[1]/@EntityId')
    INTO :ReportingSchlEntityId
    FROM RCTXMLD
    WHERE RCTXMLD_DOCNAME = :file_name_parm;
    POSTORA;
    Processing rerim04, type pc...
    Pro*C/C++: Release 9.2.0.1.0 - Production on Thu Feb 6 08:59:46 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    System default option values taken from: D:\oracle\ora92\precomp\admin\pcscfg.cfg
    Error at line 1887, column 5 in file d:\banner\finaid\c\rerim04.pc
    EXEC SQL SELECT XMLTYPE.extractValue(RCTXMLD_XMLDOC,
    ....1
    PLS-S-00302, component 'EXTRACTVALUE' must be declared
    Error at line 1887, column 5 in file d:\banner\finaid\c\rerim04.pc
    EXEC SQL SELECT XMLTYPE.extractValue(RCTXMLD_XMLDOC,
    ....1
    PLS-S-00000, SQL Statement ignored
    Semantic error at line 1887, column 5, file d:\banner\finaid\c\rerim04.pc:
    EXEC SQL SELECT XMLTYPE.extractValue(RCTXMLD_XMLDOC,
    ....1
    PCC-S-02346, PL/SQL found semantic errors
    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
    Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
    rerim04.c
    fatal error C1083: Cannot open source file: 'C:\TEMP\rerim04.c': No such file or directory

  • Errors were found when compiling the workflow. The workflow files were saved but cannot be run.

    Greetings All,
    I am having issues with a SharePoint Designer workflow.  This is a SharePoint 2013 environment, I'm using SharePoint Designer 2013 and working on a SharePoint 2010 workflow.  I'm developing this as a SharePoint 2010 workflow because I need to do
    impersonation.
    The environment and workflow have been running, in the past week, without issue.  I went to add a couple steps and now I cannot publish the workflow.  While in SharePoint Designer, I receive the error:
    "Errors were found when compiling the workflow.  The workflow files were saved but cannot be run."  When I click the Advanced button on the error dialog, the message is "Unexpected error on server associating the workflow." 
    That is all the error information I have available; nothing is in the log files.
    I have investigated this error and tried the following:
    Cleared the SharePoint Designer cache.
    The WebApp.UserDefinedWorkflowMaximumComplexity was at 7000 so I increased it to 10000.  Restarted the servers (which may not have been necessary) and tried again receiving the same error.  I then increased it to 30000 with the same error result.
    Since this is a large workflow, I tried created a workflow with a single action, write to workflow log, with the same error results.
    I reboot the servers and try again and now I can publish the small test workflow but not the original.  However, neither will run.  When I attempt to manually run the small test workflow on an item, I get an error: "Sorry something went wrong.
    An unexpected error occurs.  I checked the log files for the correlation id and nothing, nothing was logged for the error. ~arg~
    Also, now no workflows can be published in this web app.  Not just the one I was working on but none of them!
    Does anyone have a clue what has happened to the SharePoint 2010 workflow service?  Or some suggestions for me to try?
    Thank you in advance for your help!
    Bob Mixon

    try these links:
    http://sp2013.pro/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/
    http://code2care.org/pages/sharepoint-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run/
    http://sharepoint.stackexchange.com/questions/119909/sharepoint-designer-error-errors-were-found-when-compiling-the-workflow
    http://stackoverflow.com/questions/26413125/errors-were-found-when-compiling-the-workflow-in-sharepoint-2013
    Hi Sagar,
    I appreciate it but if you see my original post, this is a SharePoint 2010 workflow that cannot be published; which has now caused all SharePoint 2010 workflows in the same web app to error.
    Your first link is specific to SharePoint 2013 workflows.
    Your second link refers to the UserDefinedWorkflowMaximumComplexity.  If you read my original post, I've already tried this and I've tried to publish a small (single activity) workflow.
    Your third link also refers to large workflows with many approval activities.  My workflow doesn't contain any approval activities.
    And you fourth link refers to 2013 workflows not 2010.
    My issue is with publishing and running a SharePoint 2010 workflow in SharePoint 2013.
    Thank you...

  • How to integrate Pro C compiler and liberies in order to compile Pro C in oracle 9i

    Hello ,
    My name is Ron .
    I already installed The Database Server oracle 9i in my machine
    i do not install the Oracle 9i client only the Database server.
    but when i'm trying to compile Pro C sample program
    i get an error:
    operable program or batch file.
    Error executing c:\winnt\system32\cmd.exe.
    From what i know , oracle 9i Pro C liberay files must be in location "C:\Oracle\Ora92\precomp\lib\msvc" in my machine .
    but this directory not exist and also the liberies are missing.
    Do i miss something any installation of the oracle client?
    Do i need to install also the oracle 9i client in order to have the Pro C compiler and all the
    Pro C liberies .?
    thanks in advance.
    Ron Bar yosef

    Pro*C is a client side tool ans so will be available when you install the Oracle client.

  • Pro*C compiling/linking

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

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

  • Error while executing the compilation process

    Hi,
    ISA Framework: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while executing the compilation process:  javac: invalid flag: "/usr/sap/CJP/J06/j2ee/cluster/server2/apps/sap.com/crm~isauseradm/servlet_jsp/isauseradm/work/jsp_login XXXXXXXXXXX.java" Usage: javac <options> <source files> where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath <path> Specify where to find user class files -sourcepath <path> Specify where to find input source files -bootclasspath <path> Override location of bootstrap class files -extdirs <dirs> Override location of installed extensions -d <directory> Specify where to place generated class files -encoding <encoding> Specify character encoding used by source files -source <release> Provide source compatibility with specified release -target <release> Generate class files for specific VM version -help Print a synopsis of standard options ].
    We get this message periodically then we login to isauseradm-application or shopadmin-application.
    How we can solve this issue? Why it's appears in system?
    /nwa shows this error:
    Process after commit failed - may be hanging internal locks mut be removed manually.
    Where I can see hanging internal locks ?
    Denis

    to add some information,
    in runtime workbench, component monitoring, performance monitoring and all other thing except message monitoring is OK.

  • [SOLVED] configure: error: cannot run C compiled programs

    I'm trying to build lib32-libxkbcommon 0.5.0-1 from AUR with makepkg. I already tried installing pacman (setting the default makepkg.conf) and multilib-devel with no luck.
    makepkg messages:
    ==> Making package: lib32-libxkbcommon 0.5.0-1 (Mon May 11 00:17:05 EEST 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found libxkbcommon-0.5.0.tar.xz
    ==> Validating source files with sha256sums...
    libxkbcommon-0.5.0.tar.xz ... Passed
    ==> Extracting sources...
    -> Extracting libxkbcommon-0.5.0.tar.xz with bsdtar
    bsdtar: Failed to set default locale
    ==> Starting prepare()...
    ==> Removing existing $pkgdir/ directory...
    ==> Starting build()...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc -m32
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... configure: error: in `/mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0':
    configure: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details
    ==> ERROR: A failure occurred in build().
    Aborting...
    makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync --no-motd -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    #-- The package required by makepkg to download VCS sources
    # Format: 'protocol::package'
    VCSCLIENTS=('bzr::bzr'
    'git::git'
    'hg::mercurial'
    'svn::subversion')
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CPPFLAGS="-D_FORTIFY_SOURCE=2"
    CFLAGS="-march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -fstack-protector --param=ssp-buffer-size=4"
    CXXFLAGS="${CFLAGS}"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j5"
    #-- Debugging flags
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(!distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    #-- sign: Generate PGP signature file
    BUILDENV=(!distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- staticlibs: Leave static library (.a) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    #-- upx: Compress binary executable files using UPX
    #-- debug: Add debugging flags as specified in DEBUG_* variables
    OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Log files: specify a fixed directory where all log files will be placed
    #LOGDEST=/home/makepkglogs
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    #-- Specify a key to use for package signing
    #GPGKEY=""
    # COMPRESSION DEFAULTS
    COMPRESSGZ=(gzip -c -f -n)
    COMPRESSBZ2=(bzip2 -c -f)
    COMPRESSXZ=(xz -c -z -)
    COMPRESSLRZ=(lrzip -q)
    COMPRESSLZO=(lzop -q)
    COMPRESSZ=(compress -c -f)
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    config.log:
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by libxkbcommon configure 0.5.0, which was
    generated by GNU Autoconf 2.69. Invocation command line was
    $ ./configure --prefix=/usr --libdir=/usr/lib32 --disable-docs --disable-static
    ## Platform. ##
    hostname = Arch
    uname -m = x86_64
    uname -r = 4.0.1-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Wed Apr 29 12:00:26 CEST 2015
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = unknown
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/bin
    PATH: /usr/lib/jvm/default/bin
    PATH: /usr/bin/site_perl
    PATH: /usr/bin/vendor_perl
    PATH: /usr/bin/core_perl
    ## Core tests. ##
    configure:2424: checking for a BSD-compatible install
    configure:2492: result: /usr/bin/install -c
    configure:2503: checking whether build environment is sane
    configure:2558: result: yes
    configure:2709: checking for a thread-safe mkdir -p
    configure:2748: result: /usr/bin/mkdir -p
    configure:2755: checking for gawk
    configure:2771: found /usr/bin/gawk
    configure:2782: result: gawk
    configure:2793: checking whether make sets $(MAKE)
    configure:2815: result: yes
    configure:2844: checking whether make supports nested variables
    configure:2861: result: yes
    configure:2987: checking whether to enable maintainer-specific portions of Makefiles
    configure:2996: result: yes
    configure:3023: checking for style of include used by make
    configure:3051: result: GNU
    configure:3122: checking for gcc
    configure:3149: result: gcc -m32
    configure:3378: checking for C compiler version
    configure:3387: gcc -m32 --version >&5
    gcc (GCC) 5.1.0
    Copyright (C) 2015 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    configure:3398: $? = 0
    configure:3387: gcc -m32 -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/gcc-multilib/src/gcc-5-20150505/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --with-default-libstdcxx-abi=c++98
    Thread model: posix
    gcc version 5.1.0 (GCC)
    configure:3398: $? = 0
    configure:3387: gcc -m32 -V >&5
    gcc: error: unrecognized command line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3398: $? = 1
    configure:3387: gcc -m32 -qversion >&5
    gcc: error: unrecognized command line option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.
    configure:3398: $? = 1
    configure:3418: checking whether the C compiler works
    configure:3440: gcc -m32 -march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
    configure:3444: $? = 0
    configure:3492: result: yes
    configure:3495: checking for C compiler default output file name
    configure:3497: result: a.out
    configure:3503: checking for suffix of executables
    configure:3510: gcc -m32 -o conftest -march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
    configure:3514: $? = 0
    configure:3536: result:
    configure:3558: checking whether we are cross compiling
    configure:3566: gcc -m32 -o conftest -march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
    In file included from /usr/include/stdio.h:27:0,
    from conftest.c:11:
    /usr/include/features.h:365:25: fatal error: sys/cdefs.h: No such file or directory
    compilation terminated.
    configure:3570: $? = 1
    configure:3577: ./conftest
    ./configure: line 3579: ./conftest: No such file or directory
    configure:3581: $? = 127
    configure:3588: error: in `/mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0':
    configure:3590: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details
    ## Cache variables. ##
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value='gcc -m32'
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -fstack-protector --param=ssp-buffer-size=4'
    ac_cv_env_CPPFLAGS_set=set
    ac_cv_env_CPPFLAGS_value=-D_FORTIFY_SOURCE=2
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_DOT_set=
    ac_cv_env_DOT_value=
    ac_cv_env_DOXYGEN_set=
    ac_cv_env_DOXYGEN_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_PKG_CONFIG_LIBDIR_set=
    ac_cv_env_PKG_CONFIG_LIBDIR_value=
    ac_cv_env_PKG_CONFIG_PATH_set=set
    ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib32/pkgconfig
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_XCB_XKB_CFLAGS_set=
    ac_cv_env_XCB_XKB_CFLAGS_value=
    ac_cv_env_XCB_XKB_LIBS_set=
    ac_cv_env_XCB_XKB_LIBS_value=
    ac_cv_env_XORG_MALLOC_DEBUG_ENV_set=
    ac_cv_env_XORG_MALLOC_DEBUG_ENV_value=
    ac_cv_env_YACC_set=
    ac_cv_env_YACC_value=
    ac_cv_env_YFLAGS_set=
    ac_cv_env_YFLAGS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_path_mkdir=/usr/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC='gcc -m32'
    ac_cv_prog_make_make_set=yes
    am_cv_make_support_nested_variables=yes
    ## Output variables. ##
    ACLOCAL='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/missing aclocal-1.14'
    ADMIN_MAN_DIR=''
    ADMIN_MAN_SUFFIX=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='$${TAR-tar}'
    AM_BACKSLASH='\'
    AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
    AM_DEFAULT_VERBOSITY='1'
    AM_V='$(V)'
    APP_MAN_DIR=''
    APP_MAN_SUFFIX=''
    AR=''
    AUTOCONF='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/missing autoconf'
    AUTOHEADER='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/missing autoheader'
    AUTOMAKE='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/missing automake-1.14'
    AWK='gawk'
    BASE_CFLAGS=''
    BUILD_LINUX_TESTS_FALSE=''
    BUILD_LINUX_TESTS_TRUE=''
    CC='gcc -m32'
    CCDEPMODE=''
    CFLAGS='-march=core2 -m64 -mfpmath=sse -O2 -fomit-frame-pointer -pipe -fstack-protector --param=ssp-buffer-size=4'
    CHANGELOG_CMD=''
    CPP=''
    CPPFLAGS='-D_FORTIFY_SOURCE=2'
    CWARNFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR='.deps'
    DLLTOOL=''
    DOT=''
    DOXYGEN=''
    DRIVER_MAN_DIR=''
    DRIVER_MAN_SUFFIX=''
    DSYMUTIL=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_DOCS_FALSE=''
    ENABLE_DOCS_TRUE=''
    ENABLE_X11_FALSE=''
    ENABLE_X11_TRUE=''
    EXEEXT=''
    FGREP=''
    FILE_MAN_DIR=''
    FILE_MAN_SUFFIX=''
    GREP=''
    HAVE_DOT=''
    HAVE_DOT_FALSE=''
    HAVE_DOT_TRUE=''
    HAVE_DOXYGEN_FALSE=''
    HAVE_DOXYGEN_TRUE=''
    HAVE_NO_UNDEFINED_FALSE=''
    HAVE_NO_UNDEFINED_TRUE=''
    INSTALL_CMD=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    LD=''
    LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro'
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIB_MAN_DIR=''
    LIB_MAN_SUFFIX=''
    LIPO=''
    LN_S=''
    LTLIBOBJS=''
    MAINT=''
    MAINTAINER_MODE_FALSE='#'
    MAINTAINER_MODE_TRUE=''
    MAKEINFO='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/missing makeinfo'
    MANIFEST_TOOL=''
    MAN_SUBSTS=''
    MISC_MAN_DIR=''
    MISC_MAN_SUFFIX=''
    MKDIR_P='/usr/bin/mkdir -p'
    NM=''
    NMEDIT=''
    OBJDUMP=''
    OBJEXT=''
    OTOOL64=''
    OTOOL=''
    PACKAGE='libxkbcommon'
    PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=libxkbcommon'
    PACKAGE_NAME='libxkbcommon'
    PACKAGE_STRING='libxkbcommon 0.5.0'
    PACKAGE_TARNAME='libxkbcommon'
    PACKAGE_URL='http://xkbcommon.org'
    PACKAGE_VERSION='0.5.0'
    PATH_SEPARATOR=':'
    PKG_CONFIG=''
    PKG_CONFIG_LIBDIR=''
    PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
    RANLIB=''
    RT_LIBS=''
    SED=''
    SET_MAKE=''
    SHELL='/bin/sh'
    STRICT_CFLAGS=''
    STRIP=''
    VERSION='0.5.0'
    XCB_XKB_CFLAGS=''
    XCB_XKB_LIBS=''
    XKBCONFIGROOT=''
    XLOCALEDIR=''
    XORG_MALLOC_DEBUG_ENV=''
    XORG_MAN_PAGE=''
    YACC=''
    YACC_INST=''
    YFLAGS=''
    ac_ct_AR=''
    ac_ct_CC='gcc -m32'
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include='include'
    am__isrc=''
    am__leading_dot='.'
    am__nodep='_no'
    am__quote=''
    am__tar='$${TAR-tar} chof - "$$tardir"'
    am__untar='$${TAR-tar} xf -'
    bindir='${exec_prefix}/bin'
    build=''
    build_alias=''
    build_cpu=''
    build_os=''
    build_vendor=''
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host=''
    host_alias=''
    host_cpu=''
    host_os=''
    host_vendor=''
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /mnt/tmp/yaourt-tmp-tsester/aur-lib32-libxkbcommon/src/libxkbcommon-0.5.0/build-aux/install-sh'
    libdir='/usr/lib32'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='$(MKDIR_P)'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "libxkbcommon"
    #define PACKAGE_TARNAME "libxkbcommon"
    #define PACKAGE_VERSION "0.5.0"
    #define PACKAGE_STRING "libxkbcommon 0.5.0"
    #define PACKAGE_BUGREPORT "[url]https://bugs.freedesktop.org/enter_bug.cgi?product=libxkbcommon[/url]"
    #define PACKAGE_URL "[url]http://xkbcommon.org[/url]"
    #define PACKAGE "libxkbcommon"
    #define VERSION "0.5.0"
    configure: exit 1
    other info:
    core/pacman 4.2.1-1
    multilib/gcc-multilib 4.9.2-4 (multilib-devel) [installed]
        The GNU Compiler Collection - C and C++ frontends for multilib
    multilib/lib32-fakeroot 1.20.2-1 (multilib-devel) [installed]
        Tool for simulating superuser privileges (32-bit)
    multilib/lib32-libltdl 2.4.5-1 (multilib-devel) [installed]
        A generic library support script (32-bit)
    Last edited by tsester (2015-05-10 22:10:28)

    tsester wrote:P.S.: I recently transfered the linux system between failing disks
    In that case you should probably check that no other packages are missing files with
    pacman -Qkk 2>&1 | grep "No such file or directory"
    Any packages that report that they're missing files, you should reinstall.

  • Errors were found when compiling workflow in SharePoint Designer 2010

    Hello there,
    I've run into a interesting issue in SharePoint Designer 2010 when publishing a workflow. I now get the below error
    Normally when I get this message I simply clear the SharePoint Designer 2010 cache described in this
    article, however, in this case the issue still continued. Hence I started the process of trial and error and quickly realized that the Update Item action was the culprit. In this action I am updating approximately 70 columns. Currently, I have two such
    actions running in sequence. When I added the third Update Item action to do the same, I started getting this error.
    Has anyone else experienced this before? In the workflow I am currently working on I am going to have to using the Update Item action several times and update approximately 70 columns hence I am open to other ideas to do the same.
    Thanks in advance.

    Hi Entan Ming,
    Thanks for your reply, Hope you are aware that while we create any new workflow using SharePoint Designer 2013. There are two ways (We can say Platforms) to create the new workflow 1. SharePoint
    2010 and 2. SharePoint 2013.
    If I choose second one I. e SharePoint 2013, and try to create, save and publish workflow it`s working fine. But whenever I select option no. 1  i.e. SharePoint 2010  Platform to create
    the workflow, I am able to Create it , save it , but while I try to publish it I got an error:
    Errors were found when compiling the workflow. The workflow files were saved but cannot be run.
    When I click on Advance I got message:
    Unexpected error on server associating the workflow
    My question is that, I am not able to publish any workflow in SharePoint 2010 Platform, using SharePoint Designer 2013.  
    Before publishing a workflow, I click on ‘Check for errors’ button, there was no any error found.
    Thanks & Regards Mr. Bajirao Shinde

  • "Error running javac.exe compiler" when using ant to compile Eclipse plugin

    Hi
    I encounter an error "Error running C:\jdk1.5.0_06\bin\javac.exe compiler" when building my project using ant1.7.
    My project has 10 eclipse plugins, and each plugin is compiled by invoking following ant target
    <!-- ===================================================================
    Compile specified plugin
         target parameters:
              param.plugin.dir: the plugin directory
              param.plugin.targetJarFile: the name of jar file for the given plugin
              param.plugin.src.dir: the folder name of source codes. Note: it is relative path name
              param.fork: indicate if another process is forked to run javac
    =================================================================== -->
    <target name="compilePlugin">
         <!-- Prepare compile environment -->
         <!-- Delete obsolete build folder -->
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
         <!-- Delete obsolete jar file -->
         <delete file="${param.plugin.dir}/${param.plugin.targetJarFile}" quiet="true"/>
         <mkdir dir="${param.plugin.dir}/${build.dir}"/>
         <!-- Compile source codes -->
         <javac      srcdir="${param.plugin.dir}/${param.plugin.src.dir}"
                   destdir="${param.plugin.dir}/${build.dir}"
                   failonerror="${javacFailOnError}"
                   verbose="${javacVerbose}"
                   debug="${javacDebugInfo}"
                   deprecation="${javacDeprecation}"
              optimize="${javacOptimize}"
                   source="${javacSource}"
                   target="${javacTarget}"     
                   fork="${param.fork}" memoryInitialSize="256m" memoryMaximumSize="512m">
              <classpath refid="compile.classpath" />
         </javac>
         <!-- Create plugin jar file -->
         <copy todir="${param.plugin.dir}/${build.dir}" failonerror="true">
              <fileset dir="${param.plugin.dir}/${param.plugin.src.dir}" excludes="**/*.java, **/package.htm*" />
         </copy>
         <jar jarfile="${param.plugin.dir}/${param.plugin.targetJarFile}" basedir="${param.plugin.dir}/${build.dir}"/>
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
    </target>
    Since each of first 9 plugins contains less than 500 java source files, we always set "param.fork" to false when invoking this ant target.
    For the 10th plugin, it has about 1000 source files. If we set "param.fork" to false, we will get the error "Error running javac.exe compiler". So we have to set "param.fork" to true when compiling it. This week, this plugin contains about 1250 files and we get the same error again when compiling it. I tried to increase the "memoryMaximumSize" to "768", but still couldn't get through it.
    BTW, There are about 150 jar files in our classpath for compiling plugins. Do many jar files cause this problem?
    Any help is highly appreciated.
    Many thanks
    Oceanman

    I encountered a very similar error and I was able to resolve it by removing the following parameters from the javac task:
    fork="${param.fork}"
    memoryInitialSize="256m"
    memoryMaximumSize="512m"My values were not the same as yours, before I removed them, the values were set to:
    fork="true"
    memoryInitialSize="256m"
    memoryMaximumSize="256m" Not sure why this fixed my problem but it did. I was using Ant 1.7 and Java 1.6_07 hope this helps.

  • Error: Could not find compiled resource bundle 'components' for locale 'en_US'

    We are porting a fairly large body of Flex3 code developed under FlexBuilder 3 to Flex4 under FlashBuilder 4.  Most of the conversion appears to be working fine, with one exception.  When I launch the Flex4 version, all my data interchanges with the server works.  Just as it is about to show the UI, the following error occurs:
         Error: Could not find compiled resource bundle 'components' for locale 'en_US'
    I am actually using a locale of fr_FR, but I assume it couldn't find that, reverted to en_US, failed again and then barfed.  If I look in
         ~Adobe Flash Builder 4\sdks\4.0.0\frameworks\locale\fr_FR
    I see a lot of swc files, and of course no 'components.swc'.  I believe the problem is that our Flex3 code is using mx components, and the compatibility mode is not properly handling it for some reason.  I think this is mostly from our in-house UI library.  The properties for that library (and for my main app I am testing now) have:
         - Use default SDK (currently "Flex 4.0")
         - Use Flex 3 compability mode
         - Use minimum version (Flash Player) required by the Flex SDK
         - Enable strict type checking
         - Enable warnings
    I also tried putting the compatibility flag in the mxmlc compile line, with no change in behavior.  This project is built by the following script:
    ruby scripts/concat_properties.rb -o resources.properties ^
         src/main/flex/locale/fr_common/res_myname_fr_common.properties ^
         src/main/flex/locale/fr_common/scout/res_myname_scout_fr_common.properties ^
         src/main/flex/locale/fr_fr/res_myname_fr_fr.properties ^
         ../../scout/common/src/locale/fr_common/mypals/resources.properties
    mxmlc -locale=fr_FR -source-path=. ^
         -compatibility-version=3.0.0. ^
         -static-rsls=true ^
         -include-resource-bundles=resources ^
         -output src/main/resources/bundles/mypals/fr_fr_resources.swf
    copy src\main\resources\bundles\mypals\fr_fr_resources.swf ^
         bin-debug\bundles\mypals
    What have I missed???

    You have two posts. I will try to answer each completely.  Second one first. You say I should change my build to include the framework resources.  I am afraid I am not sure which and what to do there.  We combine all our properties file into one large one, then use the following build line:
    mxmlc -locale=fr_FR,en_US -source-path=. ^
         -compatibility-version=3.0.0. ^
         -static-rsls=true ^
         -include-resource-bundles=resources ^
         -output src/main/resources/bundles/mypals/fr_fr_resources.swf
    I am assuming you are telling me to change the "-include-resource-bundles" line, but what to add?  The "sdks\4.0.0\frameworks\locale\en_US" holds 13 swf files.  I tried adding that entire folder (along with the fr_FR folder) to the project library path (in the project properties dialog), but that made no change.  I also tried reverting the library path tab back to "MX Only" instead of "MX + Spark", but again no change.
    ====================
    For your first message, I did a search for 'spark' in the entire project.  It only existed on 3 lines, each at the start of css files:
        @namespace s "library://ns.adobe.com/flex/spark";
    I had put those in based on reading needed changes to naming in CSS.  Since I was not actually using any spark ('s') components yet, I removed these lines.  The entire project now does not have the word 'spark' anywhere in it. No change in behavior (as I expected).
    I did a search for "s:" throughout the project.  That does exist in probably 100 places, but all are legitimate. Things like (xmlns:mx="http://www.adobe.com/2006/mxml") or variable names ("var matches:Object").  No reference to any s: object.  (While on the topic, why does FlashBuilder still not have a "whole word" box to limit searches??).
    Note that when I first reported this problem, the compiler was set to ONLY support fr_FR.  In fighting this, I changed it to "en_US,fr_FR" hoping that would tell the compiler to load whatever en_US items it was looking for.  We really do not want any English support in this version. (We do have another SWF created with only support for en_US, and another for en_UK, etc.  Each language is a separate node on our server, so there is no need to mix & match at runtime)
    The console shows a lot of swf loads that I do not understand...
    The console output shows (my comments after ==> indicator)
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf - 2,229,992 bytes after decompression
                 ==> our locale is set here, after the above load and before the next line
    Look for name file at: ./data/fr_fr/names.csv
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf - 21,200 bytes after decompression
    Loaded 2278 names.       ==> indicates successful load of data retrieved from server
    Loaded 154 bad words     ==> our second data set has been retrieved and loaded
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 58,777 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 322,606 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\bundles\mypals\fr_fr_resources.swf - 595,025 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 202,168 bytes after decompression
        ==> not sure what this next warning means.  I'm guessing I will later have to research it and return to 'secure' comm with server, but I'm ignoring for now
    Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The 'secure' attribute is only permitted in HTTPS and socket policy files.  See http://www.adobe.com/go/strict_policy_files for details.
    Resource bundle loaded for locale fr_fr  ==> at this point, we appear to have our French assets loaded successfully
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 202,168 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 1,303,976 bytes after decompression
    [Unload SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf  ==> some runs see this, but others do not. I expect it is a timing issue of whether it is reached or not before the crash
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 794,898 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 194,635 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 261,589 bytes after decompression
    ==> everything looks fine up to here.  This is then when the third call to installCompiledResourceBundles occurs
    Error: Could not find compiled resource bundle 'components' for locale 'en_US'.
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()[E:\dev\4.0.0\frameworks \projects\framework\src\mx\resources\ResourceManagerImpl.as:340]
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()[E:\dev\4.0.0\framework s\projects\framework\src\mx\resources\ResourceManagerImpl.as:269]
        at mx.core::FlexModuleFactory/installCompiledResourceBundles()
        at mx.core::FlexModuleFactory/docFrameHandler()
        at mx.core::FlexModuleFactory/docFrameListener()

  • Error: Could not find compiled resource bundle 'sparkEffects' for locale 'en_US'

    I have a multi-module application that I am building in Flash Builder 4.5 Premium.
    When I launch the application It starts with a basic login page and looks ok. After logging in, modules and style sheets are loaded dynamically and  I get this exception stack trace.
    Error: Could not find compiled resource bundle 'sparkEffects' for locale 'en_US'.
              at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
              at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
              at mx.core::FlexModuleFactory/installCompiledResourceBundles()
              at mx.core::FlexModuleFactory/docFrameHandler()
              at mx.core::FlexModuleFactory/docFrameListener()
    Windows 7
    Flashbuilder 4.5 Premium
    Compiled with SDK 4.5.1
    Flex 3 Compatibility Mode: No
    Framework Linkage: RSL
    SWC Project Linkage: RSL
    Can anyone help me fix this?

    I have determined at least that it is the very first style sheet that I am loading into the application that is causing the exception as I modified to not load anything else.
    Style sheets are loadingusing this method. FlexGlobals.topLevelApplication.styleManager.loadStyleDeclarations

  • An error occurred during the compilation of the requested file, or one of its dependencies.

    An error occurred during the compilation of the requested file, or one of its dependencies. The type or namespace name 'Directory Services' does not exist in the namespace 'System' (are you missing an assembly reference?) 

    Hello,
    What you are trying to achieve and where you are getting this error?
    If you facing issue with namespace then refer this link:
    http://stackoverflow.com/questions/265096/system-directoryservices-is-not-recognised-in-the-namespace-system
    http://stackoverflow.com/questions/10691001/the-type-or-namespace-name-directoryservices-does-not-exist-in-the-namespace
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

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

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

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

  • Configure: error: cannot run C compiled programs.

    Hi,
    I am new to Solaris. I have installed Solaris 10 and compiled packages without any error.
    I have tried to compile Wireshark 1.7.1 and it was exist indicating '/usr/include/sys/feature_tests.h no such file or directory'.
    So I have download feature_tests.h file and uploaded it to the relevant location and run ./configure again.
    Now I am not able to compile any package and it indicate error
    'configure: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details'
    I have attached portion of the config.log
    configure:3739: checking whether the C compiler works
    configure:3761: gcc conftest.c >&5
    configure:3765: $? = 0
    configure:3813: result: yes
    configure:3816: checking for C compiler default output file name
    configure:3818: result: a.out
    configure:3824: checking for suffix of executables
    configure:3831: gcc -o conftest conftest.c >&5
    configure:3835: $? = 0
    configure:3857: result:
    configure:3879: checking whether we are cross compiling
    configure:3887: gcc -o conftest conftest.c >&5
    In file included from conftest.c:11:
    /usr/include/stdio.h:21:31: sys/feature_tests.h: No such file or directory
    In file included from /usr/include/stdio.h:66,
    from conftest.c:11:
    /usr/include/iso/stdio_iso.h:90: error: syntax error before "fpos_t"
    /usr/include/iso/stdio_iso.h:208: error: syntax error before "fpos_t"
    /usr/include/iso/stdio_iso.h:210: error: syntax error before '*' token
    In file included from /usr/include/stdio.h:135,
    from conftest.c:11:
    /usr/include/iso/stdio_c99.h:54: error: conflicting types for '_RESTRICT_KYWD'
    /usr/include/iso/stdio_c99.h:54: error: previous definition of '_RESTRICT_KYWD' was here
    /usr/include/iso/stdio_c99.h:56: error: redefinition of parameter '_RESTRICT_KYWD'
    /usr/include/iso/stdio_c99.h:56: error: previous definition of '_RESTRICT_KYWD' was here
    /usr/include/iso/stdio_c99.h:68: error: conflicting types for '_RESTRICT_KYWD'
    /usr/include/iso/stdio_c99.h:68: error: previous definition of '_RESTRICT_KYWD' was here
    /usr/include/iso/stdio_c99.h:70: error: conflicting types for '_RESTRICT_KYWD'
    /usr/include/iso/stdio_c99.h:70: error: previous definition of '_RESTRICT_KYWD' was here
    configure:3891: $? = 1
    configure:3898: ./conftest
    ./configure: line 3900: ./conftest: No such file or directory
    configure:3902: $? = 127
    configure:3909: error: in `/wireshark-1.6.7':
    configure:3911: error: cannot run C compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details

    934802 wrote:
    Hi,
    I am new to Solaris. I have installed Solaris 10 and compiled packages without any error.
    I have tried to compile Wireshark 1.7.1 and it was exist indicating '/usr/include/sys/feature_tests.h no such file or directory'.
    So I have download feature_tests.h file and uploaded it to the relevant location and run ./configure again.
    Now I am not able to compile any package and it indicate error Where did you get this file?

Maybe you are looking for

  • Add log button in alv report-OO

    Hi experts, i have a alv report with 2 buttons: one - RElease order and the other is LOG. the user want that after he push on release button(that operate a functions) he want to see if it ended succesfuly - so he need log. the problem is that i dont

  • Import , Export problem in Internal table

    Hi all, I am using ver 4.6C. I have 2 programs  namely X an Y. X is main program  and Y is having some Internal table with data. I want to use Y internal table in X program. In X program. I used SUBmit to call Y program . After Submit  I used Import

  • BOM for MRP

    Hi, Header Part No.                  Sub Assembly      Component                        Procurement type          SPK A2N13400                                                                                E                                           

  • Soil texture triangle in oracle reports

    Hello everybody, I need to show the soil texture triangle, example: http://courses.soil.ncsu.edu/resources/physics/texture/soiltexture.swf, in a report. The graphic depends on three parameters: sand, clay and silt Anyone knows how to do it? Anyone kn

  • Why won't my iPhone restore from back-up, error message saying latest back up corrupted?

    Hi all I was updating my iPhone 4Gs software today and came across an issue when the update finished my phone switched off and anyway it came back on and is showing up as black iPhone 5 on my itunes (It's a white iPhone 4S) which I find odd. Also, I