Compiling MySQL 5.1.26-rc with Sun Studio Express on Linux?

I managed to compile MySQL 5.1.26-rc with Sun Studio Express on Linux (OpenSuse 10.2 on x64), but I get unexpected crashes every time a connection thread exits:
(gdb) where
#0  0x00002b2ce0649535 in raise () from /lib64/libc.so.6
#1  0x00002b2ce064a990 in abort () from /lib64/libc.so.6
#2  0x00002b2cdf949795 in __pthread_unwind () from /lib64/libpthread.so.0
#3  0x00002b2cdf944425 in pthread_exit () from /lib64/libpthread.so.0
#4  0x00000000005048b2 in one_thread_per_connection_end (thd=0x16d88f0, put_in_cache=false)
at /home/mysql/debug/sql//mysqld.cc:1893
#5  0x0000000000513b75 in handle_one_connection (arg=0x16d88f0) at /home/mysql/mysql-5.1.26-rc/sql//sql_connect.cc:1122
#6  0x00002b2cdf94309e in start_thread () from /lib64/libpthread.so.0
#7  0x00002b2ce06da4cd in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()If I compile with gcc using e.g. BUILD/compile-amd64-debug-max, I have no issue! But I want to use Sun Studio in order to be consistent with the Solaris version, and also because Sun Studio is likely to produce better code.
Here is the compilation script, it downloads and extracts the source tree and builds it (it assumes Sun Studio Express is installed in /opt/sun):
#!/bin/bash
export PATH=/opt/sun/sunstudioceres/bin:$PATH
wget -q http://mir2.ovh.net/ftp.mysql.com/Downloads/MySQL-5.1/mysql-5.1.26-rc.tar.gz
tar xpf mysql-5.1.26-rc.tar.gz
cd mysql-5.1.26-rc
# Explicitly specify libs to avoid linking with the STL.
export LIBS="-xnolib -lCrun -lm -lc -lrt"
autoreconf --force --install > autoreconf.log 2>&1
export MY_FLAGS="-g -mt -xtarget=generic -m64"
CC=cc CXX=CC CFLAGS=$MY_FLAGS CXXFLAGS=$MY_FLAGS ./configure --with-big-tables --without-embedded-server --disable-shared --with-pthread --with-ssl -with-plugins=max > configure.log 2>&1
gmake -j > build.log 2>&1Any idea about what is going wrong?
Thanks.

Possibly the actual CC (or cc) command lines are not correct. The proper way to say not to link libCstd is the command-line option -library=no%Cstd. Then you don't need to add the default system libraries like -lc to the command line.
Can you show the actual CC command lines that are generated by the makefile? They should be in the compilation log. I'd also like to see the command line(s) used to create dynamic libraries, if any, and the final executable.

