I'm using gmake and gcc to compile Samba on a Solris 2.5 workstation.
During the compilation I get the following error message:
"ld fatal file values-Xa.o: cannot open file; errno=2"
Any suggestions will be welcomed.
Regards,
GKL
I'm using gmake and gcc to compile Samba on a Solris 2.5 workstation.
During the compilation I get the following error message:
"ld fatal file values-Xa.o: cannot open file; errno=2"
Any suggestions will be welcomed.
Regards,
GKL
/usr/ccs/lib/values-Xa.o is in package SUNWarc
system SUNWarc Archive Libraries
The solaris FAQ says:
6.2) What about the linker, the assembler and make?
Solaris ships with everything you need, except for the compiler.
All this stuff lives in /usr/ccs/bin and /usr/ccs/lib.
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
for ucb compat:
SUNWsra, SUNWsrh
These packages are all on the Solaris 2.x CD.
--- end of excerpt from the FAQ
Questions marked with a * or + have been changed or added since
the FAQ was last posted
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.
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. 2. IT-Bewerber Forum der Barmenia versicherungen am 27. Mai 2000
3. values-Xa.o not exist in solaris2.6 ?
4. KDE 1.0 for Solaris 2.5.1/Sparc
5. GCC 3.1 build fails - '/usr/lib/sparcv9/values-Xa.o' missing
7. GCC/LD error values-Xa.o on Solaris 7 (Sparc)
8. Does anybody know 'udbase.dll' ?
9. values-Xa.o
10. ld complained values-Xa.o not found
11. gcc: missing /usr/ccs/lib/values-Xa.o?
12. Where is /usr/ccs/lib/values-Xa.o?
13. Cannot find SUNW_1.7; values-Xa.o