Lint -Ncheck: wrong warning [E_VALUE_TYPE] in Studio 6, 11, 12

lint -Ncheck will produce an obviously wrong warning about an "inconsistent use of a value type as enum" if it sees the following simple piece of valid C code:
struct AB {
    enum { a } enum_A;
    enum { b } enum_B;
static void func(struct AB* ab) {
    ab->enum_A = a;
    ab->enum_B = b;
    if( ab->enum_A == a ) return;
void main() {
    struct AB ab;
    func(&ab);
}Can anyone reproduce this?
# lint -s -errtags -Ncheck bug.c
"bug.c", line 10: warning: inconsistent use of a value type as enum
        ab.enum_A defined at bug.c(14)  bug.c(10) :: bug.c(8) set as enum
        call stack:
                main()                , bug.c(15)
                func()                , bug.c(8)
        call stack:
                main()                , bug.c(15)
                func()                , bug.c(10)
(E_VALUE_TYPE)
[...]

Thanks for reporting the issue.
Filed it as 6637282. Should be visible through bugs.sun.com in 24h.
regards,
__Fedor.

Similar Messages

  • 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

  • Debugger stops in wrong lines in Sun Studio 8

    Hallo,
    I'm trying to use Java Studio Enterprise 8 in Suse 9 and couldn't understand why debugger is showing wrong lines in standart editor. Project rebuilding doesn't help.
    Raitis

    There was a bug filed for this issue (http://www.netbeans.org/issues/show_bug.cgi?id=46621) but that was fixed in nb4 and hence should be fixed in jse8 (based on nb41); unless the fix, for some reason, does not work on suse.
    - Does 'Clean and Build' project help?
    - Does restarting the ide help? Or do you see the issue even after the ide is stopped and restarted?

  • Wrong warning? to open with Reader (9.3.x or higher) "This PDF form requires a newer version of ..."

    Hello
    I have a problem with my form, when opened with Adobe Reader Version 9.3.0.148 (included) or higher Reader systematically shows the annoying message "This PDF form requires a newer version of Adobe Reader ...".
    I work with 3 versions of each form:
    1) Dynamic PDF Form XDP: Generated with Adobe Designer ES 8.2, (target version "Acrobat and Adobe Reader 8.0 or later. "
    XDP form has no "Warings"
    XFA-Template:
    2) PDF Form, generated from the XDP form of point 1), using Adobe LC Forms ES2 "renderXDPForm" method.
    3) Flatten PDF, generated from the PDF form, resulting in point 2) value, using Adobe LC Assembler ES2.
    DDX:
    I have generated 3 different PDF rendering, changing only the "target version":
    a.1 PDFFormRenderSpec.setAcrobatVersion (AcrobatVersion.Acrobat_6): MyForm-ES-AcroVersion6.pdf.
    b.1 PDFFormRenderSpec.setAcrobatVersion (AcrobatVersion.Acrobat_7_0_5): MyForm-ES-AcroVersion7.pdf
    c.1 PDFFormRenderSpec.setAcrobatVersion (AcrobatVersion.Acrobat_8): MyForm-ES-AcroVersion8.pdf
    Of all that I've created a flat version using Assembler:
    a.2: MyForm-ES-AcroVersion6-flatten.pdf
    b.2: MyForm-ES-AcroVersion7-flatten.pdf
    c.2: MyForm-ES-AcroVersion8-flatten.pdf
    Attach all forms of work[zip 4 download].
    Well ... I tried to open all forms generated (six) with versions of Adobe Reader from 8.1.0 to 10.0.1.434 X and the findings are that the annoying warning message is displayed only with the flattened forms and from version 9.3 .0.148 (included) or higher.
    Table of test, where
    OK= No message at open.
    Err= Message displayed.
    I do not understand or just logical that the most current versions (and higher) Reader is precisely this message to appear at what may be due? What's happening?
    Why the message is taught only in the flattened forms?
    How I can solve this problem?
    Thanks.

    I do not use the method "renderPDFForm" (at least not explicitly), instead use the "renderXDPForm (...)".
    I added the XDP form the zip (I forgot): download from here!
    And the only parameter that you can tell this method over the "target" of the resulting PDF is "com.adobe.idp.services.PDFFormRenderSpec. "
    /* Common to all generated PDF */
    com.adobe.idp.services.PDFFormRenderSpec renderSpec= new com.adobe.idp.services.PDFFormRenderSpec();
    renderSpec.setLinearizedPDF(true);
    renderSpec.setLocale("es_ES");
    renderSpec.setRenderAtClient(RenderAtClient.No);
    renderSpec.setCacheEnabled(false);
    renderSpec.setStandAlone(true);
    /* Target version 8 o superior: Usede ONLY to generate "MyForm-ES-AcroVersion8.pdf" */
    renderSpec.setAcrobatVersion(AcrobatVersion.Acrobat_8);
    /* Target version 7.0.5 o superior: Usede ONLY to generate "MyForm-ES-AcroVersion7.pdf"  */
    renderSpec.setAcrobatVersion(AcrobatVersion.Acrobat_7_0_5);
    /* Target version 6 o superior: Usede ONLY to generate "MyForm-ES-AcroVersion6.pdf"  */
    renderSpec.setAcrobatVersion(AcrobatVersion.Acrobat_6);
    After this, process PDF forms resulting in Assembler.
    I tried also NO explicitly assign the "AcroVersion" ... and in such cases, the resulting AcroVersion indicated corresponds to the time of design (Adobe Designer, File / Form Properties / Default / Target Version), and in such cases the resulting PDF, also displays the warning message.
    I do not know if I answered your question.
    Any idea?

  • 12.4 Beta C++ : Wrong warning  when using  outer try block.

    Following program
    int main(int argc, char ** argv) try {} catch(...) {}
    compiled with:
    CC t.cc +w
    gives
    "t.cc", line 1: Warning: argc hides the same name in an outer scope.
    "t.cc", line 1: Warning: argv hides the same name in an outer scope.
    int main(int argc, char ** argv)  { try {} catch(...) {} }
    does not give any warnings. )

    I always wonder how people are easily able to find bugs that we miss with our millions of tests.
    Thanks for reporting.
    18535152 - spurious hiding warning on function with func-try-block
    regards,
    __Fedor.

  • Why does Sun Studio need NetBeans?

    Hi!
    Why does Sun Studio need a NetBeans installation for running successfully? If I am not too wrong, I believe Sun Studio has the same relation to the NetBeans project as Star Office has to OpenOffice.org?
    Now, coming to the solution. I am using Sun Studio 12 on Solaris:
    amit@opensolaris:~$ sunstudio --netbeanshome /export/home/amit/netbeans-6.5beta/bin/
    Validating NetBeans IDE at: "/export/home/amit/netbeans-6.5beta/bin/"
    Sun Studio is unable to find a supported version of the NetBeans IDE at the specified location.
    Sun Studio requires a NetBeans IDE version 5.5.1 with NetBeans C/C++ Development Pack version 5.5.1
    installed. Sun Studio looks for a valid NetBeans IDE installation in the following order:
    1) Location specified with --netbeanshome command line option
    2) At /opt/netbeans-5.5.1 location, if exists
    3) At /opt/SUNWspro/../netbeans-5.5.1 location, if exists
    4) At /opt/SUNWspro/../../netbeans-5.5.1 location, if exists
    Please run the System Preparation Tool (prepare_system), if available, to set up your environment.
    As is apparent, I have a NetBeans 6.5 Beta build.
    What is the solution?
    Thanks,
    Amit

    The realtionship from SunStudio to NetBEans is more than a line from A to B.
    Ideally SunStudio releases would track NetBeans releases.
    However, NetBeans evolves at a rather fast pace. At the same time SunStudio
    also contains compilers which have their own products to coordinate with ...
    OS releases, new SPARC chips and Sun system releases.
    These releases never coincide so SunStudio tends to lag in it's dependencies
    on NetBeans and as a result ships with it's own copy.
    We used to actually build our own, sometimes tweaked, NetBeans for SunStudio.
    Weve made some progress in that we just pick released NetBeans bits and re-ship them.
    We're working on the ability for SunStudio to use NetBeanses which are already
    installed.
    To make older SunStudios use newer NetBeans is a tougher proposition but
    we're dedicating grey cells to that matter as well.
    If you really want a NB 6.5 based SunStudio wait a bit. We'll be releasing
    SunStudio SX based on NB 6.5 shortly.

  • Deploying DC: warning in opening zip file

    Hi,
    I got this warning from Dev studio DC build on 04s SP08:
    packDeployArchive:
    [srcpacker] Creating source archive
    [srcpacker] Adding source archive from xxxxxxxx
    [srcpacker] WARNING: Could not open ZIP file C:\Documents and Settings\xxxxx\.dtc\LocalDevelopment\t\21FBE3BC3185FEB251FDBE23923FAB55\wda-pp\src\java\src.zip.HASH : error in opening zip file
    It's pointing to a HASH file not a zip file. The zip file 'src.zip' opens fine if I open it with explorer. I haven't tried if the hash is actually correct for the file or not.
    What does this mean then ? Should I care about it ?
    Jari

    Jari,
         I encounter the same problem. Have you got a solution yet?
    Helen

  • Bitrate Too high! Warning in DVDSP?

    Bitrate Too high! Warning in DVDSP?
    I'm somewhat confused. I've encoded to MPEG2 ready for DVD Studio Pro using both Compressor and Episode Pro.
    Settings are: Two-Pass, Aiming for 4.500 with Max Peak set to 6.500.
    These settings are well within Compressor and Episode settings.
    Yet when I go to Build/Format in DVD Studio Pro the Log comes back with a "Bitrate too high!" warning.
    I don't really get this. If DVD Studio Pro can't handle these bitrates, why are they in Compressor as options?
    I did a successful burn yesterday using these settings, the only thing I changed was I added audio to one of the tracks that is just 3 minutes long.
    Total size of DVD is about 5GB onto dual layer.
    Any advice on Bitrate settings so I don't get the "Bitrate Too High!" warning in DVD Studio Pro when I go to Build/Format?
    What is a good recommended "Aim For Bitrate" and "Max Bitrate" for 2-pass MPEG2 encodes?
    Thanks guys.

    There were reports that Compressor sometimes would spike past what was set, though with your AC3 settings, even with two audio tracks, and the rates you selected it would seem to be safe
    This app is suppossed to read spikes
    http://www.videohelp.com/tools/MacDVDBitrateParanoia
    But it has given me strange results
    Also digiami.com (good software but $$$) also reads rates
    Is your second audio file also an aif? If you remove it does the disk then build without error? You can try deleting MPEG/PAR files and/or repair permissions or delete prefs to see if it helps

  • Can't switch user in Visual Studio 2013

     
    I followed the instructions described in setenv  /resetuserdata. It waited a minute. When I tried again it failed. Same problem.Any ideas what can go wrong. Same Virtual Studio 2013?

    Hi sealsplash,
    From your description, could you please tell me what is setenv  /resetuserdata? Is it the devenv /resetuserdata?
    (1)If yes, I suggest you try to the following steps to check this issue.
    1. Close Visual Studio
    2. Start the Developer Command Prompt from Visual Studio Tools installed with Visual Studio as an administrator.
    3. Executing the command  'devenv /resetuserdata' in command line check this issue again.
    If the above suggestion still could not help you, I suggest you try the Mark's suggestion to delete the registry key check this issue again.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/d2ef5828-ce0b-405a-b0b8-9809fc8ac0f7/cant-switch-user-in-visual-studio-2013?forum=visualstudiogeneral
    (2) If no, please provide me more detailed message about your issue.
    Hope it help you!
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How bring up the table?

    A designer made this page for me:
    http://www.kenweingart.com/rates.htm
    What's great is that if I have more text to type the table below just pushes down.
    My problem now is what if I now have less text?
    I've tried grabbing the handles below the MISCELLANEOUS NOTES, section to elminate the white space at bottom and can't get it all to push up.
    Here is code -- thanks:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
    <title>rates</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></head><body bgcolor="#FFFFFF" background="webpage" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <div align="center">
      <table width="861" height="1449" border="3" cellpadding="0" cellspacing="0" bordercolor="#868787">
        <tbody><tr>
          <td width="853" height="1443" valign="top"><table width="853" height="2390" border="0" cellpadding="0" cellspacing="0" bordercolor="#868787" id="Table_01">
              <tbody><tr>
                <td height="29" colspan="10" nowrap="nowrap" bgcolor="#868787"><div align="center"><img src="copyscape_banners-cropped.jpg" width="234" height="17" /></div></td>
              </tr>
              <tr>
                <td height="13" colspan="10" nowrap="nowrap" bgcolor="#FFFFFF"></td>
              </tr>
              <tr>
                <td rowspan="2" valign="top"><img src="rates-girl_topleft.jpg" width="110" height="169" alt=""></td>
                <td colspan="2" rowspan="2" nowrap="nowrap"></td>
                <td height="110" colspan="5" valign="bottom"><p><strong><font size="2" face="Arial, Helvetica, sans-serif"><br>
                  </font></strong><strong><font size="2" face="Arial, Helvetica, sans-serif"><br>
                </font></strong></p>          </td>
                <td colspan="2" align="right" valign="top"><img src="rates-logo.jpg" width="226" height="109" alt=""></td>
              </tr>
              <tr>
                <td height="85" colspan="7" valign="top"><br>
                  <table width="700" border="0" cellpadding="0" cellspacing="0">
                    <tbody><tr>
                      <td width="707" align="left" valign="top"> </td>
                    </tr>
                  </tbody></table>          
                  <div align="center"></div></td>
              </tr>
              <tr>
                <td height="190" colspan="12" align="right" valign="top"><table width="816" border="0" cellpadding="0" cellspacing="0">
                  <tbody><tr>
                    <td width="552" valign="top"><p><font size="2" face="Arial, Helvetica, sans-serif"><strong>GOALS AND OBJECTIVES</strong><br>
                          <br>
                          <span class="text">The main goal of the shoot is to get great
                            photos in a relaxing and fun environment, which will enhance
                            your portfolio and hopefully get the phone ringing for you.
                            What we are trying to achieve are photos that capture how you
                            would look coming through the door to your audition -- photos
                            that show your personality at its best: spontaneous, relaxed,
                            natural and elegant.</span></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text"> Photos
                            should have an interesting composition and spark that
                            make them compelling, something that stands out from
                            the other photos of people in your age range and physical
                            type. Photo shoots are a creative process, like acting,
                            and should be fun. Remember to bring your favorite CDs
                            to the shoot.</span></font></p></td>
                      <td width="15"> </td>
                      <td width="235" align="right" valign="top"><img src="rates-BW-horizontal_11.jpg" width="235" height="172" alt=""></td>
                    </tr>
                </tbody></table>          </td>
              </tr>
              <tr>
                <td height="1301" colspan="2" valign="top"><img src="rates-test.jpg" width="113" height="706" /></td>
                <td colspan="8" align="center" valign="top"><table width="694" border="0" cellpadding="0" cellspacing="0">
                  <tbody><tr>
                    <td width="694" height="1265" valign="top"><p><font size="2" face="Arial, Helvetica, sans-serif"><strong>COST
                            OF THE DIGITAL SHOOT</strong></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif">For fashion,
                          beauty, lifestyle, corporate, and music, or if you are
                          an advertising, editorial, or other type of company client,
                          please visit <a href="http://www.weingartbeauty.com/" target="_blank">www.weingartbeauty.com</a> &amp; <a href="http://www.weingartphoto.com/" target="_blank">www.weingartphoto.com</a>. </font></p>
                      <p><strong><font size="2">&bull; <font face="Arial, Helvetica, sans-serif"><span class="text">Individual
                                rates starting from $275.00 -- ie back to recession
                                1992 prices!</span> </font></font></strong></p>
                      <p><font size="2"><strong>&bull;<font face="Arial, Helvetica, sans-serif"><span class="text"> For
                                more current rate info, please fill out the <a href="http://www.weingartheadshots.com/#mi=1&pt=0&pi=2&p=-1&a=0&at=0" target="_blank">CONTACT
                                FORM</a>, call </span></font><font face="Arial, Helvetica, sans-serif" class="text">LA
                                (310) 395-4613/ NY(800) 754-9792</font><font face="Arial, Helvetica, sans-serif"><span class="text"> or
                                send an <a href="mailto:[email protected]">e-mail</a>.
                                If you send the form, it's also best to call as well.
                                Please leave all your contact phone numbers.</span></font> <font face="Arial, Helvetica, sans-serif"><span class="text">I
                                can better customize a rate for anyone who contacts
                                me, especially acting beginners. </span>The studio
                                can tailor a package for all.</font></strong></font></p>
                      <p><font size="2"><strong>&bull;<font face="Arial, Helvetica, sans-serif"> Don't
                              be afraid to fill out the contact form or call. We
                              can often match the cheaper headshot photographers
                              or come close -- depending on the package and day.
                              It's very personal here -- not a factory style operation.
                              We generally only shoot one person per day. </font></strong></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text"> <strong>&bull;
                        Keep in mind, that if it comes out well, photos from a successful
                                photo session can last anywhere from 1 to 5 years.
                                You will not regret the extra investment since you
                                will easily recoup your fees with one good job.</strong></span></font></p>
                      <p><strong><font size="2" face="Arial, Helvetica, sans-serif">&bull; You
                            will get the best quality in the country -- remember
                            -- it's better to do a little with an A level photographer
                            than a lot with a B or C level one.</font> <font size="2" face="Arial, Helvetica, sans-serif"><span class="text">When
                            it comes to photography, quality is a lot more important
                            than quantity!</span></font></strong></p>
                      <p>&bull; <font size="2" face="Arial, Helvetica, sans-serif">For
                          all returning actor clients, please note that I have a
                          special &ldquo;refresh&rdquo; session rate. You can
                          use this special two-look shoot throughout your career
                          to quickly capture your new look without buying a full
                          session. Please call for the current price!</font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><strong>STUDIO
                        VS. LOCATION</strong></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif">Not many
                          photographers do both well, but that choice is what you
                          both want and need., Many photographers don&rsquo;t want
                          to bother with location shooting since it can involve problems
                          with the wind, hair issues, and even squinting, yet the
                          benefit is often greater translucent light with creamy
                          and interesting backgrounds. </font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif">Conversely,
                          many photographers don&rsquo;t know how to master light
                          in studio. Yet when done well, studio shots give you crisp,
                          sharp eyes and compelling expressions with beautiful white,
                          grey, and black backdrops. An artistic photographer can
                          also manipulate many types of studio lighting, from soft
                          and flat to bright and striking, some with moody dramatic
                          shadows and textures. Regardless, the key is maintaining
                          options, and that is why you want someone who can do it
                          all well. </font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><strong>HORIZONTAL
                            VS. VERTICAL</strong></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif">Once
                          again, it&rsquo;s best to use a photographer who can do
                          both. Horizontal offers the painterly and arty look that
                          catches people&rsquo;s imagination, while verticals are
                          the industry standard and look great on the web. It&rsquo;s
                          all about options, variety, and maximizing your choices. Regardless, as a photographer who has also shot for dozens
                        of magazines, I can offer you the unique look and experience
                        of being photographed in a personal style that fits your
                        own precise needs.</font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><strong>MISCELLANEOUS
                            NOTES:</strong></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text">&bull; Digital
                        files burned to CD at the end of the shoot to take
                        home are included with each package. The files provide
                        you with the ability to go either color or black
                        and white. A post session consultation to review
                        images is included with each package.</span></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text">&bull; LCD
                        readout preview is included. This is the chance to decide
                        if any of the choices made -- about hair, clothes etc --
                        should be kept, adjusted,or eliminated, before we shoot.</span></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text">&bull; Later, I will also tell you where to go to get reproductions. The reproduction
                        house does the typeset, borders, etc. Reproductions are made directly from the
                        digital files with no generation loss. (about 50&cent; to 90&cent; each)</span></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text">&bull; The
                        hair and make up artist is outstanding, natural style, and
                        stays the entire shoot. Please ask for what you want and
                        check the mirror and LCD to see that you are happy. Any discrepancies
                        will be gladly adjusted. Remember, that any suggestion you
                        have about anything must be voiced at the time of the shoot,
                        not after the shoot.</span></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text"> &bull;
                            Women: If you hire a hair and make-up, please come with
                            no make-up on. Have your hair as close as possible to
                            how you wear it at an audition. Hair and make up is not
                            mandatory, and you are welcome to bring your own artist
                            or do your own. </span></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif">&bull;Note:
                          If you're interested, we may be able to assist you in finding
                          appropriate acting and modeling representation. </font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif">&bull; We
                          strongly recommend a live retouching session with you and
                          your photographer working together. Please inquire about
                          the current studio rates for this service.</font><br />
                            <br />
                            <font size="2" face="Arial, Helvetica, sans-serif">&bull; Turnaround
                            for digital headshot shoots is a usually 3-5 days. Rush
                            service is available, please inquire about the current
                            rates. </font></p>                  </td>
                    </tr>
                </tbody></table>          </td>
              </tr>
              <tr>
                <td height="194" colspan="11" align="right" valign="top"><table width="815" border="0" cellpadding="0" cellspacing="0">
                  <tbody><tr>
                    <td width="558" valign="top"><p><font size="2" face="Arial, Helvetica, sans-serif"><strong>TO BOOK A SHOOT</strong></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text">&bull; To
                        book shoot, a retainer fee will be left for one half
                        the total. Cash or money order is preferred, but I am
                        now set up to accept all major credit cards if required.
                        There is a 3% card fee for payment by credit cards. The
                        balance will be paid at the end of the shoot. (All retainer
                        fees are non-refundable/non-transferable -- all sales
                        are final)</span></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text">&bull; Postponements must be made at least three business days prior to the shoot
                        date. After the shoot is booked, we will discuss in specific detail all key points
                        of shoot -- (lighting, clothes, commercial vs. legit. etc.)</span></font></p></td>
                      <td width="257" align="right" valign="top"><img src="rates-nduta-greg_18.jpg" width="235" height="175" alt=""></td>
                    </tr>
                </tbody></table>          </td>
              </tr>
              <tr>
                <td colspan="4" valign="top"><img src="rates-carl-19.jpg" width="256" height="172" alt=""></td>
                <td height="193" colspan="6" valign="top"><table width="564" border="0">
                  <tbody><tr>
                    <td width="558"><p><font size="2" face="Arial, Helvetica, sans-serif"><strong>WHAT TO WEAR</strong><br>
                          <br>
                          <span class="text">• Avoid noisy patterns, stripes, logos
                          etc. Tops should have interesting neck lines and be very
                          dark or very light
                            for separation. Medium tones and pastels are not as good.
                            Textures in clothes are good (e.g. ribbed)</span></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text">• The tops will determine the look of the shoot. Bring a variety of necklines,
                        textures, light and dark fabrics. Also, include light and dark undergarments
                        with no textures. Feel free to bring what you feel most comfortable in.</span></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text">• For the bottom, one good pair of blue jeans, black jeans, black slacks and
                        black shoes is all you need.</span></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><span class="text">• If you have glasses, please be prepared take out the lenses or to bring an
                        extra frame without the lenses.</span></font></p></td>
                    </tr>
                </tbody></table>            </td>
              </tr>
              <tr>
                <td colspan="9" align="right" valign="top"><table width="684" border="0" cellpadding="0" cellspacing="0">
                  <tbody><tr>
                    <td width="684" height="205" valign="top"><p><font size="2"><strong><font face="Arial, Helvetica, sans-serif">FOR FURTHER INFORMATION</font></strong><font face="Arial, Helvetica, sans-serif"><br>
                      <br>
                      <span class="text">If you have further questions or would like to come by to meet and see a full portfolio or book a shoot, please call </span></font><font size="2" face="Arial, Helvetica, sans-serif" class="text">LA
                      (310) 395-4613/ NY(800) 754-9792</font><font face="Arial, Helvetica, sans-serif"><span class="text"> or
                      send an <a href="mailto:[email protected]">e-mail</a>.
                      Please remember to include all of your phone numbers.<br>
                          All images copyright© of
                        the studio. </span></font></font></p>
                      <p><font size="2" face="Arial, Helvetica, sans-serif"><a href="teachers-acting-coach-school-los-angeles-LA.html">Link
                            for some great teachers/ coaches in the LA area.</a> (NY
                            teachers coming soon) </font></p>
                      <p class="text"><font size="2" face="Arial, Helvetica, sans-serif">Thank you &amp; Good Luck!</font></p>
                      <p class="text"><font size="2" face="Arial, Helvetica, sans-serif">*Note
                          on the copyscape notice. Dear artists: Please feel free
                          to print out my text and images (for reference use only--not
                          comp use). This is just a warning for other studios in
                          the U.S. and abroad to respect my copyrighted images and
                          text, which have, unfortunately, been copied without authorization
                          on other websites.</font></p></td>
                    </tr>
                </tbody></table></td>
                <td width="136" align="right" valign="top" nowrap="nowrap"><img src="rates-girl-on-grass_23.jpg" width="112" height="174" alt=""></td>
              </tr>
              <tr>
                <td width="112" nowrap="nowrap" bgcolor="#868787"><font color="#868787"> </font></td>
                <td width="3" nowrap="nowrap" bgcolor="#868787"><font color="#868787"> </font></td>
                <td width="12" nowrap="nowrap" bgcolor="#868787"><font color="#868787"> </font></td>
                <td width="154" nowrap="nowrap" bgcolor="#868787"><font color="#868787"> </font></td>
                <td width="220" nowrap="nowrap" bgcolor="#868787"><font color="#868787"><img src="copyscape_banners-cropped.jpg" width="234" height="17" /> </font></td>
                <td width="22" nowrap="nowrap" bgcolor="#868787"><font color="#868787"> </font></td>
                <td width="1" nowrap="nowrap" bgcolor="#868787"><font color="#868787"> </font></td>
                <td width="1" nowrap="nowrap" bgcolor="#868787"><font color="#868787"> </font></td>
                <td width="192" nowrap="nowrap" bgcolor="#868787"><font color="#868787"> </font></td>
                <td width="136" nowrap="nowrap" bgcolor="#868787"><font color="#868787"> </font></td>
              </tr>
          </tbody></table></td>
        </tr>
      </tbody></table>
    </div>
    </body></html>

    Your site was built using tables, whose sizes are defined in your site.
    If we look at your first table definition, we can see:
    <table width="861" height="1449" border="3" cellpadding="0" cellspacing="0" bordercolor="#868787">
    Your table has a width of 861 pixels and an overall height of 1449 pixels. Anything you put into that overall box must fit those dimensions, else
    it won't be visible. Anything you add above it will push everything down. You can redefine your sizing to let you edit more inside of the table elements.
    This is why, when you type in more text, things act weird. If you are in Dreamweaver, you must find the right cell to put your text into and then enter
    text there. Unfortunately, this is going to push things around, which were all lined up using tables. And this gets everything offset with respect to
    everything else in your website.
    And that is why everyone is saying, "Start Over!"
    I just inherited a website that has been put together using tables. I'm going to have to expend considerable effort in rewriting the entire design of the
    website because of that. because everything I intend to add to the pages on the site is going to need to be deconstructed in order to get it to work
    properly if I'm adding text and pictures that need to line up with each other.
    You need something done quick and dirty and the only way I can recommend you do that is to use Dreamweaver to show you the tables you have
    and put what you need in a new table that is defined above or below the tables you all ready have defined. Do that and then get back to someone here
    who knows how to make a website correctly to clean up your entire website and make it editable -- which will cost you some money, but it will be
    money well-spent.
    I like to quote this maxim: Good, Fast, Cheap. Pick any two. This works for website design. You can get it fast and cheap, but it won't be good. I
    think you may have chosen that route.

  • In the expression editor dialog box my TAB key doesn't function correctly

    This is bizarre behavior that seems to have started recently.
    In Visual Studio 2012, an SSRS project, any expression editor dialog:
    The tab key doesn't work right.
    Open the expression editor and:
    * I see a blinking cursor and I can type in the expression box.
    * If I hit the tab key, the cursor disappears and I cannot type.  I appear to lose focus in the editor but focus doesn't appear to go anywhere else in the dialog box.
    * If I hit the tab key a 2nd time, the cursor is still gone and I cannot type. 
    * If I hit the tab key a 3rd time, I can finally type again and note that I am now
    3 tabstops in.  In other words it seems like the tabs were working but I lost the ability to type anything until I "tab" 3 magical times. 
    I can work around this by hitting tab key then grabbing the mouse and clicking where the cursor SHOULD be which returns focus to the text area.
    Hopefully this image helps clarify:
    Anybody know what is wrong?
    Microsoft Visual Studio Professional 2012
    Version 11.0.61030.00 Update 4
    Microsoft .NET Framework
    Version 4.5.50709
    Installed Version: Professional
    LightSwitch for Visual Studio 2012   04938-004-0034007-02367
    Microsoft LightSwitch for Visual Studio 2012
    Office Developer Tools   04938-004-0034007-02367
    Microsoft Office Developer Tools
    Team Explorer for Visual Studio 2012   04938-004-0034007-02367
    Microsoft Team Explorer for Visual Studio 2012
    Visual Basic 2012   04938-004-0034007-02367
    Microsoft Visual Basic 2012
    Visual C# 2012   04938-004-0034007-02367
    Microsoft Visual C# 2012
    Visual C++ 2012   04938-004-0034007-02367
    Microsoft Visual C++ 2012
    Visual F# 2012   04938-004-0034007-02367
    Microsoft Visual F# 2012
    Visual Studio 2012 Code Analysis Spell Checker   04938-004-0034007-02367
    Microsoft® Visual Studio® 2012 Code Analysis Spell Checker
    Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
    The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
    Visual Studio 2012 SharePoint Developer Tools   04938-004-0034007-02367
    Microsoft Visual Studio 2012 SharePoint Developer Tools
    ASP.NET and Web Tools   2012.3.41009
    Microsoft Web Developer Tools contains the following components:
    Support for creating and opening ASP.NET web projects
    Browser Link: A communication channel between Visual Studio and browsers
    Editor extensions for HTML, CSS, and JavaScript
    Page Inspector: Inspection tool for ASP.NET web projects
    Scaffolding: A framework for building and running code generators
    Server Explorer extensions for Windows Azure Web Sites
    Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure
    Color Theme Designer   1.0
    Designer for creating new color themes
    NuGet Package Manager   2.8.50126.400
    NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
    PreEmptive Analytics Visualizer   1.0
    Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
    SQL Server Analysis Services   
    Microsoft SQL Server Analysis Services Designer 
    Version 11.0.3369.0
    SQL Server Data Tools   11.1.40706.0
    Microsoft SQL Server Data Tools
    SQL Server Integration Services   
    Microsoft SQL Server Integration Services Designer
    Version 11.0.3369.0
    SQL Server Reporting Services   
    Microsoft SQL Server Reporting Services Designers 
    Version 11.0.3369.0
    BIDSHelper
    BIDS Helper 2012 - An add-in to extend SQL Server Data Tools - Business Intelligence (SSDTBI formerly BI Development Studio)
    (c) 2014 Version 1.6.6.0
    http://www.codeplex.com/bidshelper
    SQL Prompt 6
    For more information about SQL Prompt, see the Red Gate website at
    http://www.red-gate.com
    For customer support, call 1-866-733-4283.
    Copyright © 2006–2009 Red Gate Software Ltd

    Hi Bostaevski,
    Thank you for posting in MSDN forum.
    According to your description, as you said that the cursor disappears and cannot type issue. It seems that the issue may be not Visual Studio the VS IDE issue.
    In addition, I find a similar thread about the
    Expression Editor Cursor Issue,
    please see:  
    http://www.beta.microsoft.com/VisualStudio/feedbackdetail/view/780682/vs-2012-rdlc-expression-editor-cursor-issue#.
    Therefore, I suggest you could also try to press alt with left and right arrow keys and check if it is works fine.
    Thnank for your understanding!
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • EJB 3.0 Web Service

    Hi!
    I tried to create a Web Service (through wizard) from existing EJB 3.0 Session Bean. Basicly, the wizard just added @WebService annotation to my existing code...
    Now, the problem is that simple methods like:
    @WebMethod
    public String helloWorld() {
      return "Hello World!";
    }works fine. Expect that if I use Local Interface for this Session Bean, the WSDL shows two helloWorld methods (and one is with exclamation icon showing some kind of problem with multiple methods with same name - but it is not true, I have one and the other one is just interface).
    But, when I want to expose my real business service methods like:
    @WebMethod
    public List<Employee> getEmployees() {
      return (List<Employee>)q.getResultList();
    }it doesn't work (the Web Service create wizard finishes ok but service doesn't work)! When I try "Test Web Service" (from Session Bean context-menu) or "Show WSDL for Web Service annotations" the error is thrown (Null pointer exception in WSDL).
    Basically, it looks to me that Web Service cannot use EJB Entities as parameters or results. Is this correct? I saw some examples on EJB 3.0 web services and there are entities routinely used as both input and output parameters.
    Can someone, please, explain me what I'm doing wrong here.
    Thanks in advance,
    Pedja
    P.S. In Web Service wizard, only SOAP 1.1 is enabled. How can I choose SOAP 1.2? And what EJB 3.0 bindings are in same context (SOAP 1.2 or EJB 3.0 bindings?)?

    Hi Frank,
    Most of those problems are resolved (NPE was due to Timestamp field, and two methods with the same name in WSDL because of not choosing to generate SEI in wizard, so the generated WSDL had one method from the Session bean and the other from it's Local interface). But, the errors should DEFINITELY be more descriptive.
    Does the wizard work correctly? I noticed plenty of "bug like" details. For example, if I choose to create asynchronous web service, later when I go to Properties the "Asynchronous Web Service" checkbox isn't checked. Also, the @WebMethod annotations are sometimes generated and sometimes not (even if the method is checked to be exposed).
    I am also getting these exceptions when I create a proxy for the asynchronous web service (I selected "Generate asynchronous methods for all operations"), could be I'm doing something wrong:
    WARNING: The parameter/return type "java.util.concurrent.Future" in the method
    "public abstract java.util.concurrent.Future<?>
    view.proxy.MyAsyncWebService1.queryDepartmentFindAllAsync(javax.xml.ws.AsyncHandler<view.proxy.types.QueryDepartmentFindAllResponse>)"
    is not supported. This method will not be exposed.
    WARNING: The parameter/return type "java.util.concurrent.Future" in the method
    "public abstract java.util.concurrent.Future<?>
    view.proxy.MyAsyncWebService1.returnEmployeeAsync(javax.xml.ws.AsyncHandler<view.proxy.types.ReturnEmployeeResponse>)"
    is not supported. This method will not be exposed.
    Exception in thread "main" java.lang.NullPointerException
         at com.sun.xml.bind.v2.runtime.Coordinator.popCoordinator(Coordinator.java:122)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.close(XMLSerializer.java:823)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:310)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:230)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:87)
         at oracle.j2ee.ws.common.databinding.runtime.jaxb20.Jaxb20Serializer.serialize(Jaxb20Serializer.java:218)
         at oracle.j2ee.ws.common.databinding.runtime.SerializerBase.serializeSequenceWrapper(SerializerBase.java:80)
         at oracle.j2ee.ws.client.jaxws.SoapRequestorSerializer.populateSoapMessage(SoapRequestorSerializer.java:89)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyInvocationHandler.invoke(WsClientProxyInvocationHandler.java:184)
         at $Proxy11.returnEmployee(Unknown Source)
         at MyAsyncWebService1SoapHttpPortClient.main(MyAsyncWebService1SoapHttpPortClient.java:22)
    Process exited with exit code 1.Can anyone throw some light on this?
    Thanks,
    Pedja

  • Help needed in tibco Configuration with OAS 10.1.3

    Hi,
    I am trying to using OAS 10.1.3 and with Tibco JMS Provider. I have deployed the MDB that gets messages from Tibco JMS Provider. Now here is the issue I am getting the following errors any ideas on what might be wrong:
    WARNING: Code-source C:\Oracle_Software\AS10g\1013\oc4j_extended_101320_sa\j2ee\
    home\lib\tibco\jms.jar (from <library> in /C:/Oracle_Software/AS10g/1013/oc4j_ex
    tended_101320_sa/j2ee/home/config/application.xml) has the same filename but is
    not identical to /C:/Oracle_Software/AS10g/1013/oc4j_extended_101320_sa/j2ee/hom
    e/lib/jms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.
    xml in C:\Oracle_Software\AS10g\1013\oc4j_extended_101320_sa\j2ee\home\oc4j.jar)
    . If it contains different versions of the same classes, it will be masked as th
    e latter is already visible in the search path of loader default.root:0.0.0.
    2007-05-07 22:36:01.055 WARNING J2EE JNDI-00002 Resource reference jms/myQueueCo
    nnectionFactory not found. Allowing J2EEContext creation to continue anyway.
    2007-05-07 22:36:01.087 WARNING J2EE JNDI-00004 No javax.jms.QueueConnectionFact
    ory found at java:comp/resource/TibcoJMSReference/QueueConnectionFactories/myQCF
    07/05/07 22:36:05 Oracle Containers for J2EE 10g (10.1.3.2.0) initialized
    2007-05-07 22:36:06.055 WARNING J2EE EJB-02009 [ejb1:ejb1:EnableMdb] Unexpected
    exception by JMS provider: javax.jms.InvalidDestinationException: Destination "Q
    ueue[enableQueue]" has invalid type "class com.tibco.tibjms.naming.TibjmsFederat
    edQueue" and cannot be used with OC4J JMS..
    2007-05-07 22:36:06.055 WARNING J2EE EJB-02009 [ejb1:ejb1:EnableMdb] Unexpected
    exception by JMS provider: javax.jms.InvalidDestinationException: Destination "Q
    ueue[enableQueue]" has invalid type "class com.tibco.tibjms.naming.TibjmsFederat
    edQueue" and cannot be used with OC4J JMS..
    2007-05-07 22:36:06.055 WARNING J2EE EJB-02009 [ejb1:ejb1:EnableMdb] Unexpected
    exception by JMS provider: javax.jms.InvalidDestinationException: Destination "Q
    ueue[enableQueue]" has invalid type "class com.tibco.tibjms.naming.TibjmsFederat
    edQueue" and cannot be used with OC4J JMS..
    2007-05-07 22:36:06.055 WARNING J2EE EJB-02009 [ejb1:ejb1:EnableMdb] Unexpected
    exception by JMS provider: javax.jms.InvalidDestinationException: Destination "Q
    ueue[enableQueue]" has invalid type "class com.tibco.tibjms.naming.TibjmsFederat
    edQueue" and cannot be used with OC4J JMS..
    2007-05-07 22:36:06.055 WARNING J2EE EJB-02009 [ejb1:ejb1:EnableMdb] Unexpected
    exception by JMS provider: javax.jms.InvalidDestinationException: Destination "Q
    ueue[enableQueue]" has invalid type "class com.tibco.tibjms.naming.TibjmsFederat
    edQueue" and cannot be used with OC4J JMS..
    2007-05-07 22:36:06.071 WARNING J2EE EJB-02014 [ejb1:ejb1:EnableMdb] All message
    consumer threads have terminated due to provider errors, stopping MDB.
    Any help is appreciated. Can someone please provide me the steps to configure OC4J with Tibco incase I am doing something wrong I know there is a document out there http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-connect-to-tibco/doc/how-to-connect-to-tibco.html but somehow I tried following exactly what is listed in the document but it doesn't seems to work for me. Specially the following
    deploying the resource adapter module (e.g., using admin.jar's "-deployconnector" command),
    placing the <connector> element in the %ORACLE_HOME%/j2ee/home/config/oc4j-connectors.xml.xml file, and
    pointing to the %ORACLE_HOME%/j2ee/home/config/oc4j-connectors.xml.xml file by placing a <connectors> element in the %ORACLE_HOME%/j2ee/home/config/application.xml file
    Where do I make the changes in the sample for my needs if I have the following on Tibco side:
    Initial context factory:
    com.test.TestTibcoInitialContext
    Provider url
    ldap://someserver:389/ou=msg,dc=corp,dc=com
    Destination(Queue):
    testClientDestUD=D.TEST
    Connection Factory
    testClientUD=S.VV
    Thanks for any help as I am bit confused going thru the doc.

    Hi Alastair,
    Thank you so much for this really very very helpful document but still I am facing some issues:
    1.     The pdf file is specific to Linux environment while I have windows environment for:
    Oracle Application Server 10.1.3.x
    OBIEE Server 10.1.3.4
    2.     We are using MS Active Directory for the domain login authentication process. I have configured the OBIEE with that Active directory to allow users to use their domain credentials to login to OBIEE. I need to provide the SSO in this environment. But the document provides very good and elaborated information about SSO using OID. Is there any way we can do SSO using MS AD or we have to import the users in OID?
    3.     We are using a db table for the authorization process for users after authentication is passed in which we are storing the USER NAME and GROUP information. The Authorization block of rpd select the corresponding GROUP from this table using SQL query and authorizes the users for their access scope. I was trying to execute the function AD_Authorization using the sql supplied after creating it in db but it is showing the below error: (Oracle11gR2 DB Server)
    SELECT getldapgroups('domainname\username') FROM dual;
    ORA-31202: DBMS_LDAP: LDAP client/server error: Invalid DN syntax. 0000208F: LdapErr: DSID-0C090654, comment: Error processing name, data 0, vece
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_LDAP", line 1487
    ORA-06512: at "SYS.DBMS_LDAP", line 234
    ORA-06512: at "SCHEMA.GETLDAPGROUPS", line 45
    4.     Can we install OIM on Windows machine having the Oracle DB server installed already on it?
    Your valuable response will be much awaited.
    Thanks,

  • [SOLVED] Arch Linux Guest Virtual Box OSE problem

    So I am installing my Arch Linux as a Guest in my Ubuntu partition, through Virtual Box OSE (3.2.8). I followed the wiki ( https://wiki.archlinux.org/index.php/Ar … lBox_Guest ) but still have an issue:
    sudo pacman -S kernel26-headers xorg gcc make
    sudo mount /dev/cdrom /mnt/cdrom
    sudo /mnt/cdrom/VBoxLinuxAdditions-x86.run
    But It fails on Shared folders, and cannot recognize X:
    :: Building the VirtualBox Guest Additions Kernel Modules [BUSY]
    :: Building the main Guest Additions module [DONE]
    :: Building the shared folder support module [FAIL]
    (Look at /var/log/vboxadd-install.log to find otu what went wrong)
    :: Warning: Unknown version of the X Window System installed. Not installing X Window System drivers.
    :: Installing graphics libraries and desktop services components [Done]
    /var/log/vboxadd-install.log states:
    /tmp/vbox.0/vfsmod.c:406:9: error: unknown field 'clear_inode' specified in initalizer
    /tmp/vbox.0/vfsmod.c:406:9 warning: initalization from incompatible pointer type.
    Which is strange, because as far as I know, clear_inode is part of the linux headers.
    Any idea why this is happening? Do I just need to update VirtualBox to a newer version?
    Last edited by gralamin (2011-03-11 18:22:14)

    Updating Virtualbox fixed the issue.

  • 32-bit C++ program call 64 bit oracle library

    Currently I had a 32-bit program written in C++, and it called some 64-bit Oracle libraries.
    Since occasionally, we found that there is some core dump error when the program executed for more than 3 hours, and our DBA highlight this finding to us.
    I would like to check if it is safe to call the 64-bit libraries in a 32-bit program.
    How can I recompile my exe to 64-bit
    Currently, the program is run on SunOS 5.8
    Thanks
    Regards,
    Eddie

    It is not possible for a 32-bit program to link to or dlopen a 64-bit library. So your 32-bit program is not calling 64-bit functions. If you somehow managed to make such a call (and I don't see how you could) the program would crash immediately.
    Maybe you mean you are opening a large file (bigger than 4GB) by means of LARGEFILE macros. The program itself is still limited to a 32-bit address space, but can read, write, and move around inside the large file.
    If your program crashes, try running dbx, pointing it to the program and the core file and see where it crashed. Or run the program under dbx.
    You can compile your program to run as a 64-bit program (automatically getting large-file support) by adding the option -xarch=v9 to every compile and link command line. All parts of the program, including all libraries you use, must also have been compiled with -xarch=v9. The compiler will automatically use the 64-bit versions of system libraries when you use -xarch=v9. If you link to 3rd-party libraries (such as Oracle), follow the vendor's instructions for 64-bit code.
    If the program was not written to be a 64-bit program, it might have hidden assumptions that prevent it from working as a 64-bit program. Typical problems are assuming that ints and longs, or ints and pointers, are the same size. For C code, you can use lint options to warn about 64-bit portability problems. For C++ code, you can use the option combination "-xarch=v9 -xport64" to get portability warnings. Refer to the C and C++ manuals for more information.
    The Solaris "file" command will tell you whether a program or library uses 32-bit or 64-bit code.
    For example:
    % file /usr/lib/libc.so.1
    /usr/lib/libc.so.1:     ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped
    % file /usr/lib/sparcv9/libc.so.1
    /usr/lib/sparcv9/libc.so.1:     ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped

Maybe you are looking for