Something error when modload in Solaris9/sparc9

hi, I have a question.
My os is Solaris9/sparc9.
I use gcc 3.4.2 compile a simple program,my command is
#gcc -D_KERNEL -DSVR4 -DSOL2 -DDEBUG -O3 -c mymod.c
#ld -o mymod -r mymod.o
but ,when I modload mymod, there is an error, "can't load module: No such file or directory"
if I use gcc as:
#gcc -m64 -D_KERNEL -DSVR4 -DSOL2 -DDEBUG -O3 -c mymod.c
#ld -o mymod -r mymod.o
then modload is ok !!!???
I need not want the "-m64" because I want use memcpy.o in my program.
if I use "-m64", ld is not correct for memcpy.o,
(#ld -o mymod -r mymode..o memcpy.o
ld: fatal: file memcpy.o: wrong ELF class: ELFCLASS32)
How can i do it?
thank you!

Hello.
From what I know, Sun does now ship 64-bit libc archive
I need it for some time-related functionsOn the Sun website I read that newer Solaris versions (Solaris 11 ?) will require dynamically linked applications. For this reason Sun does not ship static libraries any longer. A 64 bit "libc.a" does not exist. The 32 bit version of "libc.a" is only there for compatibility with very old programs.
For functions that do not access the OS kernel (such as time-converting functions) you may use the GNU "libc" library that is used by Linux. It is open-source so it can be compiled for Sparc 64. The parts that are written in assembler exist in a lot of variants - a "sparc64" variant is also available.
Martin

