[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem during make under Solaris 5.9
From: |
Dan Nelson |
Subject: |
Re: Problem during make under Solaris 5.9 |
Date: |
Thu, 11 Mar 2004 18:04:48 -0600 |
User-agent: |
Mutt/1.5.6i |
In the last episode (Mar 10), Hugo Girard said:
> Hello,
>
> I try to install spamass-milter-0.1.3 under Solaris 5.9
> I launch ./configure CXX=gcc . It seems to be good.
>
> Then I execute the make and I have the followinfg error
>
> gcc -g -O2 -D_REENTRANT -pthreads -o
> spamass-milter spamass-milter.o -lmilter -lresolv -lsocket -lnsl
> Undefined first referenced
> symbol in file
> std::basic_string<char, std::char_traits<char>,
You need to use CXX=g++ in your configure line. "gcc" can compile c++
source but it cannot link it. If you don't have the bundled Sun
compiler, configure should detect gcc and g++ automatically.
--
Dan Nelson
address@hidden