Please find the following error.I did following typedef:typedef bool Boolean;typedef signed int Sint32;Problem description:This error is occurring because Sun CC 5.9 or Solaris 9 g++ considers bool data type as signed Integer, when passed as an constructor argument. First, it is overloading the ...
<p>Dear Colleague:</p><p>I used to compile Fortran programs on Linux. With Linux, I have to link with either libf2c.a or libg2c.a to get the programs work. What library should I use if I port those codes from Linux to Solaris with Studio? </p><p>Thank you for your help.</p>
2112 byte By
w20088a at 2007-11-27 11:53:52
When I sort a list with pointer object it will be error. #include <iostream>#include <string>#include <list>#include <vector>#include <algorithm>#include <functional>using namespace std;/* class Person */class Person { private:string fn;// first namestring ln;// last name ...
497 byte By
Qrioa at 2007-11-27 11:53:46
HiI get the following error while building a shared object:librwtool.a(ctclass.o): symbol RWCollection::__vtbl: relocations based on the ABS44 coding model can not be used in building a shared objectThis happens only in debug mode.The link line has the following compile ...
<p>I compiling our project under Solaris 8, I lost two libs: libxpm.a & libjpeg.a(64bit), where can I find them?</p><p>Thank you!</p>
333 byte By
denniska at 2007-11-27 11:51:39
Hello,While rhe shell script is marked as executable, the Sun Studio 9 debug mode does not see it that way.Unfortunately, my executable is wrapped inside the shell script.How do I convince the debug mode that the shell script is an ok executable so that I can use the very nice debugger?Thanks ...
hello all,i installed subversion module according to: http://forum.java.sun.com/thread.jspa?threadID=5176132ok, i have a new menu subversion, and able to connect to repository to checkout my files.But when i want to commit or update, i can't because all submenus are unavailable, as showed ...
I found that Sun Fortran does not count blanks from an 'nX' specifier when writing with advance='NO'. For example, this code:write(*,'(A,4X)',advance='NO') '1'write(*,'(A)') '2'write(*,'(A,4(" "))',advance='NO') '1'write(*,'(A)') '2'endresults in:1212I recall some discussion ...
6194 byte By
ScAra at 2007-11-27 11:42:56
Hi all,I am porting some server stuff from Windows to Solaris and have the problem, that I have random crashes of our main server what didn't happen on Windows, Linux or HP with the same code base.I think that there is perhaps a structural problem, what I can't find. Perhaps somebody can look ...
1650 byte By
miya38a at 2007-11-27 11:42:48
I have a probrem; my program crashes due to SIGABRT.My program is multithreaded (about 600 thread total),and uses libmtmalloc for more performance.By stack trace , when handling of substitution operation ('=' operator) of STL string ,free() and abort() is called like this:-- lwp# 235 / thread# ...
I have a problem linking with the optimized math library using Sun Studio 12 on Linux with an AMD64 processor. It complains that the pow() function depends on a missing symbol, which I believe comes from the C runtime. This problem does not occur if I am using the regular math library, or the ...
1318 byte By
abiesa at 2007-11-27 11:39:04
Hello,I have two 3rd party C++ libraries. One of them is using stlport, second classic Cstd library. Is it possible to make application which will use both of them at the same time?I know that easy answer is 'no'. I have contacted both vendors - stlport-based one says "We won't support old ...
3305 byte By
petrosysa at 2007-11-27 11:37:19
Hi,We are just getting started building our application on redhat el5 with sunstudio 12.We are compiling and linking our app with gcc 4.1 as we need to be able to link against some 3rd party libraries build on rhel4 that we do not have source for.We now can compile and link fine but dbx does not ...
<p>I use the command "$cc -dalign -xarch=amd64 -xparrellel test.c -o a.out -xlic_lib=sunperf".</p><p>the it is showed that the sunperf lib can not be found.</p>
I have an application which loads plugins (dynamic libs). The app and the plugins make use of a set of handy functions that I've compiled into a static library. I want to link the static library into the application, otherwise I'd just get a lot of copies everywhere.The problem is that "cc" ...
423 byte By
ScAra at 2007-11-27 11:12:37
Hi all,because NOBODY answer me on that topic http://forum.java.sun.com/thread.jspa?threadID=5195679&tstart=0and that is the first time that happend to me, I will ask, what is the reason for this? Is this question wrong in this forum? Or is the attached output to big?I appreciate any hint, what ...
When loading a core file, I get:dbx: warning: Object file is not the same one that was linked into executable.Skipping stabs. (see `help finding-files')because I recompiled the object files as the originally compiled object files are no longer available. How can I force dbx to use the newly ...
471 byte By
binjavaa at 2007-11-27 11:05:02
I am new to the UNIX world and am trying to install Sunstudio on my solaris system. I used the tar file. Extraction of the file was successfulWhen I try to run sunstudio using. sunstudio --netbeans /home1/downloads/C++/netbeans-5.5.1I get the following errorUnrecognized option: -clientCould not ...
Here is an interesting run-time check bug. I have an internal subroutine where an array index is changed in another internal subroutine by host association. The run-time check misses the fact that the index has been updated. Here is an example. It seems to relate to the use of a derived-type as ...
I have a bug in SunStudio12... http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6547609.. that the fix has been identified but now I must wait for the patch.Is there anyway of knowing when the patch may be released and where is the place that I will first be able to access it.Thanks, ...
Hi,we have migrated from SunStudio11 to SunStudio12 in which CC compiler has upgraded to 5.9. After recompiling source codes with new compiler, we got the following error:>> Assertion: (../lnk/bind.cc, line 268) while processing .......We have encountered this problem reported in the past. But ...
2051 byte By
cfddoca at 2007-11-27 10:57:34
This is question for the Sun Fortran compiler team.I'm trying to compile some code using Sun Studio 12 compilers under both Linux and Solaris Express (5/07) and am encountering errors while compiling some code that g95 accepts and I think is allowed by the standard. The following example ...
Sun Fortran's run-time checks are too strict, and are aborting on code that is actually valid, but might be considered bad usage. Unfortunately, there are no options to select which code checks should be enforced. It would be nice to at least have an option to issue warnings when errors are not ...
1098 byte By
idstorea at 2007-11-27 10:51:05
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 ...
<p>When I compile an executable twice use command "/opt/SUNWspro/WS6U2/bin/cc -g" at he same time, and then use "diff" command to compare this twice output file, I found that they are different.</p><p>After use "strip" command to strip this two files, they are different also.</p><p>Why?</p>
8923 byte By
autohanda at 2007-11-27 10:45:57
i have cast my print statements:(dbx) whatis (CBioseq *)((*(CBioseq_Info *)((*this).m_Contents.operator->()))class ncbi::objects::CBioseq *;(dbx) whatis (CBioseq *)((*(*this).m_Object.operator->()).m_object) class ncbi::objects::CBioseq *;they both point to the same address:(dbx) p (CBioseq ...
For our software's new version, I rebuild the project on my Solaris 8 OS.But when I got the executable file, I can't run it. When inputting the "./filename", nothing was happied.I used the "file" command, I got the message: "ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, ...
I have been thinking for some time that it would be great to have a Fortran parsing tool that does precise syntax checking against standards. There are a few tools like this, but I think we need an Open Source tool so that it can be used by everyone as the common standards-checking tool.In order to ...
One place where Sun Fortran needs work is in management of language extensions. For example, it seems that it is not possible to exclude the generic REALLOC() extension function, meaning that it is not possible to have a generic subroutine interface of that name. The same is probably true of many ...
840 byte By
netexa at 2007-11-27 10:34:21
I'm on Solaris 10 x86 on an AMD64 system.The following code:== 1.c ==int main(){ int i; for(i=0;i<5;++i)__asm ("pause");}cannot pass -fast compiler option. Actually, it cannot pass optimization level > 2, i.e., it passes -O2, but cannot pass -O3/4/5.$ cc -fast -o 1 1.c"1.c", [main]:ube: error: ...
I am installing Sun Studio 12 on a SUSE Linux Enterprise Server 10 (ia64), and get the error "Attach to native process failed". I found that the installer script is using the default java executable, which seems to be causing the problem. If I edit the install script to use ...
Hello,We have a large (~4k lines) .cpp file which brings in a very large number of templates. On our v440 we see the compiler using more and more memory until it reaches 2Gb when it falls over with the message"Insufficient memory is available for compilation to continue."sun02% uname -aSunOS sun02 ...
6886 byte By
LDERa at 2007-11-27 10:31:24
Hi everyone,We encounter a problem with our software that coredumps from time to time, especially at high activity peaks or after having run for some timeWe recently recompiled a part of this software with SunStudio 8 (CC5.5) (no changes made to the source code)We were previously working with Sun ...
<p>I will debug my project under Solaris OS, my project is a big one. I debuged it with DDD (Data Display Debugger) under Linux. I want to know are there an IDE debug tool under Solaris 8? Like the DDD under Linux.</p><p>Thank you !</p>
<p>Is there an easy way to invoke math functions from dbx? If I try, for example, to call sqrt I get meaningless results:</p><p>(dbx) print sqrt(4.0) </p><p>sqrt(4) = 1074790400</p><p>(dbx) </p><p>This is from code which uses sqrt, so sqrt should be accessible. Does this need some kind of cast?</p>
Hi,I am contemplating building the rhel5 version of our application using the SunStudio 12 compiler. We have a very large C/C++ application and the catch is that we don't have the source for a number of big 3rd commercial C++ libraries that we need to link against. These libs are built on rhel4 ...
390 byte By
ScAra at 2007-11-27 10:28:33
Hi all,because I use boost libraries I compile and link my stuff completly with stlport4. What I have to do, if I deploy my software? Can I assume that all what needed is on the target machines or do I have to pack some stlport4 stuff in my installation package.All programs are build with sunstudio ...
I am having problems trying to write into a /proc/<pid>/ctl file. I start process A and process B. I try to write into process B's ctl file from process A. I get "Permission denied" error. When I look at file permissions, the file has write-only permissions and it is owned by me. I open the ...
Hi!Being a newbie with Sun Studio, but not exactly with programming, I have a question regarding project configurations.Currently, I have a group of projects configured as dynamic libraries, the number may grow up to between 10 and 20. I want to be able to switch to static libraries, or even have ...
I get the following errors:"/sccm/software/sstud11/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 316: Error: A typedef name cannot be used in an elaborated type specifier.."/sccm/software/sstud11/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 317: Error: A typedef name cannot be used in an ...
ssg1cm01:# /opt/SUNWspro/bin/CC test.CLicense Error : Licensing product (Sun WorkShop Compiler C++ SPARC).License File: 7588@ssg1cm01License server does not support this featureFeature:workshop.cc.sparcServer nameFLEXlm error:-18,147.ssg1cm01:# cd /tmpssg1cm01:# cat >test.fPROGRAM TESTWRITE(*,*) ...
I'm seeing a similar error to that reported for bug 6533415 here: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6533415This bug is marked as a duplicate of 6470247, but that bug isn't accessible on the public bugs.sun.com site. Is it possible for this bug to be made visible? If not can ...
I tried calling these functions from dbx but nothing seems to work.print strlen("hello");dbx: can't find a system call entry point -- program not linked with libc?loadobject shows that libc.so is mapped.(dbx) loadobject -list | grep libcm/lib/libc.so.1any particular ...
Using SunStudio 12 on SLES9 on an opteron platform:I run into a problem using spinlocks -see below. gsql-bugs responded : use gcc (see below). It does build fine under gcc, and will build under SS12 if I disable spinlocks as suggested. Is this an issue that the SunStudo development team can ...
On an athlon64 running SUSE 10.2 and an opteron running SLES 9 I can build R version 2.5.1 ( http://www.r-project.org/) with no problem using gcc. The configure works fine, but make stops at a linking error using SS12 compilers.Error:/export/isos/Sun_Studio/sunstudio12/bin/cc -V -m64 -shared -fPIC-V ...
<p>When I compile with "-###" in Studio 10 on an UltraSparc machine it says the default for -xarch is "generic". The man page on the other hand says the default is, "v8plus". Is this a mistake in the man page or am I missing something? Any help would be greatly appreciated.</p>
Hi Friends,We are using CC (v5.4) compiler for our C++ code, which use STL , string, iostream related utility.Compiler version: CC: Forte Developer 7 C++ 5.4 2002/03/09We are linking using these options "-lsocket -lnsl -lCstd -lCrun -lm -lc -lposix4 -mt -lpthread"But we are getting following ...
421 byte By
mgroffa at 2007-11-27 10:06:46
I downloaded and installed the June 2007 build of SunStudio 12 Express and cannot find anything related to D-Light. My understanding is that it should be under the tools drop down.Here is the version string for SunStudio:Build 200704122300, SunStudio 20070501Did I somehow obtain the wrong ...
3155 byte By
luoyi82a at 2007-11-27 10:03:01
I can find the docs for SunStudio here, http://docs.sun.com/app/docs/doc/819-5265/6n7c29ck9?a=viewbut it seems that it doesn't right on linux platform. #include <stdio.h>int main(void){#if defined(sun)printf("sun defined \n");#elseprintf("sun undefined \n");#endif#if ...
2219 byte By
ben32a at 2007-11-27 10:01:03
Hi everybody,I get a similar problem than http://forum.java.sun.com/thread.jspa?threadID=5188423&tstart=0except that i cannot get it install doing a -nodiplay install.I'm running Solaris 10 with all the patches required for the installation.I've installed netbeans 5.5.1 and the JDK ...