Similar Messages

  • I could not get ExportPDF to work. Something about a network error when trying to sign in.

    I could not get ExportPDF to work. Trying to convert a pdf to a Word document. Got an error message. Something about a network error when attempting to sign in.

    Try the following:
    1. Reset
    Hold the Sleep and Home button down until you see the Apple logo
    2. Restore:
    http://support.apple.com/kb/HT1414
    3. Recovery:
    http://support.apple.com/kb/HT1808

  • HT1386 I've updated my 2007 MacBook to 10.6.8, and now my iPhone 3 (used as iPod) and iPhone 4 aren't recognized to be synced anymore or I get an error message telling me to update my phone to 11.1 or something. When I do that is appears to update and whe

    I've updated my 2007 MacBook to 10.6.8, and now my iPhone 3 (used as iPod) and iPhone 4 aren't recognized to be synced anymore or I get an error message telling me to update my phone to 11.1 or something. When I do that is appears to update and when finished nothing appears to have updated.

    It is possible one of the 10.6.8 updates may help:
    Combo v1.1 (7/25/2011), 10.6.8 2013 Security Update 004, 2013-005 Java update.
    Note, your machine is too old to use the latest Java from http://www.java.com/

  • I have an error when installing apps on my mac from the apple store. It says "return to the purchase page and try again"... I think it is something to do with the installation process itself. I have tried to clear apple store cache, restarted apple s

    I have an error when installing apps on my mac from the apple store. It says "return to the purchase page and try again"... I think it is something to do with the installation process itself. I have tried to clear apple store cache, restarted apple store from debug menu, double checked my apple id account and etc..but doesn't work anyway.

    I'm having the same problem and went as far as to delete and reinstall the AppStore and still no dice.

  • HT4623 I screwed up.  I was trying to SYNC and something (error msg) happened.  I tried to continue the SYNC and now my IPhone is dead.  All I can get when I turn it on is a picture, from bottom  to top, I have an WSB connector, an up arrow, and an iTunes

    I screwed up.  I was trying to SYNC and something (error msg) happened.  I tried to continue the SYNC and now my IPhone is dead.  All I can get when I turn it on is a picture, from bottom  to top, I have an WSB connector, an up arrow, and an iTunes icon.  I can't use the phone.  And it's my only phone.  What can I do to rectify this situation.

    It's telling you to connect to ITunes and restore your phone. This will have to be done with a USB cable and iphone connector that came with your charger.

  • I'm getting the following error when I want to put something in Mycloud : 6/02/12 21:00:14,689 Cloud: -[__NSCFDictionary name]: unrecognized selector sent to instance 0x1002d57c0

    I'm getting the following error when I want to put something in Mycloud : 6/02/12 21:00:14,689 Cloud: -[__NSCFDictionary name]: unrecognized selector sent to instance 0x1002d57c0

    I'm getting the following error when I want to put something in Mycloud : 6/02/12 21:00:14,689 Cloud: -[__NSCFDictionary name]: unrecognized selector sent to instance 0x1002d57c0

  • Error when starting Adobe Form

    I have an Adobe Form which works Ok in the development SAP Portal, but that, when I log in the production portal gives the following error:
    Error when reinitializing the form (I guess, it's Error al reinicializar el formulario, in Spanish)
    I think maybe there is something missing to transport, or some misconfiguration, but I haven't been able so far to find it...
    Can someone give me a hand?
    Thank you in advance,
    S.

    Hi,
    Can you tell me when does the error message comes? Does it comes when you are trying to open the Form or when you are trying to execute it.
    Please check if it is still working in the development box?
    Regards,
    Susanta

  • Error when assigning a value to a class

    Hi,
    Here's what I have:
    package com.myprograms.tools1;
    public class A
    public long orderId;
    public int nameId;
    public int carId;
    public int anId;
    package com.myprograms.tools1;
    public class B
    public A classOfA;
    //MAIN Program
    import com.myprograms.tools1;
    public class getClass
    B b= new B();
    b.classOfA.orderId = 10029292;
    I get a Null Pointer Exception when I assign a value to the var.
    Can anybody help point out the problem?
    Thanks!

    What exactly is the error message... i.e. line numbers and class names...
    Example: Full thread dump Java HotSpot(TM) Client VM (1.5.0-beta2-b51 mixed mode, sharing
    "SIGINT handler" daemon prio=10 tid=0x03264410 nid=0xea0 waiting for monitor ent
    ry [0x080bf000..0x080bfa68]
            at java.lang.Shutdown.exit(Unknown Source)
            - waiting to lock <0x2b31a868> (a java.lang.Class)
            at java.lang.Terminator$1.handle(Unknown Source)
            at sun.misc.Signal$1.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)Okay, that was too funny... LOL...
    This example error is courtesy of me being a complete... Well, let's just say, that was dumb...
    It has almost been an hour since I launched off that little app...
    You know you did something wrong when you can actually hear the HardDrive and Fan slow down...
    Anyway... LOL... what are the errors, and what is the rest of the code ? or is it fixed now...
    - MaxxDmg...
    - ' He who never sleeps... '

  • Runtime Error when starting Lightroom

    I'm currently on day 12 or so of my trial with Lightroom. I've spent quite a few hours getting to know LR by retouching and cataloging over 8 years of photos. So far, aside from a few in-program bugs that I found a way to work around, I've been super-happy with it (especially the powerful keywording/metatagging system: amazing!) and have been really seriously coughing up the huge wad of $$ when the trial's done. But....
    For no reason, LR started giving me a Runtime Error when I tried to start it. Something along the lines of "This application requested Runtime to terminate it unusually."
    So off to Google I went, where I knew I could probably search that error and fix it like I've done with countless other programs. Unfortunately nothing is working.
    Here are the facts:
    --I'm running a fully patched Vista machine.
    --LR worked fine earlier this morning. I had 1.4 and didn't perform any upgrades or maintenance to it (that I know of) when it just gave me the error out of the blue today when I tried to start it.
    --I tried holding CTRL when I start it, and it still gives the error.
    --I tried deleting a .lock file (which did exist) but it still wouldn't start.
    --I tried running the "repair" tool in the install...no good.
    --I uninstalled LR, d/led it again, and re-installed it. IT WORKED!....one time. I was able to run it, checked to make sure my cataloging was still intact (it was - phew!) and even deleted a folder I didn't want in it. Then I closed it. I tried re-opening it a few hours later and I got the SAME ERROR!
    I sure hope someone can help because I'm at my wit's end.

    This is disgusting. I've pounded away for over 4 hours and I finally found a workaround. Here's the original post that had my answer:
    http://www.adobeforums.com/webx/.3c05ac2f
    The short of the story: if I put lightroom.exe into Windows XP compatibility mode" it will work. (To do that, for anyone else who comes across this, you just right-click your lightroom icon, click PROPERTIES, and go to the Compatibility tab and check the box next to "Run this program in compatibility mode for:" and select "Windows XP (Service Pack 2)")
    I've loaded it up half a dozen times and it's still working perfectly as far as I can tell. Hopefully it won't hurt anything keeping it in that mode.
    I'm glad this happened early enough into my trial that I'll have ample opportunity to see if it repeats itself. I'm not keen on sinking $300 into software that will give me ulcers as I troubleshoot problems like this.

  • Unexpected error when trying to sign in to sync

    Version 32.0.3 installed. I've been getting a message that Firefox unable to sync for the last **days So when i tried to log out of sync and log back in. I get an error "unexpected error" when i try to log in. So i tried to create a new account and get the same issue from the log in page. Have looked at everything listed on troubleshooting sync page Still the same issue.

    HI mfackler,
    That usually means something has gone wrong. If you have already tried to sign out and back in in accounts.firefox.com please provide the following troubleshooting information for further investigation:
    * How do I turn on sync logs:
    # Open about:config and turn on: services.sync.log.appender.file.logOnSuccess and services.sync.log.logger.engine.bookmarks
    # Restart Firefox and look at: about:sync-log
    # Logs and error messages will be located here
    Please also use pastebin.mozilla.org for sharring any errors that relate to this issue.
    Thank you.

  • Color picker does not work, " program error when I click, photoshop cc

    I am user of photoshiop cc and it worked fine until several days ago but suddenly it shows " program error " when I click color picker, and I can not use changing color. Please help me to resolve this issue.

    There was a bug with photoshop CC concerning the color picker and its swatches. Make sure you have the latest version and then if it still exists, reset your tools in the upper left hand corner which would be the very first icon in the top tool bar. That should fix it. If not let us know and maybe someone can think of something else.

  • Photoshop CS5: error when printing to Xerox Phaser 7750

    Mac 10.6.5
    I get the following error when I print directly to my Xerox Phaser 7750 from Photoshop CS5:
    "Error: /Library/Printers/Xerox/Filters/pstophaserps failed"
    All the other CS5 apps (plus Photoshop CS4) have no trouble printing.
    Thanks in advance for any assistance.

    Something doesn't add up since PS CS4 works ok. What's different about CS5? 64bit?
    My guess would be that Photoshop is the only app you use that prints PostScript through the Cocoa drivers, and thus the only one hitting that particular part of the driver software.
    >

  • Adobe Bridge CS5, error when creating contact sheet "There is insufficient disk space..."

    I am running Bridge CS5 for the first time and I receive this error when attempting to create a contact sheet. "There is insufficient disk space to complete this operation." The image files I am using are web optimized and very small. The error even occurs when attempting one small image. I have gone back to using Bridge CS4 and it works just fine. Any help?
    Thanks!

    I think I narrowed this down to having a network volume mounted with a share name of "Users".  The strange thing is even you if unmount the volume you will still have problems.  However, if you avoid mounting the volume entirely (from boot) it will be OK.
    The solution, it appears, is to rename the sharepoint to something other than "Users".  This worked for us.  I'm not sure if it matters whether the server is Windows or Mac OS.  In our case the sharepoint was an AFP volume on Mac OS.
    We had other errors related to Bridge such as "unable to create folder" and the path in the message appeared to be /Users/currentUser/.....  which made no sense at all.  However, if Bridge was internally trying to use /Volumes/Users (the mounted sharepoint), it would not only not find "currentUser", but it would not have permissions to create that folder either.
    So, another possible solution could be to grant file creation rights on the network volume "Users".  Another not-so-great idea.
    Hope that helps someone else!

  • Error when trying to update or download any app

    I'm getting an Error when trying to update or download any app from Mac App Store
    Every time I try to update xCode to version 6.2 but I get this error :
    The server gave an error during download: 503 Service Unavailable.
    So I tried to download a random app from the App Store but I got the same error message.
    So any advices ?

    Hello HusseinAlBehary,
    Sorry to hear your troubles updating and downloading apps from the Mac App Store. Based on when you were doing that, it looks like the Mac App Store was experiencing difficulties. It is not currently so you should be able to upgrade with out issues now. If you experience this in the future, look at the page below to start you on figuring out if it is something on your end or Apple’s end. 
    Apple Services, Stores, and iCloud
    https://www.apple.com/support/systemstatus/
    Regards,
    -Norm G.  

  • Error when trying to access the RBAC User editor and Message tracking

    Hi,
    I am getting an error when trying to access the RBAC User editor and Message tracking on the Web Mgmt interface. I verified that the admin account trying to access is in the Organization Management group and has the correct Role Assignment Policy applied.
    I searched through this thread below and saw that matching the msExchRoleLink and msExchUserLink attributes fixed the issue. 
    https://social.technet.microsoft.com/Forums/exchange/en-US/fc568cc6-8691-4127-b70b-bcc82f9b1f7f/first-2010-cas-server-no-administrator-rights-emc-permissions-gone?forum=exchange2010
    However I have another environment where this is not the case and works just fine; the msExchUserLink attribute has a value of CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=Domain,DC=Local which is different as per the issue outlined in
    the above thread so I am not convinced that this will work and also don’t want to blindly edit something in adsiedit without being sure.
    I then checked the event logs on the server and saw the below error logged;
    Current user: 'Domain/Server Services Accounts/administrator'
    Request for URL 'https://server.domain.com/ecp/default.aspx?p=AdminDeliveryReports&exsvurl=1' failed with the following error:
    System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the
    page. Please contact your administrator for the required credentials. For new credentials to take effect, you have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       --- End of inner exception stack trace ---
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at ASP.default_aspx.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the page. Please contact your administrator for the required credentials. For new credentials to take effect, you
    have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I then had a look at the IIS permissions for ecp and owa. The account did not have permissions so I added them there but still got the same error. I’ve also tried all of the above with a newly-created account but still got the same issue.
    Any ideas as to what the above event log is specifically referring to?

    Hi,
    From your description, I would like to clarify the following thing:
    If you want to search message tracking logs, the account you use should be a member of the role groups below:
    Organization Management role group, Records Management role group, Recipient Management role group.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

Maybe you are looking for

  • Problem with Itunes and Remote when external DAC is used

    I am using IPad Remote app to connect to itunes library paired a windows vista Toshiba Laptop. When  the pc speaks are used or the iPad for audio reproduction, everything works OK, and iPad Remote can connect to iTunes Library. Unfortunately when the

  • Can no longer burn data to CD disks

    Message appears "The drive reported an error Sense Key = Hardware error sense code = 0x44, 0xD6 INTERNAL TARGET FAILURE SINCE I INSTALLED MAVERICKS, CAN NO LONGER BURN DISKS. I had Toast 10.4 and was persuaded to upgrade to 10.09. When I downloaded a

  • Optimal screen resolution for Windows XP

    I'm using Windows XP at times, and it was installed for me when I purchased the computer via MacMall. The screen resolution is sat at screen: 1440 x 900 Color 32 BPP. Is this the desirable setting? I have not change it, as I'm wary to experiment too

  • How do i connect my MX432 to my HTC phone?

    I am trying to "find" my printer on my home wifi and my  HTC phone can't locate it.  Do i have to do something to make my printer visible for the phone to find it?

  • Changing layer position vertically

    I'm having a problem when adding a new layer that needs to be positioned below older layers on the timeline. When I drag the layer down, it -overlays- another layer, rather remaining separate. Or it positions itself on a layer with other video, which