[antlr-interest] Re: Compiling/linking Antlr on Solaris

bguillot_hit guillot.bernard at hit.com.hk
Thu Aug 22 18:13:28 PDT 2002

The Make in Solaris is known for behaving quite differently than other

Try downloading the GNU Make from http://www.sunfreeware.com it should
solve your problem.

Bernard Guillot

--- In antlr-interest at y..., "tim_michel" <tim_michel at y...> wrote:
> I'm having problems compiling and linking with Antlr 2.7.1 on 
> Solaris 2.8 using Sun's Forte V6 update 2, (Sun WorkShop 6 update 2
> C++ 5.3).  However, I've tried using 5.0 and 5.2 with the same 
> results.
> I downloaded 2.7.1, ran ./configure, it built a C++ lib just fine.
> When I try to link the library to my program, I get unresolves of
> the form (this is a partial example):
> __rwstd::__rb_tree<std::basic_string<char,std::char_traits<char>,
>   std::allocator<char> >, (much stuff clipped here)
>   antlr::CharScannerLiteralsLess,std::allocator (more clipped)
>   const libantlr.a(CharScanner.o)
> __type_1 std::copy<int*,int*>(__type_0,__type_0,__type_1)
>   libantlr.a(InputBuffer.o)
> ... and so on.
> So, for fun I downloaded the 2.7.2a2 release, and setenv CC and CXX
> to my Sun compiler and ran the ./configure script.  When I went to
> run my gnu make, I get the error:
> "scripts/Rules.make:278: *** target pattern contains no `%'.  Stop."
> I get this error using g++ on 2.7.2a2 also.  The make file looks
> okay, but I didn't examine it too closely.  It just doesn't build.
> I looked all through the FAQ, but could find little regarding build
> problems.  What I'm I doing wrong?
> Thanks,
> Tim


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

More information about the antlr-interest mailing list