Compiler failures with Studio 11 on Solaris 10 x64

The compiler gives me the following error when I try to compile the larger tests in my environment:
"Tests.cc", [main]:ube: error: Assert has been violated at '/set/venus_patch/builds.intel-S2/build.0509/intel-S2/lang/ube/opt/src/cfg.c 3150'.
I am using the following compilation command:
/opt/SUNWspro/bin/CC -xtarget=opteron -xarch=amd64 -xO0 -library=stlport4 [includes] -c -o obj/lib/Tests.o lib/Tests.cc
I get a different error if I change the optimization level to 2:
compiler(iropt) error: connect_labelrefs: undefined label L175 in main
And yet another message if I use no optimization option at all:
Assembler: Tests.cc
"/tmp/yabeAAAX7aqaq", line 20533 : Illegal subtraction in ... ".L209 - .L_y162"
Failure in /opt/SUNWspro/prod/bin/fbe, status = 0x7f00
Fatal Error exec'ing /opt/SUNWspro/prod/bin/fbe
My patches are up to date as of right now, according to smpatch:
smpatch analyzeNo patches required.
I am not running compilations in parallel. I have 4 GB free in my swap.
Any ideas?

The machine came preinstalled with Solaris 10 and Studio 11. The compiler has been kept up to date by smpatch, as far as I can tell. I remember the update manager installing 120759 and 121018, for example.
Is this correct?
comptest> /opt/SUNWspro/bin/CC -V -O hello.cc
CC: Sun C++ 5.8 Patch 121018-11 2007/05/02
ir2hf: Sun Compiler Common 11 Patch 120759-14 2007/06/25
ube: Sun Compiler Common 11 Patch 120759-14 2007/06/25
/opt/SUNWspro/prod/bin/c++filt: Sun C++ 5.8 2005/10/13
ccfe: Sun C++ 5.8 Patch 121018-11 2007/05/02
iropt: Sun Compiler Common 11 Patch 120759-14 2007/06/25
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.486
Thanks for your prompt replies.

