Link Error with Sample on Solaris

I am getting linking error when compiling the sample for XML C++ Parser, help anyone ?
make SAXSample
gcc -o SAXSample -I../include SAXSample.cpp -L../lib -lxml8 -lxmlc8 -lcore8 -lnls8 -lcore8 -lnls8 -lcore8 -lnsl -lsocket
Undefined first referenced
symbol in file
cout /var/tmp/cczSDNUP.o
XMLParser::xmlterm(void) /var/tmp/cczSDNUP.o
XMLParser::xmlinit(unsigned char *, void (*)(void *, unsigned char const *, unsigned int), void *, xmlsaxcb *, void *, unsigned char *)/var/tmp/cczSDNUP.o
ostream::operator<<(char const *) /var/tmp/cczSDNUP.o
ostream::operator<<(unsigned int) /var/tmp/cczSDNUP.o
XMLParser::xmlparse(unsigned char *, unsigned char *, unsigned int)/var/tmp/cczSDNUP.o
ostream::write(unsigned char const *, int)/var/tmp/cczSDNUP.o
ostream::flush(void) /var/tmp/cczSDNUP.o
ld: fatal: Symbol referencing errors. No output written to SAXSample
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `SAXSample'
null

I am getting this problem as well. I see it was also reported by 2 other people earler. Has anyone resolved this yet? I also have these unresolved external problems when using the C V1 XML parser. It is almost as if the libs downloaded are for a different version of Solaris and not recognized by the newly compiled objects. I have tried a number of things to resolve this without success.
Any help would be greatly appreciated.
Thanks
Julie Bartlett
null

Similar Messages

  • Linker error with ActionHandler sample

    When I try to build the ActionHandler sample (available with Adobe Acrobat SDK 6.0) in Visual Studio 6.0 environment, I am getting some linker error as
    ActionPropertiesDlg.obj : error LNK2001: unresolved external symbol _AVWindowNewFromPlatformThingCompatStub
    Debug/ActionHandler.api : fatal error LNK1120: 1 unresolved externals
    I am sure this is some trivial issue with some settings or include directory missing. I would be grateful if someone could point me a way to avoid this linker error.
    TIA!

    If you build a sample, it should have a complete project for you to
    load. This is very much recommended: there is a lot to get right if
    you manually set up the project.
    Aandi Inston

  • Link error with Forte C++ Update 2 -compat=4

    We've just upgraded to the Forte 6.0 update 2 C++ compiler on
    Solaris 2.6. I'm getting the following link error when linking
    against libraries built with the 4.2 C++ compiler.
    Undefined               first referenced
    symbol                in file
    __rtaccess(MOperation&) /home/eng/sharonc/AdCORBA/CorbaRv-dev/export/s4_56_FORTE_Debug/lib/libcorbarv.so
    __rtaccess(MHash&) /home/eng/sharonc/AdCORBA/CorbaRv-dev/export/s4_56_FORTE_Debug/lib/libcorbarv.so
    __rtaccess(MPublisher&) /home/eng/sharonc/AdCORBA/CorbaRv-dev/export/s4_56_FORTE_Debug/lib/libcorbarv.so
    __rtaccess(MApp&)
    ld: fatal: Symbol referencing errors. No output written to ./tibcorbarvb
    gmake[1]: *** [tibcorbarvb] Error 1
    I've made sure the required patches for the Forte compiler are installed and the system was rebooted.
    I use the following flags when linking:
    CC -mt -g -xildoff -pto -KPIC -D_REENTRANT -compat
    -features=rtti,namespace,bool,localfor,mutable -zmuldefs
    I use -features as I also link with some libraries that use features
    of C++ not available in the 4.2 compiler. However the link
    errors are from the library that is built with the 4.2 compiler.
    Everything compiled and linked fine with Forte 6.0 Update 1.
    This is something new with the update 2 compiler.
    Any help is appreciated.

    Hi There,
    I see that youare using the compiler flag -compat
    with no value assigned.
    This means it defaults 5.0C++ compiler comatibilty mode.
    Since you mentioned in your email that you get the error message from the library built with 4.2 C++
    compiler, try -compat=4 flag.
    See the C++ migration guide for more information
    from http://docs.sun.com
    ....jagruti
    Developers Technical Support
    Sun Microsystems Inc.
    http://www.sun.com/developers/support

  • Linker error with WS6U2 in compat=4 mode

    We have just upgraded from WS6U1 to WS6U2 on
    Solaris 2.8. I am getting a linker error when
    linking against libraries built with the 4.2 C++
    compiler. Everything works fine with WS6U1 compiler.
    The linker error is related to __rtaccess.
    Here is the test case:
    // t.h
    class class42 {
    public:
    virtual int getId();
    // t42.cc
    #include "t.h"
    int
    class42::getId()
    return 33;
    Build the library for t42.cc using 4.2 version of C++
    compiler as follows:
    /opt/SUNWspro/bin/CC -c -I. t42.cc
    /opt/SUNWspro/bin/CC -xar -o libt42.a t42.o
    // t62.cc
    #include "t.h"
    class class6u2 : public class42
    main()
    class42 *nt1 = new class6u2;
    class6u2 d1 = (class6u2 )(nt1);
    Build the above with WS6U2 compiler as follows:
    /opt/SUNWspro/bin/CC -compat=4 -features=rtti -c -I.
    t62.cc
    /opt/SUNWspro/bin/CC -compat=4 -features=rtti -o t62
    -I. t62.o -L. -lt42
    In my real case, I have a library built with 4.2 C++
    compiler. I do not have the souce code for it and
    cannot compile it with rtti. Also, I cannot avoid
    using rtti when compiling my code with WS6U2.
    I am not sure why the WS6U2 tools are looking for
    dynamic cast information in my test case when I am
    not using dynamic_cast or typeid. As I said above,
    the test case works fine with the WS6U1 version of
    compiler.
    Comparision of symbol table information for t62.o
    generated with WS6U1 and WS6U2 shows the following
    difference:
    ts62.o compiled with WS6U1:
    ... NOTY |WEAK |0 |UNDEF |__0FK__rtaccessR6Hclass42
    ts62.o compiled with WS6U2:
    ... NOTY |GLOB |0 |UNDEF |__0FK__rtaccessR6Hclass42
    Any help is appreciated.
    Thank You.
    Chandra Kota

    When you compile with -instances=explicit, no template instances will be generated other than the ones you explicitly ask for.
    This code requires instantiation of some rw_slist members that are not in the librwtools library, and the -instances=explicit option prevents them from being created implicitly.
    First, you need to add an explicit instantiation directive for the missing rw_slist destructor. When you do that, you will find other functions, some from the C++ standard library, that need explicit instantiation.
    Using any of the non-default template compilation models usually requires considerable trial and error to generate all of the needed instances without duplicating any of them.
    For more discussion of the -instances=xxx options and their tradeoffs, please see the C++ User's Guide chapters on using templates.
    - Rose

  • Mac CS4 Linker Error with IAIColorSpace.cpp

    Hi Folks,
    I'm trying to use AIColorSpace in my Mac AICS4 Plug-In using Xcode 3.1.1 on Leopard 10.5.7, but I'm getting a linker errors (see below).
    Has anyone here included "IAIColorSpace.cpp" in their project and successfully compile an AICS4 plug-in using Xcode 3.1.1 on Leopard?
    When I include IAIColorSpace.cpp in my project, I get a linker error of:
    _sAIColorSpace, referenced from
    _sAIColorSpace$non_lazy_ptr in IAIColorSpace.o
    symbol(s) not found
    collect2: Id returned 1 exit status
    There are many Google hits of "non_lazy_ptr" errors with Xcode, but nothing has helped me solve this issue. Any help would be most appreciated!
    Thanks!
    -- Jim

    The usual culprit is that sAIColorSpace needs to be defined in all the right places. Typically its EXTERN'd in both a header & a cpp, as well as included in a list of suites to load (along with the version of the suite to load). Have you added it to all three places? Usually you just find the spots where all the other suties are and cut & paste it into their number. Where that would be depends on whether you're using your own plugin setup or if you're working off one of the Adobe skeleton samples plugins.

  • Cannot create client error with sample SAP JCO code

    Hi,
    I am encountering the following error when trying to connect to a R/3 system using the WAS 6.40 on my laptop. I have cut and pasted the Example1 code from the SAPJCO into my NetWeaver developer studio IDE.
    java.lang.UnsatisfiedLinkError: no CpicNative in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at com.sap.mw.rfc.api.RfcApi.initializeDLL(RfcApi.java:1285)
         at com.sap.mw.rfc.api.RfcApi.<clinit>(RfcApi.java:1299)
         at com.sap.mw.jco.MiddlewareJRfc.<clinit>(MiddlewareJRfc.java:228)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at com.sap.mw.jco.JCO.<clinit>(JCO.java:630)
         at com.sap.mw.jco.support.JRfcTest.correctProperties(JRfcTest.java:1043)
         at com.sap.mw.jco.support.JRfcTest.initCall(JRfcTest.java:1072)
         at com.sap.mw.jco.support.JRfcTest.runConnectionTest(JRfcTest.java:735)
         at com.sap.mw.jco.support.JRfcTest.main(JRfcTest.java:202)
    Cannot create client, error message:
    java.lang.NoClassDefFoundError occured:
       Message:null
    I have a system user defined in R/3 but still this isn't working. I am new to Java so any light you could shed would be greatly appreciated.
    Cheers and TIA,
    Rich

    The unsatisfied link error should be because sapjco.jar cannot link to the sapjco.dll.
    I tried to simulate the problem by
    1) Opening a java perspective.
    2) Create a new 'java' project.
    3) Add libraries sapjco.jar from the path <Drive>:\Program Files\SAP\JDT\eclipse\plugins\com.sap.mw.jco\lib
    You will see sapjcorfc.dll in this path
    4)Add a new class file ,Wrote a sample jco code and executed and it worked..
    The key is to have the sapjcorfc.dll in the same directory as sapjco.jar
    I hope this helps

  • Excelrepor​tdemo project link error with CVI2010 on windows 7, 64-bit operating system

    I am trying to run the excelreportdemo project in CVI2010 on windows 7, 64-bit operating system. I have the Excel2013 installed as well. I have chosen the build configuration as release or debug for 32 bit system so to be compatible for the test platform for production.
    However, I get 12 Project link errors as following:
    Undefined symbol '_ExcelRpt_RangeBorder@24' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_WriteDataFromTableControl@16' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_SetCellValue' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_SetCellRangeAttribute' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_ChartAddtoWorksheet@40' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_ChartWizard@52' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_SetChartAttribute' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_WorkbookNew@8' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_ApplicationNew@8' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_ApplicationQuit@4' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_WorkbookClose@8' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_WorksheetNew@12' referenced in "excelreportdemo.c".
    I have found a previous dicussion back in 2007. Unfortunately it did not help for the same problem on my new machine and CVI2010. Could anyone give me help on this/
    Thanks!
    Yuwei
    Solved!
    Go to Solution.

    The previous discussion link is pasted below:
    http://forums.ni.com/t5/LabWindows-CVI/Problems-adding-the-activex-instrument-e​xperiencing-undefined/m-p/580608/highlight/true#M3​1390
    It did not solve my problem, but may spark your idea of helping me.
    Thanks a lot!
    Yuwei

  • Link error with installing 11.2.0.3 x64 on Ubuntu 11.10 x64

    Hi,
    I'm upgrading from 11.2.0.2 to 11.2.0.3 on an Ubuntu 11.10 x64 platform. During the link process of the installation, I kept on encountering a link error which looked
    like the following. This error firstly appeared in 'all_no_orcl'. If I clicked continue, this error would pop up when linking for other binaries. They all pointed to libocrb11.so. I could successfully installed 11.2.0.3 on another SUSE platform, but I'm wondering how I can make it work on Ubuntu. Not sure what packages I missed.
    Thanks in advance.
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoOpenFile'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCreateCtxExt'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoIO'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoFnameMax'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCommit2P'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCheckHdl'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoRenameFile'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoDeleteFile'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCloseFile'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoErrorMessage'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoGetSize'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCreateFile'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoOpenDirty'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCheckMount'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoDestroyCtx'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoControl'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCreate2P'

    the problem because of gcc version in 11.10 ubuntu is 4.6, oracle relink need gcc 4.4
    if you upgrade from previous version of ubuntu, checked in /usr/bin
    ls -ltr gcc*
    -rwxr-xr-x 1 root root 349120 2011-09-16 07:31 gcc-4.6
    -rwxr-xr-x 1 root root 275952 2011-09-17 03:10 gcc-4.5
    -rwxr-xr-x 1 root root 259232 2011-10-05 14:56 gcc-4.4
    lrwxrwxrwx 1 root root 7 2011-11-12 07:13 gcc -> gcc-4.6
    rm gcc
    # ln -s gcc-4.4 gcc
    # ls -ltr gcc*
    -rwxr-xr-x 1 root root 349120 2011-09-16 07:31 gcc-4.6
    -rwxr-xr-x 1 root root 275952 2011-09-17 03:10 gcc-4.5
    -rwxr-xr-x 1 root root 259232 2011-10-05 14:56 gcc-4.4
    lrwxrwxrwx 1 root root 7 2012-02-01 11:25 gcc -> gcc-4.4
    you should be able to relink oracle.

  • IPhone SDK - Linking error with CLLocationManager

    Hello.
    I have a linking error when I try to use thr CLLocationManager in my iPhone application by using the example of source code given in the Developer Center.
    I have the following error : ".objcclass_nameCLLocationManager", referenced from literal-pointer@_OBJC@__clsrefs@CLLocationManager in localisation.o
    symbol(s) not found.
    Do you have an idea ?
    Thank you for your answer.
    Patrick Schevenels.

    Just for clarification, there's a flood of developers now purchasing Macs to code for the iPhone platform. For those of you new to Xcode, you add a framework by doing the following:
    1. Open your iPhone project in XCode
    2. In the project window, ctrl+click (or right-click if you have 2-button mouse) on 'Frameworks' folder > Add > Existing Frameworks
    3. Navigate to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/CoreLocation.framework
    4. Click 'Add' button
    5. Compile
    Also, for anyone coming for the ActionScript Java or C# world, I've been blogging on transitioning to iPhone OS development platform.
    http://www.digitalassassin.com/?p=15
    Message was edited by: P120D1GY

  • Link error with STL

    Hi there,
    I am trying to build a C++ on Solaris, met the following error:
    CC xerces-c2_3_0/lib/SunOS/libxerces-c.so.23 -o output/SunOS/bin2xml output/SunOS/bin2xml.o output/SunOS/libxmlcompiler.a
    Undefined first referenced
    symbol in file
    void std::__insertion_sort<Dictionary::Word*,Dictionary::WordUsageCompare>(__type_0,__type_0,__type_1) output/SunOS/libxmlcompiler.a(Dictionary.o)
    void std::vector<XREFINFO*,std::allocator<XREFINFO*> >::__insert_aux(XREFINFO**,XREFINFO*const&) output/SunOS/libxmlcompiler.a(xdecompiler.o)
    ld: fatal: Symbol referencing errors. No output written to output/SunOS/bin2xml
    make: *** [output/SunOS/bin2xml] Error 1
    It seems to be that the STL library has not been linked. Is there anyone give me some hint how to solve the problem.
    Thanks
    Sliu

    The C++ standard library (including STL) is automatically linked, so that isn't your problem.
    But the missing template instance cannot be in the library, because it depends on a user-defined type. The instance has to be generated by compiling the program.
    Some code in the .o or in one of the libraries needs an instance of std::__insertion_sort that is not present in any of the provided binaries. You aren't giving the compiler any source code, so it cannot generate the instance itself.
    Run "nm -C" on each binary, and look for a line containing "UNDEF" and "std::__insertion_sort", matching the undefined symbol the linker complains about. You probably need to recompile that binary.
    But that binary might have been compiled with generation of that template instance turned off, so some source code modification might be needed.

  • Linking XDK with g++ on Solaris 2.8

    I'm currently porting a project from LINUX to Solaris, and get undefined symbol errors when linking with the XML libraries using gcc. It looks like a name/mangling issue. Is this combination supported?

    On Solaris, we use the Sparcworks V6 compiler. gcc is not supported.

  • Linking Errors with rwtools7.so in C++ v6.2.p2

    Hi ,
    We are migrating our application from c++ 4.2 to 6.2.p2 and Sol 2.6 to Sol 8.
    we are using the option -compat = 4 for backward compatibility. and used -library=rwtools7 and
    ' -lrwtool' is also a prameter while liking ..
    while linking we are getting the below erros ...
    ild: (undefined symbol) __rtaccess(streambuf&) -- referenced in /sbcimp/run/tp/sun/SUNWspro/v6.2.p2/lib/rw7/CC4/librwtool.so
    ild: (undefined symbol) __rtaccess(ios&) -- referenced in /sbcimp/run/tp/sun/SUNWspro/v6.2.p2/lib/rw7/CC4/librwtool.so
    ild: (undefined symbol) type_info::__vtbl -- referenced in /sbcimp/run/tp/sun/SUNWspro/v6.2.p2/lib/rw7/CC4/librwtool.so
    [Hint: try checking whether the first non-inlined, non-pure virtual function of class type_info is defined]
    ild: (undefined symbol) __rtaccess(unsafe_ios&) -- referenced in /sbcimp/run/tp/sun/SUNWspro/v6.2.p2/lib/rw7/CC4/librwtool.so
    ild: (undefined symbol) __RT_CLASS::__vtbl -- referenced in the text segment of sun5/CASmfFile.o
    [Hint: try checking whether the first non-inlined, non-pure virtual function of class __RT_CLASS is defined]
    ild: (undefined symbol) __RT_CLASS::__vtbl -- referenced in the text segment of sun5/DtObj.o
    [Hint: try checking whether the first non-inlined, non-pure virtual function of class __RT_CLASS is defined]
    ild: (undefined symbol) __RT_CLASS::__vtbl -- referenced in the text segment of sun5/CrestMsgRcvHandler.o
    [Hint: try checking whether the first non-inlined, non-pure virtual function of class __RT_CLASS is defined]
    ild: (undefined symbol) __RT_CLASS::__vtbl -- referenced in the text segment of sun5/CrestTimMain.o
    [Hint: try checking whether the first non-inlined, non-pure virtual function of class __RT_CLASS is defined]
    could someone please guide us , how to get rid off this problem
    Thank you
    Vara

    As to the migration, two main points:
    - Use the "-compat" option on every CC command, compiling and linking which you already did.
    - Any "Anachronism" warnings produced by the 4.2 compiler are now errors. The Migration Guide has a complete list, along with explanations of how to fix the code.
    With those caveats, any code that worked with C++ 4.2 will work the same way with FD6U2 in compat mode.
    Rose

  • ORA-12560: TNS:protocol adapter error with samples

    hello,
    I am trying to run the cdemo1 sample on Windows 2000 but I keep getting the ORA-12560: TNS:protocol adapter error. I have set the correct username and password in cdemo1.c before compiling.
    I am using Oracle 9i and I have the Oracle Client installed.
    I am able to connect to Oracle using the command line with the following command sqlplus qa/tester@TESTSERV and I am also able to connect to Oracle using the Sqlplus Net8 client interface.
    I have set ORACLE_HOME on the command line to the path of my oracle home directories. And just for kicks I have also set the ORACLE_SID on the command line to TESTSERV
    My tnsnames.ora is configured properly
    TESTSERV.COMPANY.NET =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PEPSI)(PORT = 1521))
    (CONNECT_DATA =
    (SID = TESTSERV)
         (SERVICE_NAME = TESTSERV.COMPANY.NET)     
    None of the methods seem to work.Anyone have any ideas why I can't connect with the cdemo1 but I can connect using command line and SQLPLUS?
    -Will

    I have had a similar problem with 8.1.6 on W2K Server. I have managed to get around it and get into svrmgrl by typing the following at the command prompt: set oracle_sid=sid_name. I am then able to get into svrmgrl without a problem. This always happens after the server has been rebooted. I have no idea why this happens or why setting the sid name works. Hope this helps.

  • JAXB validation error with sample applications

    Hi,
    When trying to generate the java from po.xsd in the first example I get two compile errors in the result :
    "PurchaseOrderImpl.java": Error #: 454 : class {deleted root}.generated.impl.PurchaseOrderImpl should be declared abstract; it does not define method validateThis() in interface javax.xml.bind.Element at line 11, column 8
    "CommentImpl.java": Error #: 454 : class {deleted root}.generated.impl.CommentImpl should be declared abstract; it does not define method validateThis() in interface javax.xml.bind.Element at line 11, column 8
    where {deleted root} represents parent packages in our source tree.
    Anyone else seen this?
    I'm using Ant1.51 to kick off the build, with the patch referred to in Apache bug 14640. (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14640)
    The target to do the build is defined as follows :-
    <target name="schema" depends="init"
    description="Compile schema">
    <echo message="Compiling the schema..."/>
    <jaxb destDir="${src}"
    readOnly="true"
    strictValidation="true"
    xjcjar="${JAXB_HOME}\lib\jaxb-xjc.jar">
    <schemas dir="${basedir}" includes="po.xsd"/>
    <targetPackageMapper type="regexp"
    from="(.*)\.xsd" to="{deleted root}.generated"/>
    </jaxb>
    </target>
    where ${src} is the root of the source tree and ${basedir} is the parent directory of "generated", containing the build.xml.

    More precisely, this is a compile time error for the generated Java classes. The methods
    void invalidate()
    void validate()
    void validate(Validator v)
    void validateThis()
    defined in
    com.sun.xml.bind.validator.ValidatableObject
    are not being built for
    generated.impl/XTypeImpl.java
    which extends
    generated.impl/XImpl.java

  • Unsatisfied link error  with Java API

    Although I've gotten the command-line dbxml working ok, I can't get a Java program to work (even copying others' examples). Using NetBeans, I get this error message:
    UnsatisfiedLinkError: no libdb_java43 in java.library.path
    I am confused by the FAQ entry at http://www.oracle.com/technology/products/berkeley-db/faq/xml_faq.html#24 as well as the instructions at dbxml/docs/ref/build_win/intro.html within the download that says that Java support is not built automatically. Is it just a means of adding something to some path, or do you have to build it even if you use the Windows .msi installer?
    First of all, I thought that the Windows installer would take care of it, no? Anyways, I am confused by the combination of Classpath options both within Windows System variables and as a means to attach to Netbeans projects...
    I'd rather not be dealing with the command line at all Help!!! Remember, I'm new to Java, NetBeans, and even Windows (being a Mac user till recently)...
    thanks,
    Brett

    Hi,
    Thanks very much for the response, but I still have the problem after reading your other response...
    Actually, in addition to the command line tool for BDBXML, I am able to successfully run the Java examples such as java dbxml.gettingStarted.simpleQuery -h dbEnv (the dbAccess example you gave in the other thread just gave me an "input" command-line which I didn't know how to get out of besides closing the window)--though I still don't understand how I am accessing "dbxml" while I am in the subdirectory (I know the "." must be accessing a method of this class somehow (apparently via the Classpath or Path setting?), but I'm confused about how the syntax works exactly such as to make my own; will my file hierarchy give me a clue somehow and if not how?--I didn't detect any exact pattern).
    Anyways, as I said, I am able to run the Java examples, but when I write my own program in Netbeans (using an example from a book), using these import statements:
    import com.sleepycat.dbxml.*;
    import com.sleepycat.db.*;
    import java.io.*;
    ...I still get the error. I suppose this means that the problem is with my Netbeans configuration? Any ideas how to fix that? I've tried setting what seem to me to be the relevant sections within Netbeans (adding the same files and folders in the System PATH and CLASSPATH--i.e., the jar files under /jar and /bin and /bin/debug (from the main BDB folder)--under Project Properties->Libraries->Compile/Run/Compile Tests/Run Tests), and it doesn't change anything.
    Just in case, here's my Path/Classpath information (that I get from accessing System Properties of "My Computer", then clicking Environment variables in the Advanced tab):
    USER VARIABLE CLASSPATH: C:\Program Files\Java\jre1.5.0_09\lib\ext\QTJava.zip;C:\Program Files\Java\jre1.5.0_09\lib\ext\mysql-connector-java-5.0.4\mysql-connector-java-5.0.4-bin.jar;C:\Berkeley DB XML\jar\dbxml.jar;C:\Berkeley DB XML\jar\db.jar;C:\Berkeley DB XML\jar\dbxmlexamples.jar
    USER VARIABLE PATH: C:\Berkeley DB XML\bin;C:\Berkeley DB XML\bin\debug;C:\Berkeley DB XML\lib
    SYSTEM VARIABLE CLASSPATH: .;
    SYSTEM VARIABLE PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\php;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Java\jre1.5.0_09\lib\ext\mysql-connector-java-5.0.4\mysql-connector-java-5.0.4-bin.jar

Maybe you are looking for

  • BBM playing up

    Please help someone! My bbm is not working properly and I don't know how to fix it. I can send messages and the person I send them to can read them except I cannot receive messages and no "recent updates" come through...I've tried rebooting my phone

  • Stuck Key Like Symptom?

    Hi There On random occasions I often notice if I right click on an icon and want to select an option from the sub-menu, the highlighted option will often be flickering or fight against my mouse cursor towards a seemingly random choice. If I press any

  • Report Server sudden crash

    My report server no1 was runing perfectly okay until recently, don't know what happened, it has the following error message REP-51002: Bind to Reports Server rep_webkiss_frhome1 failed I try to use the rwdiag -findall function and it could not find a

  • Status values in projects

    Hi, I am defining the project status values in transaction 'solar_project_admin' under 'project standards' tab as follows. Z25 - 25% complete Z50 - 50% complete Z75 - 75% complete Z100 - 100% complete There are columns called valuation and sort seque

  • Since I updated to Firefox 3.6 I'm getting an echo when I try to listen to a video clip off the web.

    I like to click on the short video clips that come over the web. The video is clear and sharp but the sound has an echo - as if the speaker is speaking in a large room.