Error for instantiating template in C++ with Sun Studio12U1

Hi
I am working with an application DEAL-II and therefore am trying to compile it on my Solaris Machine.
But I am getting this following error:
make[1]: Entering directory `/gdzusers/abhishek/deal.II/base'
=====base=============debug========== data_out_base.cc
"source/data_out_base.cc", line 4821: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<1, 1>&).
"source/data_out_base.cc", line 4822: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<2, 2>&).
"source/data_out_base.cc", line 4823: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<3, 3>&).
"source/data_out_base.cc", line 4824: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<4, 4>&).
"source/data_out_base.cc", line 4825: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<1, 2>&).
"source/data_out_base.cc", line 4826: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<2, 3>&).
"source/data_out_base.cc", line 4827: Error: Could not find a match for dealii::operator>><dealii::dim>(std::istream &, const dealii::DataOutBase::Patch<3, 4>&).
7 Error(s) detected.
make[1]: *** [gdzusers/abhishek/deal.II/lib/base/data_out_base.g.o] Error 7
make[1]: Leaving directory `/gdzusers/abhishek/deal.II/base'
make: *** [baseg] Error 2
The code where the error is being raised is as follows:
// explicit instantiations
#define INSTANTIATE(dim,spacedim) \
template class DataOutInterface<dim,spacedim>; \
template class DataOutReader<dim,spacedim>; \
template class DataOutBase::Patch<dim,spacedim>; \
template \
std::ostream & \
operator << (std::ostream &out, \
     const DataOutBase::Patch<dim,spacedim> &patch); \
template \
std::istream & \
operator >> (std::istream &in, \
     const DataOutBase::Patch<dim,spacedim> &patch);\
INSTANTIATE(1,1);
INSTANTIATE(2,2);
INSTANTIATE(3,3);
INSTANTIATE(4,4);
INSTANTIATE(1,2);
INSTANTIATE(2,3);
INSTANTIATE(3,4);
#undef INSTANTIATE
Information of my work environment is as follows:
OS - Solaris 10 1/06 s10x_u1wos_19a X86
Sun Studio version: SunStudio12 Update1
Kindly help me in solving this issue.
Thanking You
Abhishek Uppala