Similar Messages

  • Compiling Apache with PERL module on Solaris 8

    Hi there,
    After the Richard's reply, I found the Apache sources on the intallation CD 2/2. And after a while I successful compile the apache WITH ITS STANDARD modules with the following command:
    $ ./configure --prefix=/usr/apache \
    --enable-module=most \
    --enable-shared=max \
    --with-layout=Solaris
    $ make
    $ make install
    But the above "configure" does not compile the companion mod_perl. So, I tried:
    ... $ ./configure --prefix=/usr/apache \
    --enable-module=most \
    --enable-shared=/usr/src/apache/mod_perl/src/modules/perl/mod_perl.c \
    --add-module=max \
    --enable-shared=max \
    --with-layout=Solaris
    but the above command just copies the "mod_perl.c" to the diretory
    "usr/src/apache/src/modules/extra"
    missing the corresponding *.h
    Then trying
    $ make
    The compilation fails because of ALL the
    files on the directory
    /usr/perl5/5.00503/sun4-solaris/CORE
    are not found.
    Any Hint?
    Thanks in advance
    C�sar

    have you tried downloading the source from apache.org and compiling it?
    ive installed apache on sol8 many times, but all from apache.. not from the cd..
    alphademon.com

  • Two versions of code, one compile failure with java.lang.OutOfMemoryError

    I Have two cvs versions of one package. The differences between the two are minor, and I'm only trying to make the root version look like the latest branch. When I compile the branch, which has more code, things are fine. When I comple the root version I get
    java.lang.OutOfMemoryErrorSInce I can compile one version, it is clearly not the case that I lack RAM or something like that. What might the problem be? Thanks.
    Ken

    I'm compiling and I'm doing it with ant. As I said,
    it works fine with a slightly updated version of the
    Java package I have, but has this error while doing
    the same compile on the cvs root version of the
    package. I'm just trying to prepare for mergning the
    new code but can't compile the basic version of the
    package.Then, as already stated, the difference between the two versions is enough to cross the threshold of heap memory available to the VM that's running the compiler. Ant lets you provide VM options to an externally invoked VM. See its docs for how. If you're using fork="false", then just change or add -Xmx in ant.bat or ant.sh.

  • Studio 10 compiler bug with example

    The following example produces a crash on Solaris Intel with Sun Studio 10, but works with Workshop 6 update 2.
    This example describes the simple case of using Xerces-c C++'s DefaultHandler class from a shared library.
    Running "main" will crash using Sun Studio 10 on Solaris 10 x86 but exits normally on Solaris any Sparc.
    Execute the following commands to build the example:
    CC -mt -G -g -KPIC -c t1.cpp -o t1.o -g -fns -features=rtti -lpthread
    CC -mt -G -g -o libt1.so t1.o -z defs -lCrun -lc
    CC -mt -G -g -KPIC -c t2.cpp -o t2.o -g -fns -features=rtti -lpthread
    CC -mt -G -g -o libt2.so t2.o -z defs -lCrun -lc libt1.so
    CC -mt -g -o main main.cpp -features=rtti -Bdynamic libt2.so
    Contents of main.cpp:
    #include "t2.h"
    #include "unistd.h"
    int main(void)
    CT2Start* t2start = new CT2Start();
    t2start->Start();
    delete t2start;
    return 0;
    Contents of t1.h:
    class CT1A
    public:
    virtual void T1(void) = 0;
    class CT1B
    public:
    class CT1 :
    public CT1B,
    public CT1A
    public:
    virtual void T1(void);
    inline void CT1::T1(void)
    class CT1Start
    public:
    void Start(CT1A* t1a);
    Contents of t1.cpp:
    #include "t1.h"
    class CDoSomething
    public:
    void DoSomething(void)
    void CT1Start::Start(CT1A* t1a)
    CDoSomething* doSomething = new CDoSomething();
    t1a->T1();
    doSomething->DoSomething();
    delete doSomething;
    Contents of t2.h:
    #include "t1.h"
    class CT2 : public CT1
    public:
    virtual void T1(void);
    class CT2Start
    public:
    void Start(void);
    Contents of t2.cpp:
    #include "t2.h"
    void CT2::T1(void)
    void CT2Start::Start(void)
    CT2* t2 = new CT2();
    CT1Start* t1start = new CT1Start();
    t1start->Start(t2);
    delete t1start;
    delete t2;
    }

    Your build script has some problems. You are using the -G option when you intend to compile to a .o, but -G is for creating a shared library. There are problems with library dependencies . You build libt2.so with a dependency on libt1.so, but libt1 is does not satisfy any references in libt2, so the dependency has no effect. You need to list libt1 when building the executable. (Maybe in the real program libt1 is needed by libt2.)
    You don't need to use LD_LIBRARY_PATH at all. You should instead build a run-path into the executable, using the -R option. For reasons why you should never set LD_LIBRARY_PATH, see this blog entry:
    http://blogs.sun.com/roller/page/rie?anchor=tt_ld_library_path_tt
    Here is a corrected build script:
    CC -mt -c -g -KPIC t1.cpp
    CC -mt -G -g -o libt1.so t1.o -z defs -lCrun -lpthread -lc
    CC -mt -c -g -KPIC t2.cpp
    CC -mt -G -g -o libt2.so t2.o -z defs libt1.so -lCrun -lpthread -lc
    CC -mt -g -o main main.cpp libt1.so libt2.so -lpthread -R.
    I have omitted the -features=rtti, since it is the default, and has no effect. I also omitted the -fns. You can put it back if you don't want standard floating-point results.
    I verified the problem using the original release of Studio 10. Using the current patched version, the code runs as originally written.
    You can get the current patches here:
    http://developers.sun.com/prodtech/cc/downloads/patches/index.html

  • __buildin_expect not available with Solaris 10 x64?

    I would need to build a package called iRRAM which allows the calculation of real number to any accuracy. For example the number "e" to 65 decimals as given bellow.
    // example input/output of "echo 65|e_example":
    // Desired Decimals: 65
    //+.27182818284590452353602874713526624977572470936999595749669676277E+0001
    The code is written in C++ and was developed as far as I can make out on linux with gnu c and gnu c++. When i configure the code on Solaris 10 x64 using the studio 12 compilers everything passes the tests but as soon as I build the code I get the errors
    "../../include/GMP_interface.h", line 263: Error: The function "__builtin_expect" must have a prototype.
    "../../include/GMP_interface.h", line 268: Error: The function "__builtin_expect" must have a prototype.
    "../../include/iRRAM_lib.h", line 95: Warning: Identifier expected instead of "}".
    "../../include/iRRAM_REAL.h", line 35: Error: A declaration does not specify a tag or an identifier.
    "../../include/iRRAM_REAL.h", line 35: Warning: Types cannot be declared in anonymous union.
    "../../include/iRRAM_REAL.h", line 38: Error: lower_pos is not defined.
    "../../include/iRRAM_REAL.h", line 38: Error: upper_neg is not defined.
    "../../include/iRRAM_REAL.h", line 366: Error: The function "__builtin_expect" must have a prototype.
    "../../include/iRRAM_REAL.h", line 372: Error: lower_pos is not a member of iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 373: Error: upper_neg is not a member of iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 374: Error: The function "__builtin_expect" must have a prototype.
    "../../include/iRRAM_REAL.h", line 380: Error: lower_pos is not a member of iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 381: Error: upper_neg is not a member of iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 381: Error: lower_pos is not a member of iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 382: Error: The function "__builtin_expect" must have a prototype.
    "../../include/iRRAM_REAL.h", line 387: Error: The function "isfinite" must have a prototype.
    "../../include/iRRAM_REAL.h", line 389: Error: lower_pos is not a member of iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 390: Error: upper_neg is not a member of iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 390: Error: lower_pos is not a member of iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 391: Error: The function "__builtin_expect" must have a prototype.
    "../../include/iRRAM_REAL.h", line 397: Error: The function "__builtin_expect" must have a prototype.
    "../../include/iRRAM_REAL.h", line 406: Error: The function "__builtin_expect" must have a prototype.
    "../../include/iRRAM_REAL.h", line 433: Error: The function "__builtin_expect" must have a prototype.
    "../../include/iRRAM_REAL.h", line 438: Error: lower_pos is not a member of const iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 438: Error: lower_pos is not a member of const iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 438: Error: upper_neg is not a member of const iRRAM::iRRAM_double_pair.
    "../../include/iRRAM_REAL.h", line 438: Error: upper_neg is not a member of const iRRAM::iRRAM_double_pair.
    Compilation aborted, too many Error messages.
    I have checked on __builtin_expect and it I cannot find it in with the system's include files. I have also looked at the web and from what I read I understand the for solaris this is not strictly necessary.
    The package was developed at Universitaet Trier, and there is an email I have used, but just in case, I would be grateful to see how I could - without knowing the full code get it to compile and useable.
    Lydia

    clamage45 wrote:
    __builtin_expect is a non-standard gcc extension to provide branch-prediction information to the compiler. It is not currently supported in Sun Studio C++.Note that there is already an RFE for it: 6603858.
    You can try the following macro definition to convert uses of __builtin_expect to standard code (but without branch-prediction information):
    #define __builtin_expect(e, n) ((e)==(n))I think the correct definition would be:
    #define __builtin_expect(e,n) (e)

  • Compilation errors with boost 1.36

    Hi,
    My compiler
    CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-08 2002/06/02
    I am getting the followin*g errors when trying to compile
    Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 108: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 116: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 122: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 128: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 141: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    "./boost/math/tools/precision.hpp", line 172: Error: Default arguments cannot be added in later declarations of the template function in the same scope.
    I have done configuration as following
    %> ./configure with-toolset=sun prefix=/u/jn/boost/boost_1_36_0
    my usr-config.jam file looks as below
    # Boost.Build Configuration
    # Automatically generated by Boost configure
    # Compiler configuration
    using sun : 6 : /home/nfs/sollocal/beatlehome1/F6U2/SUNWspro/bin/CC : <stdlib>sun-stlport
    <cxxflags>-library=stlport4 -m64 -xcode=pic32 -erroff=wvarhidemem,hidevf,hidevfinvb -errtag
    s=yes <linkflags>-library=stlport4 -m64 ;
    # Python configuration
    using python : 2.6 : /usr/local ;
    my Makefile
    BJAM=./tools/jam/src/bin.solaris/bjam
    BJAM_CONFIG= -sICU_PATH=/usr
    prefix=/u/jnarayan/boost/boost_1_36_0
    exec_prefix=$(prefix)
    libdir=$(exec_prefix)/lib
    includedir=$(prefix)/include
    LIBS=
    all: .dummy
    @echo "$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam $(LIBS)"
    @$(BJAM) $(BJAM_CONFIG) --user-config=user-config.jam $(LIBS) || \
    echo "Not all Boost libraries built properly."
    clean: .dummy
    rm -rf bin.v2
    distclean: clean
    rm -rf Makefile config.log
    check: .dummy
    @cd status && ../$(BJAM) $(BJAM_CONFIG) --user-config=../user-config.jam || echo "S
    ome Boost regression tests failed. This is normal for many compilers."
    install: .dummy
    @echo "$(BJAM) $(BJAM_CONFIG) address-model=64 user-config=user-config.jam pref
    ix=$(prefix) exec-prefix=$(exec_prefix) libdir=$(libdir) --includedir=$(includedir) $(L
    IBS) install"
    @$(BJAM) $(BJAM_CONFIG) address-model=64 --user-config=user-config.jam --prefix=$(p
    refix) --exec-prefix=$(exec_prefix) --libdir=$(libdir) --includedir=$(includedir) $(LIBS) i
    nstall || echo "Not all Boost libraries built properly."
    .dummy:
    thanks in advance for your help

    BOOST cannot be compiled with WS6u2.
    The oldest compiler that can build BOOST is Sun Studio 11 (C++ 5.8).
    You will have better luck with Sun Studio 12 (C++ 5.9). Both Studio 11 and Studio 12 are free.
    Get Sun Studio 12 here:
    [http://developers.sun.com/sunstudio/]
    Sun Studio 12 requires Solaris 9, 10, or Open Solaris.
    If you are running Solaris 8, get Sun Studio 11 instead:
    [http://developers.sun.com/sunstudio/products/previous/11/index.jsp]
    After installing the appropriate version of Sun Studio, get all current patches for it here:
    [http://developers.sun.com/sunstudio/downloads/patches/index.jsp]
    Then check Simon's blog for advice on building BOOST with Sun Studio 11 or 12.
    [http://blogs.sun.com/sga/category/Boost]

  • Use gcc/g++ with Tools.h++ in Solaris 8

    In Solaris 8, can I use gcc/g++ compiler to link a program with Tools.h++ library that is shipped with Sun CC compiler (Sun ONE studio 7).
    Thanks and regards,
    Luu Vo.

    Sun C++ and g++ generate incompatible binary code. You cannot mix binaries from the two compilers in one program, not even using shared libraries.
    For a detailed discussion of C++ binary compatibiltiy problems, see my paper "The Stability of the C++ ABI" at
    http://developers.sun.com/prodtech/cc/reference/techart/index.html

  • Testcase with boost 1.32.0 failing with studio 11

    compiling this (with -library=stlport4, linking against libboost_serialization) leads to a program that segfaults on solaris when built with studio 11 (but not when built with g++, neither on solaris nor linux)
    the segfault happens with strlen(0) (which otoh crashes all those setups: solaris/studio, solaris/gcc, linux/gcc) and it seems that g++ inlines the strlen calls with its own routine which might cover the nullpointer case.
    anyway, I have no idea what's the proper fix: in the application using boost, in boost, in the compiler(?), or in strlen?
    #include <string>
    #include <boost/format.hpp>
    int main() {
      boost::format("foo %s") % (char*)0;
      return 0;
    }

    (test.cc is the example above)
    divert% CC -library=stlport4 -g -o test test.cc -I/opt/PM/include /opt/PM/lib/libboost_serialization-sw.a
    divert% dbx ./test
    Reading test
    Reading ld.so.1
    Reading libstlport.so.1
    Reading libCrun.so.1
    Reading libm.so.2
    Reading libc.so.1
    Reading libm.so.1
    (dbx) run
    Running: test
    (process id 13966)
    signal SEGV (no mapping at the fault address) in strlen at 0xd25c4dd0
    0xd25c4dd0: strlen+0x0030:      movl     (%eax),%ecx
    Current function is std::operator<< <std::char_traits<char> >
      300     __os._M_put_nowiden(__s);
    (dbx) where
      [1] strlen(0x0), at 0xd25c4dd0
      [2] std::basic_ostream<char,std::char_traits<char> >::_M_put_nowiden(0x80470d4, 0x0), at 0xd276a5ee
    =>[3] std::operator<< <std::char_traits<char> >(__os = CLASS, __s = (nil)), line 300 in "_ostream.h"
      [4] boost::io::detail:: put_last<char,std::char_traits<char>,char*>(os = CLASS, x = (nil)), line 93 in "feed_args.hpp"
      [5] boost::io::detail:: put<char,std::char_traits<char>,std::allocator<char>,char*const&>(x = (nil), specs = STRUCT, res = CLASS, buf = CLASS, loc_p = (nil)), line 145 in "feed_args.hpp"
      [6] boost::io::detail::distribute<char,std::char_traits<char>,std::allocator<char>,char*const&>(self = CLASS, x = (nil)), line 233 in "feed_args.hpp"
      [7] boost::io::detail::feed<char,std::char_traits<char>,std::allocator<char>,char*const&>(self = CLASS, x = (nil)), line 243 in "feed_args.hpp"
      [8] boost::basic_format<char,std::char_traits<char>,std::allocator<char> >::operator%<char*>(this = 0x80471dc, x = (nil)), line 64 in "format_class.hpp"
      [9] main(), line 6 in "test.cc"so it's STL calling strlen with a nullpointer!
    I've built another testcase based on that.
    #include <iostream>
    int main() {
      std::cout << ((char*)0);
      return 0;
    }built with g++ and with sun studio with rogue wave, it works. with -library=stlport4, it segfaults..
    it just happens that some libraries return a char* or null for some operations (netxx and lua are the ones I ran over), and when you only test with g++ (or sun studio without stlport), it works.. with stlport on studio it doesn't.
    in "the c++ programming language" (the only text I have available here, sorry), 21.2.2 it merely says "Similary, << is provided for writing out zero-terminated character arrays" before it mentions the affected prototypes - so no obligation to catch errors, I guess..
    What I'd like to know is if that's considered user error (to expect STL to guard against that), so I can go ahead with that response and fix the code, or if STLport might be hardened against that.

  • PlayReady failure with specific OS version of Windows 8.1 Update

    Hello,
    I'm observing a failure in my app during Smooth Streaming video playback using PlayReady DRM. The app is a WinJS Universal App solution for Windows Store and Windows Phone, using the latest updates for Visual Studio 2013, Update 4.
    So far, the failure is limited to one specific version of the Windows 8.1 Update. I have two identical devices, both retail versions of the phone, that demonstrate this issue. Note, these same phones that fail with PlayReady can successfully
    stream unprotected Smooth Streaming content.
    My other five Windows Phone devices, with different OS version numbers, do not demonstrate the failure with the identical app installed. Therefore, I suspect the OS version may be the cause.
    Failure description:
    When I attempt to stream PlayReady protected Smooth Streaming video, the player initializes the media player and the MediaProtectionManager, but then displays the error state (The video failed to play. Try again.) immediately, and the following message is
    displayed in Visual Studio:
    MEDIA12899: AUDIO/VIDEO: Unknown MIME type.
    --- Message: MEDIA_ERR_SRC_NOT_SUPPORTED (0x887A0004)
    Summary of tested OS versions:
    Windows Phone 8.1 Update
    8.10.14141.167, untested
    8.10.14147.180, untested
    8.10.14157.200, untested
    8.10.14176.243, NOKIA Lumia 830, fails to stream, tested with two devices
    8.10.14192.280, untested
    8.10.14203.206, HTC HTC6995LVW, streams successfully
    8.10.14219.341, NOKIA Lumia 920, streams successfully
    8.10.14226.359, BLU WIN HD W510u, streams successfully
    Windows Phone 8.1
    8.10.12359.845, untested
    8.10.12382.878, untested
    8.10.12393.890, NOKIA Lumia 920, streams successfully
    8.10.12397.895, untested
    8.10.12400.899, NOKIA Lumia 530, streams successfully
    Note, one of OS versions I've tested fails to stream the PlayReady protected Smooth Streaming content, and five other OS versions I've tested successfully stream the same video content.
    Is this a known issue with a specific version(s) of Windows Phone 8.1?
    Regards,
    Andrew

    Hello,
    0x887A0004 equates to DXGI_ERROR_UNSUPPORTED. This error is usually generated when you are trying to use Direct3D features that are not supported. Different devices support different D3D features since they contain different video hardware. It is possible
    that a hardware feature that is required by the license is not supported in the hardware / driver of the device. I would recommend that you check the license and make sure that it does not contain any hardware specific requirements such as HDCP.
    In other words try playing content with the least restrictive license and see if it works for you.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • I can�t install Sun Studio 11 in Solaris 8

    Hello!!
    We are trying to install Sun Studio 11 on our Server.
    The server is running under Solaris 8, we install J2SE 1.4.2_10 SDK prior to run the Sun Studio installer, but when we run the installer, it report the following error
    Could not find class during deserialization of the WizardState:java.lang.ClassNotFoundException: com.sun.install.products.Product
    java.lang.ClassNotFoundException: com.sun.install.products.Product
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.ClassNotFoundException.<init>(Compiled Code)
    at java.io.ObjectInputStream.inputObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.util.Hashtable.readObject(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at java.io.ObjectInputStream.invokeObjectReader(Compiled Code)
    at java.io.ObjectInputStream.inputObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at com.sun.wizards.core.GenericWizardState.setWizardState(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.callObjectMethod(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.<init>(Compiled Code)
    at com.sun.forte.install.tasks.AddChildWizardTask.fetchChildWizards(Compiled Code)
    at com.sun.forte.install.tasks.AddChildWizardTask.perform(Compiled Code)
    at com.sun.wizards.core.Sequence.perform(Compiled Code)
    at com.sun.wizards.core.SequenceManager.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:479)
    Could not find class during deserialization of the WizardState:java.lang.ClassNotFoundException: com.sun.install.products.Product
    java.lang.ClassNotFoundException: com.sun.install.products.Product
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.ClassNotFoundException.<init>(Compiled Code)
    at java.io.ObjectInputStream.inputObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.util.Hashtable.readObject(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at java.io.ObjectInputStream.invokeObjectReader(Compiled Code)
    at java.io.ObjectInputStream.inputObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at com.sun.wizards.core.GenericWizardState.setWizardState(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.callObjectMethod(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.<init>(Compiled Code)
    at com.sun.wizards.core.GenericWizardState.setWizardState(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.callObjectMethod(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.<init>(Compiled Code)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at install.instantiateArchiveReader(ArchiveClassLoader.java:203)
    at install.<init>(ArchiveClassLoader.java:143)
    at install.main(Compiled Code
    Some one has any idea?
    Thank you in advance.
    PD: Sorry for my English, I�am a beginner English student, please be pacient.

    i've installed java 1.5.0b06 and I can install SUN Studio 11 in Solaris 8
    feedback:
    ==========================================================
    # echo $PATH
    /usr/j2se/jre1.5.0_06/bin:/usr/j2se/jre1.5.0_06:/usr/sbin:/usr/bin
    # java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
    ==========================================================
    but when i try to install
    ==========================================================
    # ./installer -nodisplay
    Could not find class during deserialization of the WizardState:java.lang.ClassNotFoundException: com.sun.install.products.Product
    java.lang.ClassNotFoundException: com.sun.install.products.Product
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.ClassNotFoundException.<init>(Compiled Code)
    at java.io.ObjectInputStream.inputObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.util.Hashtable.readObject(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at java.io.ObjectInputStream.invokeObjectReader(Compiled Code)
    at java.io.ObjectInputStream.inputObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at com.sun.wizards.core.GenericWizardState.setWizardState(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.callObjectMethod(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.<init>(Compiled Code)
    at com.sun.forte.install.tasks.AddChildWizardTask.fetchChildWizards(Compiled Code)
    at com.sun.forte.install.tasks.AddChildWizardTask.perform(Compiled Code)
    at com.sun.wizards.core.Sequence.perform(Compiled Code)
    at com.sun.wizards.core.SequenceManager.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:472)
    Could not find class during deserialization of the WizardState:java.lang.ClassNotFoundException: com.sun.install.products.Product
    java.lang.ClassNotFoundException: com.sun.install.products.Product
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.ClassNotFoundException.<init>(Compiled Code)
    at java.io.ObjectInputStream.inputObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.util.Hashtable.readObject(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at java.io.ObjectInputStream.invokeObjectReader(Compiled Code)
    at java.io.ObjectInputStream.inputObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at java.io.ObjectInputStream.readObject(Compiled Code)
    at com.sun.wizards.core.GenericWizardState.setWizardState(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.callObjectMethod(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.<init>(Compiled Code)
    at com.sun.wizards.core.GenericWizardState.setWizardState(Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.callObjectMethod(Compiled Code)
    at com.sun.wizards.core.ArchiveReader.<init>(Compiled Code)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at install.instantiateArchiveReader(ArchiveClassLoader.java:203)
    at install.<init>(ArchiveClassLoader.java:143)
    at install.main(Compiled Code)
    ===============================================================
    so i am confused or maybe i have to install 1.4.2.10??

  • Compiling ant 1.6.2 for Solaris 10 x86

    Hi,
    I need to compile Ant 1.6.2 on Solaris 10 x86 edition (S10 x86 comes with ant 1.5.4 but some of the newer ant syntaxes are not supported in 1.5.4). When I tried doing the compile using Ant 1.6.2 sources from ant.apache.org, I get the following error:
    src/main/org/apache/tools/ant/types/AbstractFileSet.java:48: cannot resolve symbol
    symbol : class ModifiedSelector
    location: package modifiedselector
    import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
    src/main/org/apache/tools/ant/taskdefs/Delete.java:420: cannot resolve symbol
    symbol : class ModifiedSelector
    location: class org.apache.tools.ant.taskdefs.Delete
    public void addModified(ModifiedSelector selector) {
    ^
    ------->(The caret is under M of the word ModifiedSelector)
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    10 errors
    ... Failed compiling Ant classes !
    Bootstrap FAILED
    ModifiedSelector class has some unresolved symbols. And this is present at many places.
    Any idea what I should do to get over this error ?
    Thanks,
    Murthy

    I had the same problem on Solaris 10 sparc. The problem seems to relate to symbolic links with
    long names not being extracted correctly from the tar file (resulting in @LongLink files popping
    up around the place). If you use the .zip source file then the build goes fine.
    Philip.

  • How to install Apache Web Server with PHP on Sun Solaris Sparc machine

    Hi,
    We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
    Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
    Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
    Thanks,
    Harish

    Apache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
    php is available at www.php.net
    I found an old document for installing PHP maybe this will help.
    Cheers
    -Dhruva
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
    Introduction
    This document describes how to install PHP for Apache on Solaris.
    You should have Apache installed before trying to install PHP.
    If you want to use PHP with MySQL then you must install MySQL first.
    Before we Begin
    1. These instructions assume that you have Apache installed according to instructions.
    Getting PHP
    1. You must be logged in as root to perform this installation.
    su root
    2. I save all my downloads in:
    /usr/local/dist
    If you don't already have one, you may need to create that directory now:
    mkdir /usr/local/dist
    3. You can get PHP 3.0.14 from here(www.php.net).
    cd /usr/local/dist
    ftp ftp.php.net
    cd pub/distributions
    bin
    get php-3.0.14.tar.gz
    bye
    Installing PHP
    1. We will install PHP in /usr/local/build, but use a tricky tar command
    to do it in on hit from the download directory:
    cd /usr/local/dist
    tar xvfz php-3.0.12.tar.gz -C ../build
    Compiling PHP
    1. First let's get where the action is:
    cd /usr/local/build/php-3.0.14
    2. You now have 3 options:
    * Simple PHP install without MySQL - goto step 3
    * Simple PHP install with MySQL - goto step 4
    * Custom PHP install - goto step 5
    3. Simple PHP install without MySQL. Next, jump to step 6.
    ./configure --with-apache=../apache_1.3.12
    4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
    should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
    should look like this:
    ./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
    Next, jump to step 6.
    5. Custom PHP install. Take a look at the available configuration directives by using this command:
    ./configure --help
    6. Now we can make the PHP executable. This may take a while.
    make
    7. Now we install the PHP module with:
    make install
    Adding the PHP Module to Apache
    1. Now we have to setup Apache to include the PHP module:
    cd ../apache_1.3.12
    2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
    You can see your previous Apache configure command by doing:
    cat config.status
    You can configure Apache using the previous command with the added PHP module by doing:
    ./config.status --activate-module=src/modules/php3/libphp3.a
    If you used the simple Apache install from instructions the command will look like this:
    ./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
    3. Make and install Apache with PHP enabled:
    make
    4. We need to stop the server before installing the files:
    /usr/local/apache/bin/apachectl stop
    5. Now we can install the new binaries:
    make install
    6. Start apache again (now running the new php enabled version):
    /usr/local/apache/bin/apachectl start
    Setting Up PHP
    1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
    cd /usr/local/apache/conf
    2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
    AddType application/x-httpd-php3 .phtml
    Check that it Works
    1. We have to restart Apache to make these changes take effect on the running server.
    cd /usr/local/apache/bin
    ./apachectl restart
    2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
    ./apachectl status
    Apache Server Status for dev.synop.com
    Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
    Server Built: Oct 25 1999 00:37:07
    3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
    following text:
    <?php phpinfo(); ?>
    4. Point your browser at this file on the virtual host which you used:
    http://localhost/test.php3

  • Compiling kde-3.4.x on Solaris 10

    Who can tell me what must be done to build KDE-3.4.x and Qt on Solaris10, with gcc.(or with SunStudio10), but I'm more interested how this can be done with gcc.
    I tried compiling qt with (gcc):
    "./configure -no-stl -no-g++-exceptions -platform solaris-g++ -thread -shared -system-zlib -system-libpng -system-libjpeg -qt-libmng -plugin-imgfmt-mng"
    CXXFLAGS="-fpermissive". This is because on developer.kde.org, they say something about functions in the Solaris X headers that lack return types.
    The error occurs after building uic. It says something about a symbol that it is being exported but it cannot be found.(PtrCollection. or something like that)
    Anyway, I've tried and I've tried, and no results yet.
    If someone already did it, I would like very much to know how.
    Nita Marcel

    Karthic,
    This forum is for Oracle9iAS Portal. Please use one of the
    database forums to post your question.
    Regards,
    Jerry

  • Grrr... Xilinx compile failures

    I appreciate the effort NI has put into making FPGA programming available to the unwashed masses.  When things work correctly it's slicker than a greased seal in an oil factory.  When things go bad it's extremely frustrating with few clues about how to fix the problem.
    I've been struggling with intermittent compile failures on a cRIO-9074.  The latest problem when I added code to make the fpga LED flash while the fpga is running.  That generated a compile error, so I removed that code.  Now it still won't compile, even though it's the exact same code as before.
    I've attached the Xilinx log file.  There are several different types of errors, each of which is repeated multiple times.  Links are to the Xilinx KB articles:
    ERROR:coreutil - ios failure
    ERROR:sim:928 - Could not open destination 'PkgBeatleTypedefs.vhd' for writing.
    ERROR:ConstraintSystem:58 - Constraint <INST "*oInputFalling*" TNM =
       "CcInputFallingRegs";> [toplevel_gen.ucf(141)]: INST "*oInputFalling*" does
       not match any design objects.
    ERROR:ConstraintSystem:59 - Constraint <TIMESPEC "TS_AsynchMite30"= FROM
       PADS(mIoHWord_n) TO PADS(mIoDmaReq<*>) 0 ns;> [toplevel_gen.ucf(703)]: PADS
       "mIoHWord_n" not found.  Please verify that:
       1. The specified design element actually exists in the original design.
       2. The specified object is spelled correctly in the constraint source file.
    According to Xilinx, the first error should be ignored--the design will load and run fine.  Is that possible when compiling within Labview?  Is there a way to run the compiler tools directly, and would that even help?  The second error requires modifying the UCF file, and the third requires various tools and options not available (afaik) to LV developers.
    I've been fighting the FPGA compiler for about a month.  Its unpredicability is deadly for small businesses trying to deliver something to a customer.  I'm about ready to throw the whole thing in the trash and go in another direction, simply because I can more accurately estimate how long it will take me to implement on a different platform.
    [Edit]
    I just tried recompiling the fpga vi again.  This time I receive a new error:
    LabVIEW FPGA:  An internal software error in the LabVIEW FPGA Module has occurred.  Please contact National Instruments technical support at ni.com/support.
    Click the 'Details' button for additional information.
    Compilation Time
    Date submitted: 11/28/2012 9:28 AM
    Last update: 11/28/2012 9:30 AM
    Time waiting in queue: 00:05
    Time compiling: 01:55
    - PlanAhead: 01:50
    - Core Generator: 00:00
    - Synthesis - Xst: 00:01
    - Translate: 00:01
    Attachments:
    XilinxLog.txt ‏1302 KB

    I'm using a 9237 in slot 3 and setting the sample rate to 1.613 kS/sec.  Slots 1 and 2 have a 9411 and 9422 that I will read using the scan engine.  (Some of my RT test code uses the 9422, some doesn't.  It doesn't seem to be related to this problem.)
    Interestingly, I added a small bit of code again to try and get the LED to flash while the FPGA is running.
    ...and I got all sorts of new compile errors, such as...
    ERROR:HDLCompiler:806 -
       "C:/NIFPGA/jobs/Rtxj7d7_KSw9nkc/NiFpgaAG_00000000_WhileLoop.vhd" Line 208:
       Syntax error near "downto".
    ERROR:HDLCompiler:806 -
       "C:/NIFPGA/jobs/Rtxj7d7_KSw9nkc/NiFpgaAG_00000000_WhileLoop.vhd" Line 224:
       Syntax error near "3".
    ERROR:HDLCompiler:806 -
       "C:/NIFPGA/jobs/Rtxj7d7_KSw9nkc/NiFpgaAG_00000000_WhileLoop.vhd" Line 240:
       Syntax error near "}".
    ERROR:HDLCompiler:806 -
       "C:/NIFPGA/jobs/Rtxj7d7_KSw9nkc/NiFpgaAG_00000000_WhileLoop.vhd" Line 244:
       Syntax error near "`".
    At the very end of the log it says, "Sorry, too many errors.."  I guess it just gave up.  I know the feeling.
    I tried deleting that code and recompiling the vi, and it still won't compile.  I assume if I create another new vi via copy and paste it will work again, but something weird is going on.
    Attachments:
    XilinxLog - FPGA Main 2 (DMA) - Added flashing LED.txt ‏141 KB

  • OpenSSH 4.4p1 packages with PAM support for Solaris 9, 10

    As mentioned in a previous post* , I've compiled OpenSSH packages with PAM support for Solaris 9 and 10. They've since been updated to version 4.4p1, and are compiled against a static zlib (1.2.3) and OpenSSL (0.9.8c). You can find them here:
    http://firewallworks.com/downloads/unsupported/Solaris-sparc/
    Regards,
    Greg
    * http://forum.sun.com/jive/thread.jspa?threadID=103378&tstart=105

    Yes, zlib 1.2.3 is a requirement. In facts, zlib mentions a 2005 vulnerability fix but I found no matching patch in sunsolve. See
    http://www.kb.cert.org/vuls/id/JGEI-6E7RC3
    I have been wandering whether to replace the official zlib. Linking statically is probably a better idea. Thanks

Maybe you are looking for

  • Unable to load file login_page.htm

    Good afternoon: I've installed a UCM 10g for a proof of concept and everything was working fine until today when the login page has disappeared. When I got to the UCM web page everything is ok until I try to login, I get this error: Unable to load fi

  • Help syncing new iPad with Outlook 2007 on my PC and Blackberry Tour 9630

    I have searched for answers and am stumped and frustrated... I bought an iPad (am trying to become I-friendly) and thought it would be convenient to be able to sync my "stuff" (Contacts, Calendar and notes) to the iPad so we'll have access to it whil

  • Camera Raw Ver 8 does not open Canon 20D images

    I recently updated Photoshop CS6, Camera Raw plugin to Ver 8.1.0.43  Now for some reason the CR2 images from my Canon 20D will not open. These images used to open just fine in Camera Raw Ver 7.  Has CR Ver 8 dropped support for the Canon 20D raw imag

  • IPad mini  iMessage problems

    I updated the software on my brand new iPad mini and now I do not receive iMessages anymore

  • Activity Creation in SAP from MSP ( Micro Soft Project )

    Dear All, Regarding activity cretaion in SAP from MSP, I have one query.... I know that we can definitely create internal activities from MSP , but there is a requirement to create extrenal / service activities. So just want to know whether  external