Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question Not able to compile NSS for solaris11

    I am trying to compile 32 bit nss library with gcc 3.4.3 but getting the below error:

    /usr/ccs/bin/as: unrecognized option `-__STDC__=0'
    gmake[5]: *** [os_SunOS_ultrasparc.o] Error 1
    gmake[5]: Leaving directory `/root/NSS_FRESH/mozilla/nsprpub/SunOS5.11_gcc_OPT.OBJ/pr/src/md/unix'
    gmake[4]: *** [export] Error 2
    gmake[4]: Leaving directory `/root/NSS_FRESH/mozilla/nsprpub/SunOS5.11_gcc_OPT.OBJ/pr/src/md'
    gmake[3]: *** [export] Error 2
    gmake[3]: Leaving directory `/root/NSS_FRESH/mozilla/nsprpub/SunOS5.11_gcc_OPT.OBJ/pr/src'
    gmake[2]: *** [export] Error 2
    gmake[2]: Leaving directory `/root/NSS_FRESH/mozilla/nsprpub/SunOS5.11_gcc_OPT.OBJ/pr'
    gmake[1]: *** [export] Error 2
    gmake[1]: Leaving directory `/root/NSS_FRESH/mozilla/nsprpub/SunOS5.11_gcc_OPT.OBJ'
    gmake: *** [build_nspr] Error 2

    Please let me know the resolution

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    This is a Linux forum yet you are asking about building code on Solaris? Also, you are not providing any details about your environment, what you are trying to build, how you configured the build environment, what are the contents of your Makefile, etc. So, if you don't get any other answers, do NOT be surprised!

    FWIW, I do a serious amount of Solaris (Sparc and x86) development, down to kernel drivers, so I am "somewhat" familiar with the environment...

    Edit: Ok, I see you are trying to compile NSS (Network Security Services I presume?). Still, not enough information.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts