Ld issues 32-bit macho objects

I am developing a compiler for a subset of Java.  The compiler currently works for windows and linux (both 32 and 64 bit), and since I got a mac recently I am trying to make it work for osx as well (ideally both 32 and 64 bit, but I am striating with 32 bit).  I designed it such that the only assembly file that needs to change between the different OSes is a files called runtime.s that provides the system calls.  I have it passing all of my test cases in the other platofrms, but t fails to link on OSX for one of the tests and the odd thing is that ld is complaining about symbols for one class that has nothing special about it.  Also, to make it more weird, nm finds the symbols and the symbols are not a part of the runtime so ld can find it for linux when I make the .o files elf...  I have included output from commands that I think are relevant. 
Any help would be greatly appreciated.  I am stuck because the symbols are not the runtime symbols  (so it's not like a mistake in the file that changed) and it links on other platforms (more specifically linux since it has the same chain) it should link on OSX.  Also, since nm sees the symbol I can't understand why ld won't .
ld -macosx_version_min 10.4 -e _start -o /Volumes/RAM/output/x86/osx/main /Volumes/RAM/output/x86/osx/*.o
Undefined symbols for architecture i386:
  "List.A.this$", referenced from:
      ?default?.Main.test$ in Main.o
  "List.A@SIT", referenced from:
      ?default?.Main.test$ in Main.o
  "List.A@Subtype", referenced from:
      ?default?.Main.test$ in Main.o
ld: symbol(s) not found for inferred architecture i386
pwd
/Volumes/RAM/output/x86/osx
nm List.A.o
00000010 T List.A.this$
         U __exception
00000000 t __init_object
         U __malloc
         U __malloc_clear
         U java.lang.Object.this$
file List.A.o
List.A.o: Mach-O object i386
file Main.o
Main.o: Mach-O object i386

nolag wrote:
Also just FYI it's not cross compiling if the platform you are on supports the executable natively without emulation.  So compiling for x86-32 bit on a 64-bit platform is not cross compiling unless the platform does not have 32 bit system calls.  OS X does, so in this case it is not (most linux do, and BSD do also although there are some small 64-bit linux distros that don't). 
I'm still going to call it cross compiling when the libraries you are linking with are not the libraries you booted with.
I think found a bug in LD.  When I rename the symbols, it works...  I'm trying to find the exact pattern that breaks it and then I would like to report a bug, do you happen to know where I can do that?
https://bugreport.apple.com
You will need that free developer account.
GNU recommends that you open the bug to whomever distributed ld to you (in this case Apple).
These are not really tools that Mac developers use. I suggest creating an Xcode project to do what you want. I think you will have much better luck that way.

Similar Messages

  • How to change default HDR toning with 32 bit smart object - 16 bit, when not merging

    Suppose I have just done this:
    Opened a RAW file as a 16-bit smart object through camera raw, so I can easily go back and change raw parameters if needed
    Converted the document to 32 bit mode
    Set 32-bit preview mode to Highlight Compression
    Added a Curves layer and fiddled with the sliders until satisfied
    So far so good.
    Now what I would like to do is envelope/convert these two layers into a smart object, and then change the mode to 16 bit with a Highlight compression method, but WITHOUT merging the smart object. Merging leaves me with one flattened non-smart layer. Obviously I don't want to merge, because all the smartness of the previous (32 bit) smart object, and I cannot go back to the equally smart raw file.
    For a demonstration: http://tv.adobe.com/watch/russell-brown-at-photoshop-world-2011-orlando/smart-object-32-bi t-hdr-editing-techniques/
    After chosing "merge layers", an impressive dialog box is displayed with 4 toning methods. When NOT merging, nothing is displayed, and Exposure/Gamma seems to be silently used. Fine in some cases, but not now. It seems one cannot change that, or choose another one of the 4 methods. But perhaps someone has figured out a way to "will" it in another direction?
    Thanks for your help!

    Yes sorry about that, I may have been a bit brief indeed:
    I'm using Photoshop CS5, x64, latest patch (12.0.4). And ACR 6.4.1 to open a Raw file as a smart object in Photoshop.
    Step 2: correct, I used Image->Mode->32bit
    Step 3: I set the 32bit preview mode by clicking View->32-bit Preview Options->Highlight Compession
    Setp 4: I'm mistaken here, I added a Levels layer, because Curves are indeed unavailable in 32 bit mode.
    While I'm at it:
    Step 5: Then, I would select these 2 layers in the layers pane and convert them to a smart object (right click in layers pane -> convert to smart object)
    Step 6: Next step would be Image->Mode->16-bit. It would then ask to have the layers merged or not before changing bit depth. Only if you choose merge, the HDR toning dialog box would appear, from which you can select Exposure&Gamma, Highlight Compession, Local Adaptation and so on.
    I don't want to merge, because it will destroy the smart object containing the Levels layer and the original raw file (in a smart object)
    So I select "Don't merge". It doesn't show the HDR toning dialog, and goes straight in 16-bit mode. But what toning mode did it choose? By comparing the result you get when not merging, to the result when one does merge, it appears a default toning mode of Exposure&gamma is chosen. That's not what I want, because I would like to have Highlight Compression.
    But where can I change this behaviour?

  • Safari 5.1.2 on Windows 7 has issues with hiding SWF objects in IFRAMEs

    Try as I may I cannot hide a Flash object in an HTML page referenced as the source of an IFRAME tag despite being able to hide the IFRAME when using Safari 5.1.2 on a Windows 7 machine.
    This is not a problem for the latest versions of Safari, Chrome and Firefox on a Mac. This is not a problem for the latest versions of Internet Explorer, Chrome and Firefox on a Windows 7 machine.
    Following is sample HTML and JavaScript for the page that includes the IFRAME tag:
    <button id="tryit" type="button">Try It</button>
    <div id="test">
         <iframe src="hideswf-iframe.html" width="770" height="610" frameborder="0"></iframe>
    </div>
    <script type="text/javascript">
         var test = document.getElementById("test"),
              tryit = document.getElementById("tryit");
         tryit.addEventListener( "click", hideAndSeek, false );
         function hideAndSeek(e) {
              var style = test.style;
              style.opacity = (style.opacity == 1 || style.opacity == "") ? 0 : 1;
    </script>
    And the following is the OBJECT tag for the SWF object that would exist in the page "hideswf-iframe.html" referenced as the source of the IFRAME tag in the above code block:
    <object type="application/x-shockwave-flash" id="strobemediaplayback" data="StrobeMediaPlayback.swf" width="743" height="600" style="visibility: visible; ">
         <param name="allowFullScreen" value="true">
         <param name="wmode" value="direct">
         <param name="flashvars" value="favorFlashOverHtml5Video=true&swf=StrobeMediaPlayback.swf&javascriptCallbackFunction=$.fn.strobemediaplayback.triggerHandler&minimumFlashPlayerVersion=10.0.0&expressInstallSwfUrl=expressInstall.swf&autoPlay=false&loop=false&controlBarMode=docked&poster=&src=http://players.edgesuite.net/videos/big_buck_bunny/bbb_448x252.mp4&useHTML5=false&width=1187&height=959&queryString=favorFlashOverHtml5Video=true&swf=StrobeMediaPlayback.swf&javascriptCallbackFunction=$.fn.strobemediaplayback.triggerHandler&minimumFlashPlayerVersion=10.0.0&expressInstallSwfUrl=expressInstall.swf&autoPlay=false&loop=false&controlBarMode=docked&poster=&src=http://players.edgesuite.net/videos/big_buck_bunny/bbb_448x252.mp4&useHTML5=false&width=1187&height=959">
    </object>
    The complex aspect is that this issue only manifests itself with some SWF objects, but not all. In the admittedly small sample of objects I tested I observed that the ones that failed were focused on video content (basically they were video players) while the ones that didn't exhibit the issues were not delivery mechanisms for video content.
    I have already tried using JavaScript libraries and frameworks such as jQuery and Scriptaculous - they didn't fare any better.

    Actually it doesn't let me choose either of the buttons and before anything can happen the crash occurs. I tried to click on both buttons but it seems not to work. Thanks!

  • Issue while activating data objects in doe

    Hi All,
      Im very new to Netweaver mobile 7.1 development. I created bappiwarappers using wizard and and completed it successfully. But when im trying to activate the data objects it goes into runtime error stating eceution time exceeded. I increased my execution time and tried still it goes into dump.
      But when i come back and see data objects its status under data objects details shows active but the light is still yellow which should be green.
      Lastly when i try to activate backend adapter it says "Unable to find generated objects in repository". I think im missing something how to identify he issue?
    Regards,
    Asif.

    You can check the status of the data download in administration portal
    If you are using SP09 or below:
    Goto NW Mobile Administration -> Monitoring -> Logs & Traces -> BACKEND_INTEGRATION and provide SWCV Name and click on "Go" button. It will display the load information of all the objects where on expansion of the nodes will give you the exact status. whether load failed or success. We will get a clue based on the status.
    If you are using SP10:
    Goto NW Mobile Administration -> Monitoring -> Process Monitoring. Here you can get the status of all the data downloads.
    Regards,
    Siva.

  • Issue in scheduling of object packages

    Below is detail description of problem:
    ===============================================
    Earlier Requirement:Need to schedule 350 copies of a report with a different parameter (Branch#) for each one of them and run them every month.
    Solution we implemented: 7 Object packages with 50 reports each that run serially every month-end
    [Current Problem: We need to add a column to the report, which means modifying 350 reports, which will be an effort whenever there is a need for change.
    Help we need:: Is there any easy way to mass-schedule reports and maintain them easily as well using BO XI R2? We're open to third party tools etc.
    ==============================================
    Please help me in this.
    Thanks,
    Swapnil Rodge.

    1. How can I identify input FRS location for report file? Also since there are 350 reports, I need to identify locations of 350 reports. How can I do it?
    1. (Answer): 
    You could use the SDK to build a spreadsheet which pulls the relevant information for the objects. Alternatively, you could use the query tool to identify the FRS location and dump the results into Excel. Use excel formula to build the copy commands for the batch file.
    2. What s batch file? How can I crerate batch file to copy modified report file to 350 report files present in different 350 locations? Also it will be litile bit risky to touch input FRS folder.
    2.(Answer): Yes, it is risky. Makes sure you know what you are doing before proceeding. If you don't know what a batch file is and you don't know how to query the CMS then I wouldn't advise using this method. Your best bet is to invest in a third party tool.
    Also let me know if APOS Bursting Manager has free version or we need to buy it?
    (Answer): 
    There might be a trial version. Check the website.
    www.apos.com

  • Urgent!! Issue in using Generic Object Services (GOS)

    Hello Friends,
    I have created a GOS Business object and i am using this to attach documents at the selection screen of my programs.
    The implementation is successfull and working fine. When i execute my program, i can see the GOS Toolbar, i am able to upload document from my PC and view in the attachment list too.
    But the issue is, when i end my session, and try to see attachment list by executing the program again, it comes blank with no documents. This means, once i end the session, i am not able to see the attachments that i have created earlier.
    Any helpful input will be appreciated and rewarded.
    Thanks and Regards,
    Vikas Bittera.

    Hello Vikas
    The document has to be uploaded to the <b>BDS </b>(Business Document Service).
    I will give you an example how I did this:
    1. Create business object 'ZREPORT'.  " for attaching documents to reports
    2. Call transaction <b>OAER </b>(Business Document Service) with the following parameters:
        - Class name = 'ZREPORT' (my business object)
        - Class type  = 'BO' (business object)
        - Objekt key  = leave empty or enter name of report (if empty, a popup appears)
        - Storage system = 'BDS_DB' (seemed a good choice to me)
    3. Execute
    4. In the BDS choose tabstrip "<b>Create</b>" (lower left part of screen). Right-click on the <i>Word document icon </i>and choose<i> Import File</i> from the context menu.
    As soon as you have uploaded your Word document it is visible in your business object (attachment list). When you display the attachment list and right-click on the document you can directly open it in the BDS.
    Regards
      Uwe

  • BAPI_ACC_DOCUMENT_POST Issue with assigning Cost Objects

    Hi Forums,
    I am passing only the order number to this BAPI I am getting the following error.
    Account 654080 requires an assignment to a CO object
    I am passing the order number to this and should populate enough information to fill in the data?
    any ideas?

    Issue was in the code: I was not assigning the order id correctly

  • EMIGALL - Issue in INTCASHDEP EMIGALL Object

    HI,
    I am trying to create interest document through EMIGALL.
    I am getting error as No cash security deposits available'
    Security deposit # in INTCASHDEP EMIGALL Object
    I have adopted Rec data type as INT, FKKKO, FKKOP & FKKOPK.
    In FKKKO I have adopted interest related fields (doc type, origin key and start and end date)
    In FKKOP I have adopted attributes of main and sub 0020 and 0010.
    In FKKOPK I have adopted attributes of FKKOP doc (payment)
    So can anyone share comments to resolve issue.
    Regards,
    Paresh

    Hi Paresh
    What value/reference did you put into field INTCASHDEP-INTERFACE-OPBEL?
    You have to populate it with oldkey of the PAYMENT on the SECURITY.
    Here again the load order:
    SECURITY
    PAYMENT - linked to SECURITY
    INTCASHDEP - linked to PAYMENT
    For example:
    SECURITY - Requested on 01.03.2012, amount $200
    PAYMENT - Paid on 20.03.2012 against security, amound $200
    INTCASHDEP - All interest on payment from 20.03.2012 until go-live (20.03.2014 or 2 years) for 5% p.a., amount $20
    If the security is returned at go-live the customer gets the migrated $220 back (payment plus intcashdep).
    If the security is returned one year after go-live the customer gets the migrated $220 (payment plus intcashdep) plus all interest within SAP after the go-live (another $10).
    Also your main / sub transaction is incorrect, because it's used for Cash Security Deposit Payments. At the end of the day it doesn't matter, because your HVORG/TVORG input values are not used anyway - you can leave the fields on SAP default processing type "1 - Initial" in EMIGALL. They are determined internally (event 1310) and I would expect it to end up as 0025 / 0010.
    In general, after you copy an object from the SAP company, keep it simple and add only fields if you really need them. The copied object contains all mandatory and often-used fields.
    Yep
    Jürgen

  • Issue in programmatic view object.

    Hi,
    I am creating a programmatic view object, in a button's action listener. I have used ViewObject.clearcache() to flush the VO previous data, every time the button is clicked and load new data. The issue which i face, is that the table showing the VO data, shows data in alternate attempts i.e. 1st,3rd and 5th button click and in the 2nd, 4th click it shows "No data to display." . If i try using ViewObject.reset() the table is loaded with data every time but the new result set gets appended, which gives duplicate data.
    Please help.
    Regards,
    Max

    Hi Navaneeth,
    The code snippet is :
    DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding dciterator=bindings.findIteratorBinding("AccountSummaryMCANViewObj1Iterator");
    ViewObject serviceVO=dciterator.getViewObject();
    webGetVruxDataService = new WebGetVruxDataService();
    WebGetVruxDataPortType webGetVruxDataPortType =
    webGetVruxDataService.getWebGetVruxDataPort();
    Map<String, Object> requestContext =
    ((BindingProvider)webGetVruxDataPortType).getRequestContext();
    requestContext.put(BindingProvider.USERNAME_PROPERTY,
    "ladwpcom");
    requestContext.put(BindingProvider.PASSWORD_PROPERTY,
    "0bama8");
    System.setProperty("javax.net.ssl.trustStore",
    "/webdata/Oracle/Middleware/user_projects/domains/ladwp-test/security/cacerts");
    ObjectFactory objFact = new ObjectFactory();
    HostBridgeVruxRequestCt reqct =
    objFact.createHostBridgeVruxRequestCt();
    String autoPayment = "";
    if(serviceVO!=null)
    serviceVO.clearCache();
    for (int i = 0; i < canCount; i++) {
    // System.out.println(i);
    reqct.setCAN(userCANArray);
    serviceVO.insertRow(serviceVO.createRow());
    Row serviceVORow=serviceVO.getCurrentRow();
    HostBridgeVruxResponseCt responseCT =
    webGetVruxDataPortType.webGetVruxDataOperation(reqct);
    String acctName = responseCT.getVrux().getACCTNO();
    serviceVORow.setAttribute("ACCOUNTNAME", acctName);
    Double currBalance =
    Double.parseDouble(responseCT.getVrux().getTotalPendingAmount().toString());
    serviceVORow.setAttribute("CURRENTBALANCE", currBalance);
    //TODO code for date
    String dDate = responseCT.getVrux().getCDATE();
    String dMonth = dDate.substring(0, 2);
    String dDay = dDate.substring(2, 4);
    String formatteddate = dMonth + "/" + dDay;
    String dueDate = formatteddate;
    serviceVORow.setAttribute("DUEDATE", dueDate);
    if (responseCT.getVrux().getBANKFLG().equals("2")) {
    autoPayment = "Enrolled";
    } else {
    autoPayment = "Not Enrolled";
    serviceVORow.setAttribute("AUTOMATICPAYMENT", autoPayment);
    // System.out.println(serviceVORow.getAttribute("AUTOMATICPAYMENT"));
    serviceVORow.setAttribute("PAYNOW", "");
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.mcANTable);
    Regards,
    Max

  • Issue with Citrix Business Objects full client

    Hi ,
    I have issue with my database pasword being expired. I ran a recovery and it works fine for me.
    Since we are using the citirx installation the bomain.key is available on the citrix server which is copied across the user profile when they are login into citrix server via the logon script.
    I still could not find whether the log on script is correct or not can any one of you let me know what I can use to copy the bomain.key using citrix usrlogon.cmd script.
    Regards,
    Ramesh

    Please post this query to the Business Objects Enterprise Administration forum:
    BI Platform
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all BOE queries remain in one place and thus can be easily searched in one place.
    Thank you for your understanding,
    Ludek

  • Exchange 2007 Management shell issue: "There are multiple objects matching the identity "servername" Please specify a unique value"

    I thought this would be an easy answer to an issue I'm facing, but there's a problem executing the solution.
    I'm running Exchange 2007 in a clustered SCC configuration.  The clustered resource is called "DENBURYMAIL."  I want to give my account full mailbox access rights to all the mailboxes in this resource/database.
    I believe I found the solution to this at
    http://technet.microsoft.com/en-us/library/bb310792%28EXCHG.80%29.aspx (about halfway down the page) the instructions read as follows: 
    ==============================
     Q: I have a third-party messaging application that requires full access to each user's mailbox. With Exchange Server 5.5, we grant a special account the Service Account Admin permissions, and then tell the application to use this account. How
    can I achieve similar functionality in Exchange 2007?
    A: Exchange 2007 security works differently from that of Exchange Server 5.5. In fact, Exchange 2007 does not use a site service account. Instead, all services start as the local computer account.
    If your logon account is the Administrator account, a member of the root Domain Administrators, a member of the Enterprise Administrators groups, or a member of the Exchange Organization Administrators role, you are explicitly denied access to all mailboxes
    that are not your mailbox, even if you have full administrative rights over the Exchange system. All Exchange 2007 administrative tasks can be performed without having to grant an administrator sufficient rights to read other people's mail.
    You can achieve the results that you want in the following ways, but do so only in accordance with your organization's security and privacy policies:
    In the Exchange Management Shell, use the following command to allow access to all mailboxes on a given mailbox store:
    Add-ADPermission -identity "mailbox database" -user "serviceaccount" -ExtendedRights Receive-As
    =============================
    But when I run the command (Add-ADPermission -identity "denburymail" -user "matthew.fazio" -ExtendedRights Receive-As) I get an error telling me that "There are multiple objects matching the identity "DENBURYMAIL."  Please Specify a unique value."
    I'm not sure what's causing this-- why are there "multiple objects?"  Is this a problem due to operating in a clustered environment?
    Any assistance would be appreciated!

    It may not be specific enough for the command to understand you.
    Try this:
    Get-MailboxDatabase -Server <servername> | Add-ADPermission -user "matthew.fazio" -ExtendedRights Receive-As

  • Photoshop CS6 Scaling issues: Vector/Raster smart objects

    My team and I have noticed some strange issues when affecting the overall interpolation of a .psd via scaling, cropping, or canvas resize.
    Test:
    Original .psd is even x even overall pixel dimensions.
    Original vector and raster smart object assets are all proportionally scaled with width x height percentages equal.
    Preferences: "Snap vector tools and transforms to pixel grid" is turned off
    Resize .psd via Image > Image Size palette.
    Scale styles, constrain proportions selected.
    Every interpolation style tested.
    Resize the .psd to 50%
    Result: All smart objects (both types) no longer are proportionately scaled. Usually off by a minor amount under 1/10th of a percent.
    Some objects' center point shift a half pixel to the right or left.
    This also occurs if we use the crop tool or resize the canvas.
    Is this a known bug and if so, is there:
    1) any setting to truly lock proportions?
    2) any resolution being pursued currently?
    Though the shift and the disproproptions seem minor, the overall quality of items such as icons, hairlines, and other things that should be more crisp become far more degraded in CS6 vs CS5.
    We have over 100 users and need to evaluate if we should drop back down to CS5, where we weren't having any of these issues, as our work demands a lot of precision, so you can see why this is worrisome.
    Thanks!

    I'm not going to say anything about the abysmal rendering of Vector Smart Objects in CS6 because it'll be beating a dead horse but I can explain the issues you see with measurements after scaling.
    The slightly disproportionate scaling and half-pixel shift of the centre is unavoidable when it happens because the resulting Smart Object/Vector Smart Object must measure an integer number of pixels in height and width and be perfectly aligned to the document pixel grid. That's true in CS5 and CS6.
    Say a SO/VSO originally measures 102 x 103 pixels and you scale it by 50%. The Options bar may say the result is 51 x 51.5 px but the result will really be 51 x 52 px, and therefore the new height will really be 50.49% of the old height.
    The original SO/VSO is an even number of pixels wide and an odd number of pixels high, therefore its centre will be halfway down a pixel. The 50%-scaled SO/VSO is an odd number of pixels wide and an even number of pixels high, therefore its centre will be halfway across a pixel.

  • Issues with 'extern' in Objective-C app.

    Hi there,
    I am currently developing a Cocoa Document-based application, and have so far created an NSArrayController and linked that it to a class in my application. In my Interface Builder file, I have a main window which appears at launch, and another window that is by default, hidden.
    I am overriding the NSArrayContoller's 'add:' method via the MyDocument class that comes by default in the project, and with this overridden method wish to open this second window.
    Usually, I would just add the window as an outlet in a class of mine to control. The issue here is, I am unable to add the window as an outlet to the NSArrayController object (this is the first time I have dealt with an NSArrayController), and so have added the window as an outlet to another class, named InfoController.
    The aim here, is to allow the MyDocument class to access InfoController's window that I have linked.
    I have tried using the following in InfoController.h;
    extern IBOutlet NSWindow *authenticate;
    I also obviously import the InfoController's header file to the MyDocument's header file;
    #import "InfoController.h"
    This causes an error where the compiler spits the dummy;
    "_authenticate", referenced from:
    _authenticate$non_lazy_ptr in MyDocument.o
    symbol(s) not found
    collect2: Id returned 1 exit status
    In case you were wondering where I got this idea from, I followed the instructions in the second option - http://www.cocoadev.com/index.pl?GlobalVariablesInCocoa
    I would really appreciate any help here.
    Please let me know if I need to clarify anything.
    Thanks in advance,
    Ricky.

    Nothing in that article suggests declaring class instance variables as extern.

  • Auto enrollment issue - in AD user object certificate is missing

    In our environment , we are publishing User certificate and SMIME certificate through auto enrollment, both are been pushed through same Group policy. We identified that few of the user  (around 200+ users) AD object  is not having SMIME certificate
    but user certificate is available . In the Issuing CA and users local store we can able to find the certificate . We revoked 2 or 3 user certificate and when the user next logging in , the certificate has been successfully generated, we dont know what is causing
    the issue. Please help on this.
    We have checked the group policy its applying properly.
    We have checked few of the user machine and found that the error Eventid # 6 has been generated every 8 hours once. (Automatic server enrollment  failed. the specified server can not perform the requested operation)
    The working users and affected users all are part of same OU.

    Dear All,
    Thanks for your inputs. We found solution on this. we assume issue with attribute modification conflicts 
    We are having two different issuing CA in our environment and both are in same site, in the site is having 4 domain controller. 
    - We ran the network monitor in both the Issuing CA's and found the communication between Issuing CA and domain controllers for each user certificate  (success and failure also)
    - we can able to see there is difference between both the certificate generation is less than 8 seconds
    - The first (SMIME) certificate has been published in the AD object through Domain controller A and second certificate is reaching Domain controller B for publish the second (USER) certificate in few seconds.
    - When replication is happening between Domain controller A and Domain controller B, the highest version value is winning
    - We ran the command repadmin /showobjmeta "users distinguish name" for success user and failure user
    - found success users certificate version is 2 and failure user certificate version is 1.
    Solution: We are planning to make single Issuing CA for both certificate enrollment.
    Not sure what are the impacts on this

  • Issue with adding JPanel objects with layout managers

    Hi. The games I made in the past did not contain any customized menus (ie. not from JOptionPane) different components dividing the display screen... so I thought I would try to on my current game I'm working on. So here's the issue: I'm trying to set the GUI up for the game screen.. but when I try to add in additional JPanel objects into the my main JFrame object, all of the JPanel objects stack up at the very top left corner (their not supposed to because I am using a layout manager). Here's my simplified version of the code:
    public void setUpGame(){
         MainGame game = new MainGame();
         game.setLayout(new BoxLayout(game, BoxLayout.Y_AXIS) );
            playPanel = new PlayPanel(); // don't worry about this.. it's a subclass of JPanel.
         playPanel.setPreferredSize( new Dimension(playPanel.width, playPanel.height) );     
            game.add(playPanel);
            JPanel collections = new JPanel();
            collections.setLayout(new FlowLayout() );
            collections.setPreferredSize( new Dimension( 1280, 256));
            miniMapPanel = new MiniMapPanel(); // subclass of JPanel.
         miniMapPanel.setPreferredSize( new Dimension(miniMapPanel.width, miniMapPanel.height) );
            collections.add(miniMapPanel);
            statsPanel = new StatsPanel();
         statsPanel.setPreferredSize( new Dimension(statsPanel.width , statsPanel.height ) );
            collections.add(statsPanel);
            ... // I do the same thing for StatsPanel and CommandPanel objects
            game.add(collections);
            add(game);
            // referencing to the JFrame object
            this.pack();
            setVisible(true);
            setFocusable(true);
    }Notes:
    -The sum of miniMapPanel.width, statsPanel.width, ... , commandPanel.width add up to 1280 pixels.
    - miniMapPanel.height, statsPanel.height, ... , commandPanel.height all have the same height of 256 pixels.
    - What I'm trying to do is set up a GUI very similar to that of StarCraft, and WarCraft.
    - The game is set up in full screen.
    When I compile the program, I see (and I've tested for it) that all of the JPanel objects that were created are all stacked one on top of each other, in the top left corner of the screen. Any ideas and/or suggestions are welcome.

    Hi weng,
    Try the following code example. I think the issue might be in your overridden methods if you did.
        public static void main(String[] args) {
            JPanel viewPanel = new JPanel();
            viewPanel.setBackground(Color.GREEN);
            viewPanel.add(new JLabel("You see a hut here..."));
            JPanel minimapPanel = new JPanel();
            minimapPanel.setBackground(Color.WHITE);
            minimapPanel.add(new JLabel("Minimap!"));
            JPanel commandPanel = new JPanel(new FlowLayout(FlowLayout.LEADING));
            commandPanel.add(new JButton("Characters"));
            commandPanel.add(new JButton("Inventory"));
            commandPanel.add(new JButton("World Map"));
            commandPanel.add(new JButton("Menu"));
            JPanel lifeAndManaPanel = new JPanel(new FlowLayout(FlowLayout.LEADING));
            lifeAndManaPanel.add(new JLabel("Life: 999/999"));
            lifeAndManaPanel.add(new JLabel("Mana: 999/999"));
            JPanel statusPanel = new JPanel(new BorderLayout());
            statusPanel.add(commandPanel, BorderLayout.PAGE_START);
            statusPanel.add(lifeAndManaPanel, BorderLayout.CENTER);
            JPanel bottomPanel = new JPanel(new BorderLayout());
            bottomPanel.add(minimapPanel, BorderLayout.LINE_START);
            bottomPanel.add(statusPanel, BorderLayout.CENTER);
            JPanel game = new JPanel(new BorderLayout());
            game.add(viewPanel, BorderLayout.CENTER);
            game.add(bottomPanel, BorderLayout.PAGE_END);
            JFrame frame = new JFrame();
            frame.getContentPane().setLayout(new BorderLayout());
            frame.getContentPane().add(game, BorderLayout.CENTER);
            frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            frame.setSize(800, 600);
            frame.setVisible(true);
        }

Maybe you are looking for

  • How to insert and  view data in a structure???

    Hi to everyone! I'm trying to append my user define table to a standard table. First i tried like this. 1. I went to the append structure in a transparent table, created one and then included my table in it. It says table cannot be appended in the da

  • Selective Transfer of Data from MacBook to MacBook Pro (both Intel)

    Just got a new MacBook Pro. Needless to say, I'm feeling very lucky and excited. I already activated it and have been using it. Nice! Can anyone provide suggestions on how to selectively transfer data from my old MacBook to the new MacBook Pro. Infor

  • My caps lock is off so why is my text in ps cs6 typing in all caps?

    Im working on a poster that needs to get done asap but all my lettering are in caps. I tested my caps lock and they are off so why is everything still in caps? All the settings are the same as they were when I lasted opened it and there were no probl

  • OPEN PDF'S IN ACROBAT - NOT PREVIEW

    Don't know if this is the proper forum - but does anyone know how to direct PDF's to be opened in Acrobat as opposed to reader ? Like in the rest of the known universe ? Thanks, Sterne

  • Strange behavior of auto-create destionations and access control

    I'm noticing some strange behavior that looks like a bug in IMQ 3.5 SP1 (and earlier). I can't find any mention of this in the Sun Bug parade so I thought I'd ask here. Background: 1) Admin-created queue named 'foo' exists. Verified with imqcmd. 2) U