Similar Messages

  • -nodisplay bug with Sun Studio 10 for Linux installer

    I'm currently trying to install a trial Sun Studio 10 for Linux on a Fedora Core 3 box. I want the installer to run via the command line, so I use "./installer -nodisplay", but I get the following error message:
    java.lang.UnsatisfiedLinkError: /home/pacey/SS10/.install/jvm_1.4.2/j2re1.4.2_06/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    libXp is part of the X window system, but I've specified -nodisplay. A non-graphics option shouldn't be trying to load graphics libraries - looks like a bug. Anyway, as I don't have version 6 of that lib on my system, I'm stalled on this. Any suggestions?

    I'm currently trying to install a trial Sun Studio 10 for Linux on a Fedora Core 3 box. I want the installer to run via the command line, so I use "./installer -nodisplay", but I get the following error message:
    java.lang.UnsatisfiedLinkError: /home/pacey/SS10/.install/jvm_1.4.2/j2re1.4.2_06/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    libXp is part of the X window system, but I've specified -nodisplay. A non-graphics option shouldn't be trying to load graphics libraries - looks like a bug. Anyway, as I don't have version 6 of that lib on my system, I'm stalled on this. Any suggestions?

  • Is it possible to run sun studio 12 ide with sun studio 8 compiler?

    Hi, i am in the process of evaluating sun studio 12. Our company cannot move to sun studio 12 compiler collection right now as it is a huge code base and it will take us few months even before we start using sun studio 12 compiler in our development environment. Is it possible to use sun studio 12 ide with sun studio 8 compiler collection(CC, dbx etc)? Your feedback is appreciated. thank you.

    There are two parts to the answer.
    1) whether you can
    To choose a compiler set follow Tools->Options->C/C++
    and in the BuildTools tab you'll see how it picks up
    compilers from your PATH.
    This dialog doesn't govern choice of dbx, which will always
    come from the installation. However you can alter which dbx
    is used by presetting the environment variable SPRO_DBX_PATH
    to teh full pathname of a dbx of your choice.
    2) whether you should
    The IDE should work reasonably well with older compilers. They
    are not that tightly bound.
    The IDE will not work well enough with an older dbx, especially as
    old as studio 8. However, while not officially supported or tested
    the SS12 dbx should be reasonably bwd compatible with code
    generated from older compilers.
    So my recommendation is: don't use SPRO_DBX_PATH and
    give the old compilers a try.

  • Sun Studio Compilers for Linux: Problems with undefined variables using CC

    I am experiencing the following errors below while trying to compile C++ programs using Sun C++ from the latest release of Sun Studio Compilers for Linux Alpha, on Red Hat Enterprise Linux 4 with kernel 2.6.9-34.EL and Ubuntu Breezy Badger 5.10 with kernel 2.6.12-10-686. I get the same exact errors on both OS's and on two different machines.
    root@ubuntu:/home/jc/cs225/Machine Problems/cs225/mp1/cs225_mp1# make
    CC -c -g string.cpp
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 74: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 75: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 191: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 194: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 261: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 265: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 299: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 302: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 410: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 414: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 506: Error: The function "strstr" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 523: Error: The function "strcspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 529: Error: The function "strspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 214: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 221: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 277: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 335: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 392: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 443: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 504: Error: Template declarations cannot have extern "C" linkage.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/limits", line 558: Error: Template declarations cannot have extern "C" linkage.
    Compilation aborted, too many Error messages.
    make: *** [string.o] Error 1
    Except on ubuntu, it has one more error
    "/usr/include/wctype.h", line 47: Error: A declaration was expected instead of "}".
    and what is on line 47 is below
    __END_NAMESPACE_C99
    When I comment this line out, that particular error does not show up but still the other errors above still show up.
    From the testing I did, it appears to have these problems for most of the C++ programs I have written, especially the ones that involve object oriented programming. All programs that I wrote do not have these problems with g++ or Sun CC for Solaris. It does however work fine only for small fraction of the programs I have written. I dont quite understand why it works in some cases and others it doesnt, but I know for sure, that it should be working for all cases when Sun CC from Sun Studio 10 on Solaris 10 for X86 has no problems compiling the same programs.

    I tried workaround number 2 from the 3 choices that were listed by horsh. That fixes the mathcalls.h problem but still I have the following errors.
    jcurran2@ubuntu:~/cs225/Machine Problems/cs225/mp1/cs225_mp1$ make
    CC -c -g string.cpp
    "/usr/include/wctype.h", line 47: Error: A declaration was expected instead of "}".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 74: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/iosfwd", line 75: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 191: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 194: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 261: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 265: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 299: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 302: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 410: Error: "," expected instead of "get_state".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 414: Error: Use ";" to terminate declarations.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 506: Error: The function "strstr" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 523: Error: The function "strcspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/traits", line 529: Error: The function "strspn" must have a prototype.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 125: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/rwlocale", line 130: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 55: Error: mbstate_t is not defined.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 55: Error: Template parameter std::stateT requires a type argument.
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 61: Error: "," expected instead of "state_type".
    "/opt/sun/LinuxCompilers/sunstudiomars/prod/include/CC/Cstd/rw/codecvt", line 63: Error: Use ";" to terminate declarations.
    Error: Cannot continue processing because of prior errors.
    Compilation aborted.
    make: *** [string.o] Error 1
    jcurran2@ubuntu:~/cs225/Machine Problems/cs225/mp1/cs225_mp1$
    Can someone please respond? There is more to the problem. Perhaps
    there are more glibc headers that have problems. In addition, if Sun wants to port the Sun Studio Compilers for linux to be stable on all linux distributions I suggest using VM ware and installing several linux distrobutions as virtual machines and testing this software on each virtual machine to see the problems that occur on each distribution. That way you might be able to uncover more problems to find a solution that will work best for portability on all linux distributions.

  • Is it possible to integrate j2ee enviroment with sun studio developer???

    Dear all,
    I currently developing a jsp based web application with sun studio enterprise but sun studio by default does not support j2ee environment, i think it only support to j2SE.
    i want to use persistence and enterprise beans with my application but don't know, how to do it with sun studio developer.
    i can install the persistence and ejb api's separately, but i dont know whether sun developer will support them
    Can any on tell, what is the best tool for web application developement, while i will need to java uml diagrams later on.
    i would be grateful, if someone can help, i am really desprate
    shafqat zaman

    Sun Java Studio Enterprise 8.1 (built on top on NetBeans 5.0) does support j2ee (and j2se) development.
    For developing j2ee applications, both NetBeans (latest version is 5.5, http://www.netbeans.org) and SJSE can be used. For a comparison on SJSE and NetBeans, please take a look at:
    http://forum.java.sun.com/thread.jspa?forumID=747&threadID=5113472
    For a list of all development tools from Sun, please take a look at http://developers.sun.com/prodtech/devtools/free/index.html..
    i want to use persistence and enterprise beans with my application but don't know,
    how to do it with sun studio developer.For j2ee development, please check out NetBeans 5.5 ; there are several tutorials available at http://www.netbeans.org/kb/index.html. (Since SJSE is built on top on NetBeans, SJSE can also be used and all the NetBeans documents also will apply to SJSE).

  • Problems with sun studio 12 in suse linux 11

    Hi.
    I installed Sun Studio 12 suse linux with no problems. However, the debugging modules (DBX) are not working any more. When I started Sun Studio, it gave a message about modules that could not be loaded in tha moment. I did not pay attention. But I noticed that all debugging options were disabled.
    Using the module manager, I saw the DBX module was not checked, and I could not change it. I was marked with a red X. So I thought to reinstall the application. However, the uninstall utility doesn't work either.
    According with the documentation, running ./uninstaller does it, but I get the following error message instead
    Exception in thread "main" java.lang.NoClassDefFoundError: uninstall_Sun_Studio_12/class
    Caused by: java.lang.ClassNotFoundException: uninstall_Sun_Studio_12.class
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    I tried to uninstall manually, and then execute installer, by using first the software manager in linux and deleting the producregistry file manually. It worked because I executed the installer. However, in Sun Studio IDE, debugging options are still not available despite I "reinstalled" the application. I checked the log files and they say the file uninstall_Sun_Studio_12.class could not be written.
    So my questions are:
    1. Is there any other way to repair Sun Studio? What could be the possible for this module to stop working?
    2. Does anyone have an idea of why the installer cannot write the uninstaller class?
    I found that perhaps problems regarding Java / Netbeans versions could be the problem, but the ones I have installed are those packages that were installed along with Sun Studio, and both are valid.
    Thank you very much.

    Perhaps you can simply delete the Sun Studio 12 installation tree, because it will not work on SUSE Linux 11.
    This OS is not supported, so any problems you see with SS12 on SUSE 11 will not be fixed.
    But we have a newer version, that should work better.
    You can try to download and install Sun Studio Express 2008/11 (extract pre-installed image from tar.bz2 file).
    Here is a pointer to the web page:
    http://developers.sun.com/sunstudio/downloads/express
    All you need is to provide a email address, and press "Download Now" button.
    You will see a page, that gives you 2 options to download Sun Studio Express 2008/11.
    Use "Option 2": Download Tarfile Installer
    Thanks,
    Nik

  • Trouble viewing disassembly with Sun Studio 11

    I was wondering how someone can bring up a window with a program�s disassembly when debugging a C program with Sun Studio 11. (SPARC). I would like to be able to set breakpoints at specific assembly instructions using Sun Studios�s GUI interface rather than using typed commands with DBX. I would also like to know how to get a window that shows the current value of the registers. Any help would be greatly appreciated.
    Chris

    Oops, it appears that you can't set breakpoints
    through Disassembler window, it just shows the code
    and current position within the code, that's all.It
    gives you better view of context than dbx's 'dis' or
    'list -i' commands, though.Actually you can set breakpoints through Disassembler window:
    - select an address, click right mouse button to open context menu
    - choose "Set Breakpoint"
    If you need this feature, please file an RFE (Request
    For Enhancement) through bugs.sun.comThe Disassembler window has been significantly improved between
    EA1 and FCS. Now users can set and delete breakpoints using the
    same way as they do in source file - click on the left gray area (toggle
    breakpoints). Also Disassembler window has "Step Into", "Step Over",
    "Step Out" and "Run To Cursor" buttons.
    Thanks,
    Nik

  • Sun Studio 12 on Linux

    Hi,
    I am currently porting a C++ application from Solaris to Linux,
    Since we were using Sun Studio on Solaris, we planned to continue with Sun Studio 12. Our application in simple words is pretty huge and as such have some major issue. But I have the following query.
    The C compiler cc is not recognising -KPIC option, I have tried -fpic and -kPIC, but seems to be failing and also -shared option is also not recognised.
    But more than this, Could some please help us out with some valid documentation for compiler options, linker options for SUN STUDIO 12 compilers and linkers on LINUX
    With Regards
    Arun

    The C compiler cc is not recognising -KPIC option, I have tried -fpic and -kPIC, but seems to be failing and also -shared option is also not recognised.Something is broken in your setup, probably you do not call Sun cc, or something like that.
    suncc recognized -KPIC for ages and since Sun Studio 12 it recognizes both -fpic/-fPIC and -shared as well.
    man cc should be fine, also docs.sun.com Sun Studio 12 collection should be up to date wrt Linux-specific parts.
    We use system linker on Linux (gnu ld that is). You can use "suncc -Wl" and "sunCC -qoption ld" to pass options to linker.
    Please, verify that your cc is from Sun Studio 12 (cc -V should specify version 5.9).
    regards,
    __Fedor.

  • Sun studio 11 for linux

    i successfully installed sun studio on a linux machine. i am debugging my first program.
    the problem i am having is local variables (stack variables) do not show the correct
    values. i can tell by the execution and examining the results that the local variables are
    really correct, but what is displayed is garbage. global/static variables display the
    correct values. anyone else having such an issue ?

    Sun Studio debugger has supported gcc/g++ for a while now, so
    that feature should definately work. Let us know more information
    about the bug, so we can fix it.
    If you have time and interest to experiment with pre-release compilers,
    you could download the latest "Sun Studio Express" release, and try
    out an early access version of the Sun compilers on Linux. But there
    are still a few things that don't work right. C should be very robust by now,
    but the Sun C++ and Fortran compilers still have some more porting
    work to finish before all the compiler features are available on Linux.
    http://developers.sun.com/prodtech/cc/downloads/express.jsp
    --chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problems using Sun Studio Express 3 CC on OpenSuse 10.2

    Unable to compile a simple program with CC (compiles w/o errors using g++)
    -- test.cpp -------------------------------------------------------------------
    #include <string>
    #include <iostream>
    using namespace std;
    string xx = "Hello World ...";
    int main () {
    cout << xx << endl;
    return 0;
    sunCC -v -o testcc test.cpp
    ### command line files and options (expanded):
    ### -v -o testcc test.cpp
    ### sunCC: Note: NLSPATH
    = /opt/sun/sunstudiomars/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/sun/sunstudiom
    ars/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
    /opt/sun/sunstudiomars/prod/bin/ccfe -y-o -ytest.o -y-fbe -y/opt/sun/sunstudiomars/prod/bin/fbe -y-xarch=generic -
    y-xtab -y-verbose -O0 -ptf /tmp/16306%1.
    %2 -ptx /opt/sun/sunstudiomars/prod/bin/CC -ptk "-v -xs " -D__SUNPRO_CC=0
    x590 -Dunix -Di386 -D__i386 -D__i386__ -D__unix -D__unix__ -D__BUILTIN_VA_ARG_INCR -D__linux -D__linux__ -Dlinux -
    D__gnu__linux__ -D__SUNPRO_CC_COMPAT=5 -xdbggen=no%stabs+dwarf2 -y-s -xdbggen=incl -I-xbuiltin -xldscope=global -i
    nstlib=/opt/sun/sunstudiomars/prod/lib/libCstd.a -I/opt/sun/sunstudiomars/prod/include/CC/Cstd -I/opt/sun/sunstudi
    omars/prod/include/CC -I/opt/sun/sunstudiomars/prod/include/CC/rw7 -I/opt/sun/sunstudiomars/prod/include/cc -y-com
    dat test.cpp -s /tmp/ccfe.16306.0.s >&/tmp/ccfe.16306.1.err
    rm /tmp/ccfe.16306.0.s
    /opt/sun/sunstudiomars/prod/bin/stdlibfilt -stderr </tmp/ccfe.16306.1.err
    "/usr/include/string.h", line 272: Error: End of file encountered in macro
    arguments for "__nonnull".
    "/usr/include/string.h", line 272: Error: ")" expected instead of "(".
    "/usr/include/string.h", line 272: Error: Unexpected ")" -- Check for matching
    parenthesis.
    "/usr/include/string.h", line 272: Error: Operand expected instead of ";".
    "/usr/include/string.h", line 426: Error: "strerror_r(int, char*, unsigned)"
    is expected to return a value.
    "/opt/sun/sunstudiomars/prod/include/CC/new", line 32: Error: operator
    new(unsigned) was declared before with a di
    fferent language.
    "/opt/sun/sunstudiomars/prod/include/CC/new", line 35: Error: operator
    delete(void*) was declared before with a di fferent language.
    "/opt/sun/sunstudiomars/prod/include/CC/new", line 37: Error: operator new[]
    (unsigned) was declared before with a different language.
    "/opt/sun/sunstudiomars/prod/include/CC/new", line 40: Error: operator
    delete[](void*) was declared before with a different language.
    "/opt/sun/sunstudiomars/prod/include/CC/new", line 53: Error: Only one of a
    set of overloaded functions can be ext ern "C".
    "/opt/sun/sunstudiomars/prod/include/CC/new", line 54: Error: Only one of a
    set of overloaded functions can be ext ern "C".
    "/opt/sun/sunstudiomars/prod/include/CC/new", line 55: Error: Only one of a
    set of overloaded functions can be ext ern "C".
    "/opt/sun/sunstudiomars/prod/include/CC/new", line 56: Error: Only one of a
    set of overloaded functions can be ext ern "C".
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 106: Error:
    Template declarations cannot have exte rn "C" linkage.
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 169: Error:
    Template declarations cannot have exte rn "C" linkage.
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 185: Error:
    Template declarations cannot have exte rn "C" linkage.
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 198: Error:
    Template declarations cannot have exte rn "C" linkage.
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 202: Error:
    Template declarations cannot have exte rn "C" linkage.
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 206: Error:
    Template declarations cannot have exte rn "C" linkage.
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 217: Error:
    Only one of a set of overloaded functi ons can be extern "C".
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 225: Error:
    Template declarations cannot have exte rn "C" linkage.
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 239: Error:
    Template declarations cannot have exte rn "C" linkage.
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 249: Error:
    Template declarations cannot have exte rn "C" linkage.
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 264: Error:
    Template declarations cannot have exte rn "C" linkage.
    "/opt/sun/sunstudiomars/prod/include/CC/Cstd/rw/iterator", line 275: Error:
    Template declarations cannot have exte rn "C" linkage.
    Compilation aborted, too many Error messages.
    rm /tmp/ccfe.16306.1.err
    rm test.o

    It is a known bug. Check out this topic: http://forum.java.sun.com/thread.jspa?threadID=5109045
    Fix for it should be available in the next installment of Sun Studio Express...
    regards,
    __Fedor.

  • Sun Studio Express February 2008 - Now Available

    Howdy,
    A new build, February 2008, of Sun Studio Express, which offers preview builds of the next version of Sun Studio software for Solaris and Linux platforms, is now available:
    http://developers.sun.com/sunstudio/downloads/express/index.jsp
    Highlights in this build include:
    * Improved IDE based on NetBeans IDE 6
    * Project D-Light: app profiling that includes Dynamic Tracing (DTrace) instrumentation
    * Updates to the C, C++, & Fortran compilers
    * Improved x86 and SPARC optimizations
    * Latest bug fixes
    For more details, check out the README:
    http://developers.sun.com/sunstudio/downloads/ssx/readme.html#2
    As always, let us know what you think via our forums:
    http://forum.java.sun.com/category.jspa?categoryID=113
    ...and bug (defect) and Request for Enhancement (RFE) facility:
    http://bugs.sun.com/services/bugreport/index.jsp
    Finally, check out the Sun Studio community site on the Sun Developer Network:
    http://developers.sun.com/sunstudio/
    ...and keep up to date by subscribing to our RSS feed:
    http://developers.sun.com/rss/sunstudio.xml
    Thanks!
    /kso

    Hi,
    we are currently using SunStudio 12. I have noticed that early access product, SunStudio Express, Feb2008. It seems that new features coming from NetBeans 6.0 have contributed to SunStudio IDE. I prefer to use SunStudio Express IDE. But i have also noticed that sun CC compiler version is also different. Actually it is no surprise, since SunStudio is a complete product composed of compilers, tools and IDE.Now, i am quite doubtful whether we should use SunStudioExpress. That's why i want to learn when official new release for SunStudio will be announced.
    Though i have searched internet, i couldn't notice any news about the next official release of Sun Studio( Sun Studio 13 ). When will this early release( SunStudio Express, Feb 2008 ) be released as SunStudio13? What is the release roadmap of SunStudio?

  • Difference between Sun Studio 12u1 and Sun Studio Express...

    Hi,
    on my open solaris:
    SunOS opensolaris 5.11 snv_111b i86pc i386 i86pc
    I've installed Sun Studio Express to get the C/C++ compilers. What is the difference with the Sun Studio 12 suite (which is about 200 MB larger than the Express one)? Also I saw there are patches for Sun Studio 12 (last one Jul 20 2009) that might have a fix for a problem I just reported. How can I install such patches?
    Patch: http://sunsolve.sun.co.jp/search/document.do?assetkey=1-21-126498-14-1
    Cheers, Fons.

    Studio Express is a pre-release or beta release. Some features may be missing or not functional. It cannot be patched. It can be replaced by a later release.
    Sun Studio 12 update 1 is an actual, supported release, later than the most recent (as of this date) Studio Express. If you install SS12u1 from packages (using the installer GUI for example), you can download and install patches for it as they become available. (Installations from a tar file cannot be patched; they can be replaced.)

  • Sun Studio Express 3/09 Now Available!

    Sun Studio Express 3/09, the official build used for the Sun Studio 12 Update 1 Early Access Program, is now available for download:
    http://developers.sun.com/sunstudio/downloads/express/index.jsp
    The Sun Studio Early Access build is available on Solaris, OpenSolaris and the latest Linux distributions (Red Hat Enterprise Linux, SuSE,Linux Enterprise, CentOS, Ubuntu). Feature highlights since the Sun Studio 12 release include:
    * C/C++/Fortran compiler optimizations for the latest x86 architectures from Intel and AMD including SSSE3, SSSE4a, SSe4.1, SSE4.2 compiler intrinsics support
    * C/C++/Fortran compiler optimizations for the latest UltraSPARC and SPARC64-based architectures
    * DLight - New tool to utilize and visualize the power of Solaris Dynamic Tracing (DTrace) technology
    * dbxTool - New stand-alone GUI debugger
    * Full OpenMP 3.0 compilers and tools support
    * MPI performance analysis in the Performance Analyzer
    * NetBeans IDE 6.5 including new remote development features
    These new features are all described in the README and wiki pages:
    * March 2009 Express README:
    http://developers.sun.com/sunstudio/downloads/ssx/express_March2009.html
    * Wiki pages:
    http://wikis.sun.com/display/SunStudio/Sun+Studio+Express+March+2009+Release
    We are exited to hear your feedback on the new features/enhancements in this Early Access build and encourage your participation in the Sun Studio 12 Update 1 Early Access Program so that we can gather valuable feedback to assess the readiness of our release.
    Sun Studio 12 Update 1 Early Access Program:
    http://developers.sun.com/sunstudio/overview/earlyaccess/index.jsp
    View the Sun Studio Express 3/09 podcast to learn more: http://mediacast.sun.com/users/ikroopdhillon/media/sunstudioexpress0309/details
    Thanks,
    Ikroop Dhillon

    Hi,
    we are currently using SunStudio 12. I have noticed that early access product, SunStudio Express, Feb2008. It seems that new features coming from NetBeans 6.0 have contributed to SunStudio IDE. I prefer to use SunStudio Express IDE. But i have also noticed that sun CC compiler version is also different. Actually it is no surprise, since SunStudio is a complete product composed of compilers, tools and IDE.Now, i am quite doubtful whether we should use SunStudioExpress. That's why i want to learn when official new release for SunStudio will be announced.
    Though i have searched internet, i couldn't notice any news about the next official release of Sun Studio( Sun Studio 13 ). When will this early release( SunStudio Express, Feb 2008 ) be released as SunStudio13? What is the release roadmap of SunStudio?

  • Error message when starting Sun Studio express IDE

    When I start the Sun Studio express IDE version 3/09 I get the following error message:
    java.lang.IllegalArgumentException: Instance_urn = urn:st: already exists in the registration data.
         at org.netbeans.modules.servicetag.RegistrationData.addServiceTag(RegistrationData.java:343)
         at org.netbeans.modules.servicetag.RegistrationDocument.addServiceTags(RegistrationDocument.java:304)
         at org.netbeans.modules.servicetag.RegistrationDocument.load(RegistrationDocument.java:126)
         at org.netbeans.modules.servicetag.RegistrationData.loadFromXML(RegistrationData.java:433)
         at com.sun.tools.swdev.sunstudio.registration.SSServiceTagSupport.getRegistrationData(SSServiceTagSupport.java:257)
         at com.sun.tools.swdev.sunstudio.registration.SSServiceTagSupport.getSSServiceTag(SSServiceTagSupport.java:306)
         at com.sun.tools.swdev.sunstudio.registration.SSServiceTagSupport.createSSServiceTag(SSServiceTagSupport.java:157)
         at com.sun.tools.swdev.sunstudio.registration.SSInstaller.restored(SSInstaller.java:97)
         at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:419)
         at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:340)
         at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
         at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
         at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
         at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
         at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
         at org.netbeans.core.startup.Main.start(Main.java:312)
         at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
    [catch] at java.lang.Thread.run(Thread.java:619)

    Hello!
    I googled "SSServiceTagSupport.java:257" and found out that it is filed as IZ 154094 against Netbeans:
    http://www.netbeans.org/issues/show_bug.cgi?id=154094
    Actually it was reported many times:
    http://www.netbeans.org/issues/show_bug.cgi?id=151921
    It suggests a few workarounds.
    Workaround 1:
    "Simple workaround is to disable registration using command line option -J-Dnb.registration.enabled=false"
    Workaround 2:
    "The file ~/.netbeans-registration/6.5/registration.xml is empty, so I have this file erased and restarted the IDE.
    After this step, the file was not regenerated, but the IDe starts now without this problem."
    Please, try one of them.
    Thanks,
    Nik

  • Sun Studio Express Feb 2007, lingering dialog box upon Debug

    When I try to debug a project (say the Freeway sample application) in Sun Studio Express Feb 2007 on Solaris x86, Ultra 20, the following dialog box lingers. I am able to close it manually and debug normally however:
    Loading library
    /usr/lib/liblayout.so.1

    Yes, I've also seen this a number of times. I don't remember what was the problem exactly (dbx <-> IDE miscommunication?), but I believe it's gone now. Please wait for stable release , it should be available soon.

Maybe you are looking for

  • Disable/Gray Out Delete Button in SRM

    Hi All, In the menu Shopping cart Status, I could able to see all the shopping cart. Now the requierment is , DELETE button should be disable/gray out  if there is any corresponding PO for that SC. Please let me know how to do this. I tried with BADI

  • Will not display Error Message

    <div class="search_row"> <h:message for="something_else" style="color: #000000"/> </div> this error message does not want to display in Internet Explorer it is against a orange background image does anyone know how to sort this?

  • Button inside MovieClip don't work...?!

    Hello, I\m traying to create AIR for Android app & I have 2 MovieClips in the main timeline the first in frame 35 and the second in frame 99 with the name of quary_mc. Inside the second movieclip there is a button with the name of sID_btn. When i add

  • How to create customized controls in LabWindows CVI

    Hello, I would like to create more "user friendly" controls  in LabWindows. For example I would like to use a "Round command button" and add a picture on it. Do you know if there is a way to do it?

  • Can't retrieve back a podcasting

    I have a question. I have been using itunes for downloading podcasts for quite some time now, and I have noticed the following thing happening: Whenever a podcasting starts to get downloaded, and I interrupt it for whatever reason, either it gets rem