Deal-II will not compile using the default libCstd. You need to use the optional STLport (or supply your own library replacement).
The Sun C++ FAQ has more on this topic:
[http://developers.sun.com/sunstudio/documentation/ss12u1/mr/READMEs/c++_faq.html#LibComp]
To use STLport, add the option -library=stlport4 to every CC command, compiling and linking. You cannot mix STLport and libCstd in the same program. Everything, including any C++ libraries linked to the application, must be compiled using STLport.
BTW, questions about C++ should be posted in the C++ Forum:
[http://forums.sun.com/forum.jspa?forumID=850]

Similar Messages

  • SHA1 digest error for javax/mail/MessagingException

    java.lang.SecurityException: SHA1 digest error for javax/mail/MessagingException.class
         at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:194)
         at java.util.jar.JarVerifier.processEntry(JarVerifier.java:201)
         at java.util.jar.JarVerifier.update(JarVerifier.java:188)
         at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:411)
         at sun.misc.Resource.getBytes(Resource.java:97)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         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)
    Exception in thread "main"
    What could be the problem for this error Exception ???
    Thanks and Regards.

    Hi!
    Do you use some plugins with eclipse IDE, like Tomcat by example or other plugins ... ?
    If yes, update mail.jar and activation.jar inside Tomcat or in your lib project Eclipse...
    You have a conflict with the class loader that check for security for class javax/mail/MessagingException
    See you Manifest.mf inside mail.jar :
    (old version here...)
    Manifest-Version: 1.0
    Implementation-Version: 1.4
    Specification-Title: JavaMail(TM) API Design Specification
    Specification-Version: 1.3
    Implementation-Title: javax.mail
    Extension-Name: javax.mail
    Created-By: 1.5.0 (Sun Microsystems Inc.)
    Implementation-Vendor-Id: com.sun
    Implementation-Vendor: Sun Microsystems, Inc.
    Specification-Vendor: Sun Microsystems, Inc.
    SCCS-ID: @(#)javamail.mf     1.6 05/12/09
    Name: javax/mail/search/SearchTerm.class
    SHA1-Digest: SwGnDhIUmpZhfhq/FKkCQ9nD7ZE=
    Name: javax/mail/SendFailedException.class
    SHA1-Digest: XdCEygaIZQB9YrH2WIr4nPRYYk0=
    Name: javax/mail/MessagingException.class
    SHA1-Digest: lfjX30OQ88v/n9G9fTJGqjFmPd0=
    regards,

  • Sun VDI 3.1.1 error with Sun 7310

    Hello,
    I'm working on a Sun VDI solution using a 7310 with Sun Storage 2010.Q1.0.0 and am having a provisioning error when importing a template or desktop. It errors about copying disk image to storage. Upon switching to a Solaris ZFS storage server the issue goes away. I'm curious if anyone else has run into this issue and if the Sun Storage OS should be update or if there are specific configuration variables that should be set in the ZFS storage pool being used by the Sun VDI implementation.
    Thank you,
    Mike

    Okay, after some issues with the 7310 that is being used for this pilot I was able to do some more testing to generate logs around the failures. I have been able to get this to work with a regular Solaris 10 iSCSI and NFS server that uses ZFS. In fact it worked perfectly but that isn't the storage array that is meant for this project. The Sun VDI implementation is accessing the 7310 using the 'root' account and is connecting over gigE SAN. We can see Sun VDI logging into the storage array, it creates the '/suspend-data' NFS share right away as it should. When I got to import a template you can see it deploy the iSCSI LUN and the associated Target and IQN.
    Here are snippets from the cacao log showing the different failure messages.
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.vbox.VBDesktopProvider createDesktops
    FINE: thr#22 Created desktop on 10.72.169.169 with volume ec0263c0-eaef-4636-a2ac-96046e4fc81e at IQN iqn.1986-03.com.sun:vdi:kgksyhsior0abizjhg.g:exlbox2mm0szsgnr7ed- of size 17179869184
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl commit
    FINEST: thr#22 Committing object [id=14] class com.sun.vda.service.persistence.PersistentStorage
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.storage.Volume importFromFile
    FINEST: thr#22 Copying from /sunvdi/templates/solaris10/solaris10.vdi to ec0263c0-eaef-4636-a2ac-96046e4fc81e on host 10.72.169.169 for user root
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#22 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistentJob commit
    FINEST: thr#22 Committing object [id=null] class com.sun.vda.service.persistence.PersistentJob
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.core.jobs.Job run
    INFO: thr#23 Starting Job[192]: STORAGE_ACTION for [Solaris 10, STORAGE_AND_ISCSI_RESSOURCE: INITIATOR:iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0]
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#23 Updating object [id=192] class com.sun.vda.service.persistence.PersistentJob
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistentJob commit
    FINEST: thr#23 Committing object [id=192] class com.sun.vda.service.persistence.PersistentJob
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#23 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
    Jun 17, 2010 3:42:58 PM com.sun.vda.service.vbox.SshServer executeCommand
    FINEST: thr#23 Executing command script run('cd /') ; run('configuration') ; run('san') ; run('initiators') ; run('iscsi') ; run('create') ; run('set alias=vdi:2a95e6efffff.4beb10d0') ; run('set initiator=iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout) on host 10.72.169.169:22 for user root
    Jun 17, 2010 3:43:00 PM com.sun.vda.service.vbox.SshServer executeCommand
    FINEST: thr#23 executed script run('cd /') ; run('configuration') ; run('san') ; run('initiators') ; run('iscsi') ; run('create') ; run('set alias=vdi:2a95e6efffff.4beb10d0') ; run('set initiator=iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout)
    Jun 17, 2010 3:43:00 PM com.sun.vda.service.vbox.SshServer executeCommand
    FINEST: thr#23 Executing command script run('cd /') ; run('configuration') ; run('san') ; run('initiators') ; run('iscsi') ; run('groups') ; run('create') ; run('set name=vdi:2a95e6efffff.4beb10d0') ; run('set initiators=iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout) on host 10.72.169.169:22 for user root
    Jun 17, 2010 3:43:01 PM com.sun.vda.service.vbox.SshServer executeCommand
    FINEST: thr#23 ...
    Jun 17, 2010 3:43:01 PM com.sun.vda.service.storage.Initiator$CommitThis doAction
    FINEST: thr#23 Committing initiator com.sun.vda.service.storage.Initiator@16708cc
    Jun 17, 2010 3:43:01 PM com.sun.vda.service.persistence.PersistenceImpl commit
    FINEST: thr#23 Committing object [id=null] class com.sun.vda.service.persistence.PersistentStorageInitiator
    Jun 17, 2010 3:43:01 PM com.sun.vda.service.persistence.PersistentJob commit
    FINEST: thr#23 Committing object [id=192] class com.sun.vda.service.persistence.PersistentJob
    Jun 17, 2010 3:43:01 PM com.sun.vda.service.core.jobs.Job run
    FINE: thr#23 Job[192]: STORAGE_ACTION for [Solaris 10, STORAGE_AND_ISCSI_RESSOURCE: INITIATOR:iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0] finished.
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#22 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#22 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.storage.Volume$CommitShareData doAction
    FINEST: thr#22 Committing target:com.sun.vda.service.storage.Target@65e initiator:com.sun.vda.service.storage.Initiator@6bc lun:-1
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceManager retry
    FINEST: thr#22 Error committing target: com.sun.vda.service.storage.Target@65e Trying again ...
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceImpl update
    FINEST: thr#22 Updating object [id=41] class com.sun.vda.service.persistence.PersistentStorageVolume
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.storage.Volume$CommitShareData doAction
    FINEST: thr#22 Committing target:com.sun.vda.service.storage.Target@65e initiator:com.sun.vda.service.storage.Initiator@6bc lun:-1
    Jun 17, 2010 3:43:02 PM com.sun.vda.service.vbox.SshServer executeCommand
    FINEST: thr#22 Executing command script run('cd /') ; run('shares') ;run('select sunvdi') ; run('select ec0263c0-eaef-4636-a2ac-96046e4fc81e') ; run('set writecache=true') ; run('set status=online') ; run('set targetgroup=vdi:exlbox2mm0szsgnr7ed-') ; run('set initiatorgroup=vdi:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout) on host 10.72.169.169:22 for user root
    Jun 17, 2010 3:43:04 PM com.sun.vda.service.vbox.SshServer executeCommand

  • Error 1074395241: The template descriptor does not contain data required for rotation-invariant matching.

    Hello all,
    I am using the IMAQ Match Pattern 4 to detect the rotation angle of a template image. However, it shows the error: "Error 1074395241: The template descriptor does not contain data required for rotation-invariant matching." What is the problem exactly? How to solve this? The details are explained below.
    My project is a little bit complicated. Part of the block diagram containing the IMAQ Match Pattern 4 is shown below:
    The source image is a series of frames of images read from an AVI video (I used a for loop to process the images frame by frame). The template image is a selected region of the first frame. So it means, the user selected the object of ineterst in the first frame of the video, and in each of the following frames, we need to find the matched object of interest & determine its rotation angle. When I run the block diagram shown above, it does not have any error. However, it shows the rotation angle as zero no matter what it "really" is. Therefore, I changed the block diagram by adding the parameters, shown below:
    But in this case, when I run it, it shows the error that I have indicated in the subject line.
    If you need more details about my project to identify the problem, please let me know.
    Thanks in advance.
    Solved!
    Go to Solution.

    -Please go through pattern matching example which comes along with labview fiirst
    Go to labview Help>>Find Examples and you can search for example.
    -You have create template with angle range and what type of pattern matching you want use.
    -For this you have to use IMAQ Learn Pattern before using IMAQ Match Pattern 4
    Refer :http://zone.ni.com/reference/en-XX/help/370281U-01/imaqvision/imaq_match_pattern_4/
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • PO PDF errors when using custom RTF Template, but works with custom xsl

    Hi,
    I have done following set up steps for PO PDF
    Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
    setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your new template.
    But with the RTF template the PO Output for communication completes with error. However when I use custom XSL-FO style sheet, it works.
    Can anyone help me how I can make my RTF work? When click on the preview of the template, it shows the PDF output though. Am I missing any other set up steps? Your help is greatly appreciated.
    Thanks,
    Sharmila

    I think the only way to have control over the html output is to enclose the tags or any information within a borderless table and align the text and table as necessary...
    Thanks,
    Bipuser

  • After downloading and creating the MSI for Lightroom, the install fails with no errors reported. Checking compatability, windows comes back with   not compatible on both win 7 and 8.1.

    Installer MSI fails with no error or message of any kind. Tested compatability with the windows compatability check and it comes back as not compatible. What now?

    Hans,
    It is a known problem on Windows 98, Windows and Windows 2000 if you are using Intel Pentium 4 processor with Sun JRE and Symantec JIT. I had the same problem with Windows 98. Oracle has a patch. Please see Note:131299.1 on metalink for details.

  • Compilation error with sun workshop 6u2

    hi,
    i try to compile a systemc code with sun work shop 6u2 but the compilation generate this error
    Beginning generate/compile...
    Compilation may take a few seconds... please wait.......ucbcc: Warning: Option -YP,:/usr/ucblib:/usr/ensta/pack/SunWorkShop-6u2/SUNWspro/WS6U2/bin/../lib:/usr/ensta/pack/SunWorkShop-6u2/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
    ucbcc: Invalid input file name /home/uei/chtourou/cadence/soflib/fir/pmb/spb.C, no output generated for this file.
    ucbcc: Warning: Option -YP,:/usr/ucblib:/usr/ensta/pack/SunWorkShop-6u2/SUNWspro/WS6U2/bin/../lib:/usr/ensta/pack/SunWorkShop-6u2/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
    ld: warning: option -YP appears more than once, first setting taken
    ld: fatal: file /home/uei/chtourou/cadence/soflib/fir/pmb/spb_sun4v.o: cannot open file: No such file or directory
    ld: fatal: File processing errors. No output written to /home/uei/chtourou/cadence/soflib/fir/pmb/spb_sun4v.so
    system-002: Error: The following system command failed.
    CC -G -o /home/uei/chtourou/cadence/soflib/fir/pmb/spb_sun4v.so /home/uei/chtourou/cadence/soflib/fir/pmb/spb_sun4v.o `/home/uei/chtourou/tmp/systemc-2.0.1/spwSystemC/src/libList.csh.${PLATFORM_DIR}` -lc
    leaf-057: Error: Failed to compile the SPB wrapper for polymorphic leaf
    soflib/fir.pmb
    Failed SPB Wrapper generation for soflib/fir with 2 Error(s), 0 Warning(s) and 0 Note(s).
    Compilation Failed .
    thank you very much

    this compilation it's made from cadence spw and it use the sun workshop,so i don't know options of compilation
    my os is the SUNOS 5.8
    any help will be usefull
    thank you

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

  • Getting HTTP Status 500 error with sun one application server...

    Hi,
    I am trying to develop a sample application and try to run with sun one application server. I followed the tutorial. My application client is working fine. But my web client is producing the following error. I think we don't need to install Tomcat seperately when we have the application server or do I have to... any suggestions...
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and access path.
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    Sun-Java-System/Application-Server-PE-8.0

    You do not need to install Tomcat. SJSAS contains a web container. The error you are seeing could be caused by a few reasons. There are many previous threads on this issue, perhaps you could search the forum. I used the following search term, "Unable to compile class for JSP" ,and got many hits.
    http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=J2EE+Software+Development+Kit+%28J2EE+SDK%29&qp=forum%3A136&qt=Unable+to+compile+class+for+JSP

  • Illegal register: "icc" : syntax error with  Sun C 5.8 compiler

    I wanted to compile my C file with compiler option "cc -c -Xc -mt -fast -xarch=amd64" on Solaris 10 amd64 machine but it failed with following error -
    Assembler: abc.c
    "/tmp/GAAOBain6", line 819 : Illegal register: "icc"
    "/tmp/GAAOBain6", line 819 : Syntax error
    Near line: " orq %icc,%r8 ;/ line : 210"
    "/tmp/GAAOBain6", line 852 : Illegal register: "icc"
    "/tmp/GAAOBain6", line 852 : Syntax error
    Near line: " movzwq %icc,%r9 ;/ line : 215"
    cc: ube failed for abc.c
    *** Error code 2
    I am using following sun C compiler -
    /SS11/SUNWspro/bin/cc -V
    cc: Sun C 5.8 Patch 121016-02 2006/03/31
    Do anybody has idea about this issue?
    Thanks
    Sgupta

    Thanks Boris for your help.
    My abc.c file is following -
    struct struct_1 {
    unsigned type:8;
    unsigned level:5;
    unsigned seen:1;
    unsigned pad:2;
    unsigned length:16;
    void sample (unsigned char type)
    struct struct_1 *q;
    /*** Allocate and assign pBody here **/
    q->type = type;
    q->length = type;
    ==========================================
    compiling this file with following option gives the error in Sol-10 amd64 -
    /SS11/SUNWspro/bin/cc -c -Xc -mt -fast -xarch=amd64 abc.c
    But compiling without "-fast" options work fine.
    Thanks
    Sgupta

  • Printing multiple copies of output for A template with different page Heade

    Hi Vetri,
    I am trying for a similar requirement as explained in the link below
    http://winrichman.blogspot.com/2008/09/multiple-invoice-copy.html
    I am facing two problems with 80% of the work done.
    I mailed the template and xml to your id.
    Please help in solving the problem
    Best Regards,
    Mahi

    I found the issue with my report. I gave the syntax wrong when ending for-each for group. Using Variables no longer gives error and the issue is resolved with syntax as below.
    Header Information
    <?for-each-group@section: /yyy/LIST_G_xxx/xxx; COPIES?>
    <?variable@incontext:G1;current-group()?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,current-group()/COPIES,1)?>
    <?end for-each?>
    <?end for-each-group?>
    <?start:body?>
    Here goes the body
    <?start:last-page:body?> <?end body?>
    I inserted a page break here through word tools
    Here goes special instructions which only prints on last page
    <?end body?>
    But... I am still working on a related issue to print the Copy Number on the Header. For example if the Copy being printed is 1 it should print Set#1 on header, for 2nd Copy Set#2 and etc.
    I saw in some post that the variable can not be used out of Loop. Can someone help how to accomplish this.
    TIA
    Neeraja

  • ITunes installation error: does not have program associated with it for performing this action

    Repeated tries to install iTunes continues to fail. Installing on Acer laptop using Windows 7.
    Error: does not have program associated with it for performing this action
    We have done the following: open Default programs, clicked associate a file type, clicked on change program button and selected a program to open with and clicked OK/enter.
    The installation continues. we get to the finish window; click finish.
    Next error: iTunes has been installed incorrectly.
    So, what do we do to get iTunes working?
    Thank you.

    Hi normeagle,
    Welcome to Apple Support Communities.
    You may find this article helpful for troubleshooting your iTunes installation:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Best,
    Jeremy

  • Task 0085 for parallel SID assignment terminated with errors

    Hi,
    While activating the ODS object we are getting the following error
    Task 0085 for parallel SID assignment terminated with errors
    Can anyone help me on this issue.
    Thanks
    Sheela Datla

    Hi Sheela,
    Does the problem happen with activating the ODS object (definition) itself or with activating the data in the
    ODS? I think that there must be other errors apart from Task 0085. At the time of the error you should check in
    sm21 and st22 for additional error messages and dumps. If the problem is with the activation of data in the ODS
    you should also check sm37 for the job that is created for the ODS activation , you may find more detailed
    information in the job log. You should also check the activation step in the 'Details' TAB in the monitor for
    the load there may also be more detailed information here.
    In transaction rscusta2 (ODS customizing) you should try the following setting for the activation:
    No. of Par. Proc.    3          
    Min. No. Data Recs.  10000     
    Wait Time in Sec.      600
    Before changing the values you have in RSCUSTA2 please take note of the values you have already in
    case you want to change them back.
    Best Regards,
    Des.

  • I am trying to update my iPhone software but to do so I needed to update iTunes.  When I try to do that, I keep getting this error message" "There is a problem with this Windows Installer Package. A program required for this install to complete could not

    I am trying to update my iPhone software but to do so I needed to update iTunes.  When I try to do that, I keep getting this error message" "There is a problem with this Windows Installer Package. A program required for this install to complete could not....

    Try the following user tip:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • HT1926 can't install quicktime or itunes on windows 7 get the error message There is a problem with the windows installer package. A program required for this install to complete could not be run

    please help. Can't install quictime player or itunes on windows 7. Get the error message There is a problem with the windows installer package. A program required for this install to complete could not be run. Have followed all the steps suggested and still no luck.

    thank you for trying to help. I do not have apple software update on my computer. I have tried to install several programs so i could install it but every installation will not finish and rolls back and says no changes were made to my computer so i can't install the update. I even tried to force install as administrator but nothing works. Any help would be greatly appreciated. I have windows 7 64 bit.

Maybe you are looking for

  • Problem with autoscale on 3d graph (new)

    Hi I have a problem with scaling on the 3D graph (it doesn't work, see attached figures). I've read about the bugs found but this one is not mentioned. Do you guys have any suggestions ? (or I am doing something wrong ?) thanks Attachments: 3d_image.

  • Ref. Oprn. Set not found while crreating - REWORK ORDER

    Dear Prasobh & Nandha ,      Errors in Routing & Referance operation set are cleared.While confirming & saving rework the system propses the order creation after specifying the referance operation set xxxxxxxx & S.Iam getting the same error Referance

  • Mercury playback is always greyed out in Quadro FX 4800 + GTX 260

    Hi guys, As the title mentioned above, I have two cards installed on Win 7 64-bits. The Quadro FX 4800 is for main video card, and the GTX 260 is for the Physx only. I tried to manully assign the Physx to FX 4800 but it didn't work. Could you guys pl

  • Conversion of FG into Scrap

    Dear All, Conversion of FG into Scrap. one step process (mvt. type 309) Accounting entry    scrap inventory a/c dr gain /loss on scrapping a/c dr. To, FG inventory a/c cr. two step process scrapping through 551 movt type - gain/loss on scrapping a/c

  • Publish and preview issues

    When I publish or preview a Captivate 6 project, some of the placeholders change from white to black. Any explanation?