Nathalie Jarosz a écrit :
>
> >Well, if you have only the sources, you have first to compile these sources
> >with a C compiler e.g.
> >gcc, then to install the resulting libraries in a place where the linker
> >can found them. Usually
> >with a package come instructions on how to do that. If you have binaries
> >(e.g within a redhat rpm
> >package) they should be already where they belong to.
> When I try to compile one of the sources, the following message appears:
> "undefined first referenced symbol in file
> ignlgi /var/tmp/crrliybX.o
> log /var/tmp/crrliybX.o
> pow /var/tmp/crrliybX.o
> sqrt /var/tmp/crrliybX.o
> exp /var/tmp/crrliybX.o
> main /usr/local/lib/gcc-lib/sparc-sun-solaris2.2.95.2/crt1.o
> spofa /var/tmp/crrliybX.o
> ld:fatal: symbol referencing errors
> No output written to a.out
> collect2 : ld returned 1 exit status"
What do you mean by compile "one" of the sources. C packages come with makefiles to handle the
module dependencies and frequently a configure system to handle the difference between computers and
OSes. You never have to compile files one at a time by hand.
--
Maurice Lombardi
Laboratoire de Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 51 45 44
mailto:Maurice.Lombardi@ujf-grenoble.fr