This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Solaris 64-bit compilation fails with otherwise successfulgcc-3.1


On Sun, 26 May 2002, Alaeddin A. Aydiner wrote:
> g++ -O2 -W -Wall -fstrict-aliasing -m64 -o par_antenna -static
> par_antenna.o
> ld: fatal: library -lm: not found
> ld: fatal: library -lc: not found

Check that you have these libraries installed:

/usr/lib/64/libc.so.1
/usr/lib/64/libm.so.1

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]