Will Sun Studio 12 Update 1 eventually show up with smpatch analyze?

I have a Solaris 10 (sparc) box on which previous Sun Studio updates have been applied via smpatch. I was able to use smpatch analyze/download/update to find and apply the updates. Will Sun Studio 12 Update 1 eventually show up with smpatch analyze or will I need to manually install it?
Thanks.
Matthew

I'm not 100% sure, but it is a different release, despite the name (12 update 1). Most, if not all, components have different version numbers compared to ones from Sun Studio 12.

Similar Messages

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

  • Solaris 10 - LPS not working with smpatch analyze

    I recently started patching systems with IDR124828-01 as a temporary fix to the security vulnerability listed here:
    http://sunsolve.sun.com/search/document.do?assetkey=1-26-102724-1
    Since this temporary patch requires kernel patch 118833-24, I needed to get a few of my systems up to date. However, after patching the LPS with the temporary patch, using `smpatch analyze/update` on any system returns: No patches required.
    I successfully patched some systems yesterday, so I figured the temporary patch had borked the patchsvr. I verified the problem was with the LPS because changing smpatch settings on the LPS like so: patchpro.patch.source=https://getupdates1.sun.com/ works fine.
    Restarting the patchsvr doesn't help. Debug output from smpatch is also not helpful. There are no errors appearing in the patchsvr logs.
    Any advice on how I can back out the temporary patch gracefully, or any other problems that may be causing this?

    There were 13 clients originally, there seems to be problems with more than 4. They are all running solaris 10.
    The debug output isn't being very helpful (no errors, obvious problems) - All of the analyzed patches appear in this form:
    com.sun.patchpro.patch.PatchSequencer@63b2e6 <=Installed patch 121133-02 is >= to current patch 121133-02
    There don't seem to be any listed patches newer than September 22 (About the last time they got a large set of patches) - Some of the patches are not current versions as well. E.g. it analyzed patch 121081-05, the latest revision is -06.

  • HT4623 after trying to update ios my phone will not do anything, just shows charder with arrow pointing to my iphone symbol, wht?

    i was trying to update ios and after i was complete i can not do anything with my phone now it just shows the charger with an arrow pointing to the itunes symbol,
    i cant get out of that, what can i do?

    Most likely it is showing an cable connecting to an iTunes symbol which indicates the device is in recovery mode.
    Connect the device to a computer running iTunes and restore.

  • Applications not updating just show icon with line through it but not responding

    App Store shows 6 updates available.  Clicked on update all and now it is just in a frozen state.  The icons for the Apps are dim with the line that is traditionally there when updating, but nothing is happening.  If I click on the icons it say Unalbe to Download Application at this time.  I have checked and am able to update Apps on my iPhone but not iPad.  Any Ideas???

    Suzan-
    Are you able to access the internet using Safari?  If not, you may be having a problem with the iPad's WiFi connection.  Try unplugging the WiFi router for a few seconds.  Then reset the iPad's network.  Go to Settings-General-Reset-Reset Network Settings.
    If you are updating Apps from the App Store App on your iPad, you might also try updating by using iTunes on your computer.
    Fred

  • Will Apple be updating the Mac Pro with updated graphic cards such as the Nvidia GTX 680?

    Hey Apple! And a big Hello to the Apple community!
    I'm looking to buy my first Mac Pro and i'm very excited about it!
    I haven't bought it yet because i'm waiting for Apple to upgrade their current graphics cards that are available in the current line up.
    The ATI Radeon HD 5770 or the ATI Radeon HD 5870. Altough they are very good graphic cards, I feel that they are very outdated.
    Would there be any chance of Apple upgrading their current line up to Nvidia GTX 680?
    Thanks again in advance!

    Hope springs eternal:
    GTX5xx GPUs
    GTX580 3GB running in 10.7.3.
    Card shows EFI boot screens on either DVI port.
    Also have GTX560 going. Will announce GTX570 separately.
    Requires external PSU, but this GTX580 kicks AMD/ATI 5870 to curb, leaves for dead, and never looks back.
    http://forums.macrumors.com/showthread.php?t=1360927

  • Installing  cooltools when Sun studio is installed in a non default dir

    Hello all,
    I have installed sun studio 12 on one node of a SPARC cluster. When installing, I did not use the default directory (/opt/SUNWspro), but I used a different one as this installation is for trial purposes only.
    Now, I want to install discover, ats and all other tools that are included in the tar file. I followed the instruction on suns web page : http://cooltools.sunsource.net/cmtdt/install.html, but all the information there is based on the fact that sun studio is installed in the default directory.
    Does anyone know, what should I do in order to install the tools in the proper directory? Should I specify a path in the "pkgadd" command? Please help as I am stuck at the moment.
    Thanks a lot.
    Yiannis

    I think I found the answer myself. It is written in sun's web page:
    If the Sun Studio 12 tools are installed with a different base directory, say /opt/Studio12/SUNWspro/bin, then use the option -a none in the pkgadd command. When you are prompted for the <base_dir>, enter /opt/Studio12. The tools in the SPROprfns and SPROcool packages will be installed in /opt/Studio12/SUNWspro/extra/bin.
    I think this solves the problem, but in any case, please feel free to comment on this one.

  • Sun Studio 12 support for Solaris 10 3/05

    The Sun Studio 12 http://developers.sun.com/sunstudio/features/sysreq.jsp page mentions Solaris 9 and 10 1/06 are supported. Will Sun Studio 12 support Solaris 10 3/05 in the future?
    Why is Solaris 10 3/05 not supported or at least a patch provided to allow Sun Studio 12 to support 3.05?

    I have done a poor job of explaining. The Sun Studio 12 Release Notes do specify Solaris 10 1/06. Read them. Why would Sun specify that release unless Solaris 10 3/05 was not supported? See http://developers.sun.com/sunstudio/support/support_matrix.jsp and http://developers.sun.com/sunstudio/documentation/ss12/release_notes.html#SystemReqs
    Sun has gone to the trouble to list Solaris OS 9 and 10 1/06. It is not a matter of applying patches to become 10 1/06 from 3/05. It requires an upgrade.

  • Logic Studio (Vers 8) Compatibility Issues with Lion

    Will Logic Studio (Vers 8) become compatible with OS X Lion? I just upgraded to Lion and I cannot launch Logic Pro 8 or any of the other apps included in the Studio bundle. I hope there will be a patch or I will need to remove Lion from my iMac.

    Have you tried this?
    http://www.youtube.com/watch?v=oQaUUhHc0yc
    Unless this vid is bs, this may be the ticket.  Haven't installed Lion yet myself so I can't varify it's validity.

  • It came to my attention there a new program working with itune since last update named Apsdaemon.exe its been using 99% of my processor when its active any idea why so much and will it be fix eventually? And why is it so Heavy consuming ?

    It came to my attention there a new program working with itune since last update named Apsdaemon.exe its been using 99% of my processus when its active.
    Any idea why so much and will it be fix eventually because before last update i never encounter any issue using Itune? Now when that aplication or extention from Itune is working my computor froze to a huge alt. I play video games online and love listening to my music with itune playing in the background and normally was able to have firefox open and a program called ventrillo all working at the same time and now i can barelly have itune and play a game. As soon it start been choppy i just control alt delete wait 5 minute to close down apsdaemon.exe when i'm capable most of the time i have to restart my computor. And why is it so Heavy consuming on the process its memory utility is under the 100ko i believe so why 99% of my processus is been use ?
    a good exemple i could give is itune.exe working it shows process 02% for 123 000ko that is light and perfect.

    Wow, Karan Taneja, you've just embarrassed yourself on a worldwide support forum.  Not only is your post ridiculous and completely inappropriate for a technical support forum, but it also shows your ignorance as to whom you think the audience is.  Apple is not here.  It's users, like you. 
    If you would have spent half the time actually reading the Terms of Use of this forum that YOU agreed to by signing up to post, as you did composing that usesless, inappropriate post, you (and the rest of us on this forum) would have been much better off.

  • HT4623 Now that iOS is consistently being updated.  Will the 1st Generation IPad be stuck with IOS 5?  Eventually my IPad will be good for nothing as Apps start requiring the updated software.

    Now that iOS is consistently being updated.  Will the 1st Generation IPad be stuck with IOS 5?  Eventually my IPad will be good for nothing as Apps start requiring the updated software.

    The iPad 1 can only be updated to iOS 5.1.1. This is unlikely to change.
    The apps you have will continue to work and there are still many apps which run on iOS 5 (or even earlier iOS levels).

  • Problem with setting Source Level in Sun Studio 2

    I've got problem with setting Source Level to 1.5 in Sun Studio 2. When I try to set it to 1.5 in Project properties and click Ok everything seem to go well, but when I open Project Properties again Source Level is set to 1.4. I need this to work cause I started to lear Java recently and I want to use foreach loop.
    Please help

    I'm just citing an example using Date().
    In fact, whether I use DateFormat or Calendar, it shows the same result.
    When I set the date to 1 Jan 1950 0 hours 0 minutes 0 seconds,
    jdk1.4.2 will always return me 1 Jan 1950 0 hours 10 minutes 0 seconds.
    It works correctly under jdk1.3.1

  • Two compile issues with Sun Studio 12 @ x86(_64 = amd64)

    The following two issues are absent on Solaris 10 SPARC and all previous Sun Studio versions (8 to 11), but present on both amd64 Solaris 10 and Linux 2.6 versions:
    1. mozilla.org's Spidermonkey "JavaScript" (ECMAscript) can't be compiled with it: in file jsinterp.c an endless loop is entered by the optimizer in level -xO1 and higher (!). With no optimization, linking is impossible (unresolved symbols from jsinterp.o), which hints to defunct output.
    2. the optimizer (ube) is crashing in sources with a switch with many many case labels in optimization level -xO3 and higher with a segfault.

    I have trouble to seperate a reasonable (example) source out of our complex sources showing the second issue --- what I can already tell is, that the following special pragma has to do with it (while I'm now in doubt that the each 256 case labels per switch, two switches in an if else clause have to do with it):
    #pragma opt 0 (func_name)
    Own1 Own2 func_name(...)
    The buggy versions I can tell you: they are
    on Solaris 10 amd64:
    /opt/SUNWspro/bin/cc -V
    cc: Sun C 5.9 SunOS_i386 2007/05/03
    /opt/SUNWspro/prod/bin/ube -V
    ube: Sun Compiler Common 12 SunOS_i386 2007/05/03
    on GNU/Linux:
    cc -V
    cc: Sun C 5.9 Linux_i386 2007/05/03
    ube -V
    ube: Sun Compiler Common 12 Linux_i386 2007/05/03
    The only important compiler option in this regard seems to be the optimization level, but the situation is complex too, if others should be also involved. I will investigate further...

  • Sun Update Manager attempts to patch wrong arch of Sun Studio 12

    Hi,
    I'm having patching problems as mentioned here: http://forum.java.sun.com/thread.jspa?threadID=5198127&tstart=0
    However, I recently (last week) installed an x86_64 version of Sun Studio 12 on my sparc NFS server as documented here: http://docs.sun.com/app/docs/doc/820-0274/6nc1b7u4r?a=view
    (Installing the Sun Studio 12 Software on a Solaris Server for Use by Clients With a Different Architecture)
    The clients are Sun Solaris 10 11/06 x86_64.
    After running "check for updates", Sun Update Manager today returned 9 patches for Sun Studio 12. All of these patches appear to be for sparc architecture:
    126995-01
    124861-02
    124867-01
    124863-01
    127000-01
    127143-01
    126503-01
    127001-01
    124872-01
    My question is, why doesn't Sun Update Manager realize that I installed the x86_64 version of Sun Studio 12 (for NFS exporting) and give me the x86_64 version of these patches?
    Or am I missing something? How does the procedure "Installing the Sun Studio 12 Software on a Solaris Server for Use by Clients With a Different Architecture" result in the package system on the NFS server being aware of the correct arch version of Sun Studio 12?
    This should explain more:
    (/opt/x86_64/SUNWspro is my NFS share)
    # pwd
    /opt/x86_64/SUNWspro
    # ls -l
    total 62
    lrwxrwxrwx 1 root root 15 Aug 12 18:32 LEGAL-SS12 -> prod/LEGAL-SS12
    drwxr-xr-x 2 root sys 25 Aug 12 18:33 READMEs
    lrwxrwxrwx 1 root root 9 Aug 12 18:31 atd1 -> prod/atd1
    drwxr-xr-x 3 root sys 95 Aug 12 18:33 bin
    drwxr-xr-x 5 root sys 5 Aug 12 18:32 contrib
    drwxr-xr-x 2 root sys 3 Aug 12 18:32 docs
    drwxr-xr-x 2 root sys 7 Aug 12 18:33 examples
    drwxr-xr-x 2 root sys 5 Aug 12 18:32 include
    drwxr-xr-x 3 root sys 3 Aug 12 18:30 inventory
    drwxr-xr-x 9 root sys 40 Aug 12 18:33 lib
    drwxr-xr-x 12 root sys 13 Aug 12 18:30 man
    drwxr-xr-x 2 root root 4 Aug 12 19:46 nb-install
    drwxr-xr-x 21 root sys 21 Aug 12 18:32 prod
    drwxr-xr-x 5 root sys 5 Aug 12 18:33 sfw
    # uname -a
    SunOS <hostname> 5.10 Generic_125100-10 sun4u sparc SUNW,Sun-Fire-V440
    # cd bin
    # ls
    CC cscope er_print gvim smctl visu
    CCadmin ctc er_rm indent ss_attach visuroot
    amd64 ctcr er_src lint sunCC whatdir
    analyzer ctrace etags lock_lint sunas xdcapture
    b2m cxref f77 ootags sunc89 xdconfig
    bcheck dbx f90 prepare_system sunc99 xdesigner
    bil2xd dem f95 ptclean suncc xdhelp
    c++filt dmake fbe rcs-checkin sunf77 xdrecord
    c89 dumpstabs fdumpmod rtc_patch_area sunf90 xdreplay
    c99 dwarfdump fpp rxm sunf95 xdroot
    cb ellcc fpr rxs sunstudio xdtosj
    cc er_archive fsplit sbcleanup tcov xemacs
    cc-5.0 er_cp gil2xd sbenter tha xemacs-mule
    cflow er_export gnuattach sbquery uil2xd
    checkjava er_kernel gnuclient sbtags version
    collect er_mv gnudoit smallxd version-5.0
    # file f95
    f95: ELF 32-bit LSB executable 80386 Version 1 [FPU], dynamically linked, stripped
    I obviously have the i386 version of f95 sitting on my sparc server. The x86 clients are happy with it - works great, but I want to be able to patch it.
    Can anyone tell me how to apply patches to my Sun Studio 12 installation in this case?
    Thanks,
    Phil

    its probably best to get your other patching issue sorted out first before going any further with this. it may turn out that fixing the problem of smpatch analyze recommending already installed patches will also fix this problem

  • Using boost::thread with Sun Studio C++ gives error

    Hi,
    I'm trying to compile a code which uses the boost thread library, but I get the following error:
    CC -library=stlport4 -features=tmplife -features=tmplrefstatic -mt -c -o t t.cpp
    "/opt/boost/include/boost/thread/pthread/mutex.hpp", line 142: Error: The function "pthread_mutex_timedlock" must have a prototype.
    "/opt/boost/include/boost/thread/pthread/mutex.hpp", line 142: Error: The function "pthread_mutex_timedlock" must have a prototype.
    "/opt/boost/include/boost/thread/detail/thread.hpp", line 344: Error: boost::thread::thread(boost::thread&) is not accessible from boost::move(boost::detail::thread_move_t<boost::thread>).
    "/opt/boost/include/boost/thread/pthread/recursive_mutex.hpp", line 179: Error: The function "pthread_mutex_timedlock" must have a prototype.
    "/opt/boost/include/boost/thread/pthread/recursive_mutex.hpp", line 179: Error: The function "pthread_mutex_timedlock" must have a prototype.
    5 Error(s) detected.
    make: *** [t] Error 5the sample source code in question here just a single include:
    #include <boost/thread.hpp>This is with boost 1.40.0. I wonder what I'm doing wrong..
    Akos

    OK, I tried latest version of CC from Sun Studio 12 update 1 and can say that
    - the error about constructor not being accessible is Sun C++ compiler "feature" (only called feature because it existed for so long) that allows binding of rvalues to non-const references; this "feature" will probably be turned off in the next release. It can't be changed in a patch because client's code might rely on it.
    - the other errors are also not Boost-specific: the result of incompatibility of Linux headers and Sun C++ compiler; more thorough investigation is due, but in the past we had several problems like this. This particular can be solved by adding
    -D_GNU_SOURCE to compile line.

Maybe you are looking for

  • How do I Install OS 9.2.2 on iMac G3, Optical Drive Not Working

    Okay, this is the issue I have... I have an iMac G3 that has a complete blank hard drive in it. How, I formatted it. I also have Intel iMac with Snow Leopard and ofcourse, I have OS 9.2.2 CD. Trouble is, the optical drive in G3 doesn't work now. Is t

  • Tutorial How to Create a Driver

    Anyone knows where I can find a tutorial about how to create a driver and how to deploy in sensor edge ? Thanks.

  • [SOLVED] m_sensors can't detect the chipset so I can't set up my fans

    I have overheating problems with my Latitude E5520 (to be exact: http://www.dell.com/support/troubleshoo - ag/50GBMQ1) so I wanted to see what my fans are doing; I went through https://wiki.archlinux.org/index.php/Lm_sensors and then through https://

  • Downgrade to Win XP

    Hello. My T400 suddenly went wrong a few days ago. The Catalyst Control Center kept poping up error messages, so I uninstalled it and intended to reinstall it. But after I did so, the system couldn't recognize my graphic card. The screen resolution b

  • Automatic slideshow in GoLive

    I would llike to add as slideshow that opens up automatically when the user gets to the page and also,that loops indefinately.  I tried making a SWF file from Image Ready, but it ended up being Soooooo heavy!!...22 mo for only 6 photos!?? I looked up