values-Xa.o

values-Xa.o

Post by Tuan Pham-Din » Wed, 29 Dec 1999 04:00:00



        Hi,
        I have just upgraded my system to solaris-2.7. I have chosen
the "end user support" to save space. Now, I realize that there is no
values-Xa.o and related files so I can't compile. I have taken care to
add the package SUNWtoo (Programming Tools) SUNWhea and SUNWxwinc (for
include files) but thjis is not sufficient and I can't find out in what
values-Xa.o package is in. Can any one give me this information (by
the way, is there any command or any means to know the package which
provides a given system file ?)
        Thank.
--

Laboratoire de Modelisation et Calcul  | Tel: +33 4 76 51 44 23
BP 53, 38041 Grenoble cedex 9 (France) | Fax: +33 4 76 63 12 63
-----------------------------------------------------------------------
 
 
 

values-Xa.o

Post by Casper H.S. Dik - Network Security Engine » Wed, 29 Dec 1999 04:00:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>    I have just upgraded my system to solaris-2.7. I have chosen
>the "end user support" to save space. Now, I realize that there is no
>values-Xa.o and related files so I can't compile. I have taken care to
>add the package SUNWtoo (Programming Tools) SUNWhea and SUNWxwinc (for
>include files) but thjis is not sufficient and I can't find out in what
>values-Xa.o package is in. Can any one give me this information (by
>the way, is there any command or any means to know the package which
>provides a given system file ?)

You need the SUNWarc package.

The solaris FAQ says:

6.2) Which packages do I need to install to support a C compiler?

    Solaris ships with everything you need, with the exception of the
    compiler itself.  Solaris ships with the include files, make, an
    assembler, linker and libraries.  All this stuff lives in
    /usr/ccs/bin (add it to your PATH before /usr/ucb if that's in your
    PATH as well) /usr/ccs/lib and /usr/include.

    If you still can't find it, make sure you have the following
    packages installed on your system:

        for tools (sccs, lex, yacc, make, nm, truss, ld, as):
            SUNWbtool, SUNWsprot, SUNWtoo
        for libraries & headers:
            SUNWhea, SUNWarc, SUNWlibm, SUNWlibms
            SUNWdfbh, SUNWcg6h, SUNWxwinc, SUNWolinc,
            SUNWxglh
        for 64 bit development:
            SUNWarcx, SUNWbtoox, SUNWdplx, SUNWscpux, SUNWsprox,
            SUNWtoox, SUNWlmsx, SUNWlmx, SUNWlibCx
        for ucb compat:
            SUNWsra, SUNWsrh

    These packages are all on the Solaris 2.x CDs, except that some
    packages may only exist in some releases and not in others.
    Some packages may be on separate CDs, such as the "Desktop/CDE"
    CD, but all are part of the Solaris "bundle".

    --- end of excerpt from the FAQ

The most recently posted version of the FAQ is available from
<http://www.wins.uva.nl/pub/solaris/solaris2/>
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

values-Xa.o

Post by Tuan Pham-Din » Thu, 30 Dec 1999 04:00:00



> [[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


> >       I have just upgraded my system to solaris-2.7. I have chosen
> >the "end user support" to save space. Now, I realize that there is no
> >values-Xa.o and related files so I can't compile. I have taken care to
> >add the package SUNWtoo (Programming Tools) SUNWhea and SUNWxwinc (for
> >include files) but thjis is not sufficient and I can't find out in what
> >values-Xa.o package is in. Can any one give me this information (by
> >the way, is there any command or any means to know the package which
> >provides a given system file ?)

> You need the SUNWarc package.

> The solaris FAQ says:

Thank. This FAQ is quite helpful

--

Laboratoire de Modelisation et Calcul  | Tel: +33 4 76 51 44 23
BP 53, 38041 Grenoble cedex 9 (France) | Fax: +33 4 76 63 12 63
-----------------------------------------------------------------------

 
 
 

1. Where is /usr/ccs/lib/values-Xa.o and others in Solaris 2.1 ?

Help !

After installing Solaris 2.1 and GCC (cygnus-2.2.4 release from the prime-time
freeware cdrom) I could compile but not link C programs !
GCC seems to need the following files, which are NOT included in Solaris 2.1
(yes, i have searched all the pkgmap files on the Solaris 2.1 distribution
cdrom without success, these files just aren't distributed anymore):

/usr/ccs/lib/values-Xc.o
/usr/ccs/lib/values-Xt.o
/usr/ccs/lib/values-Xa.o

The good thing is, GCC and the Solaris Linker (I haven't used GNU-ld) don't
depend on these files. According to 'config/svr4.h' in the GNU-C Distribution,
these files define a global variable '_lib_version' with special (magic :-)
values to define if the (dynamically linked) library is to behave Ansi-like
or not. I think this isn't true anymore ?!

The solution was to create an empty file named 'values-Xa.c' and compile it
with 'gcc -c'. Copying the resulting file 'values-Xa.o' to /usr/ccs/lib
keeps the linker happy and everything works fine.

But is this the correct way ?? Can anybody confirm/deny this solution ?

Thanks for any help !

Klaus

--

Jakobstr. 181                Fax:    0241-403407
D-5100 Aachen                Voice:  0241-403446

2. Devices setup?

3. values-Xa.o not exist in solaris2.6 ?

4. Encoding binary files in HTML pages + Environment variable limits

5. GCC 3.1 build fails - '/usr/lib/sparcv9/values-Xa.o' missing

6. XFS filesystem support

7. GCC/LD error values-Xa.o on Solaris 7 (Sparc)

8. what is metamail??

9. ld complained values-Xa.o not found

10. gcc: missing /usr/ccs/lib/values-Xa.o?

11. values-Xa.o

12. Where is /usr/ccs/lib/values-Xa.o?

13. Cannot find SUNW_1.7; values-Xa.o