This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris 64-bit compilation fails with otherwise successfulgcc-3.1
- From: Jeff Sturm <jsturm at one-point dot com>
- To: "Alaeddin A. Aydiner" <aydiner at empc22 dot ece dot uiuc dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 26 May 2002 21:37:36 -0400 (EDT)
- Subject: 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