Subject: Re: buildlink2 and gcc3
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 10/10/2002 21:06:20
"Johnny C. Lam" <jlam@netbsd.org> wrote:
> On Thu, Oct 10, 2002 at 05:17:23PM -0400, Jan Schaumann wrote:
> > 
> > On Linux, I use gcc-3.0 as my CC, but it seems that buildlink2 does not
> > like that.  Whenever I try to compile a package that uses buildlink2, I
> > get the following (admittedly not very descriptive) error:
> > 
> > ===> Buildlinking for foo
> > *** Error code 1
> > 
> > When using gcc-2.95.4 things work without a problem.
> > mk/buildlink2/buildlink2.txt says that any compiler should work...
> 
> Set ECHO_BUILDLINK_MSG=echo and PKG_DEBUG_LEVEL=1 in your /etc/mk.conf and
> get more descriptive error messages.  Hopefully, we can find out what's
> going on.

Ah, thanks for getting me into the right direction.  ECHO_BUILDLINK_MSG
helped me determine that the problem was actually a dangling symlink
(not part of pkgsrc), so buildlink2 is working just dandy.

Thanks,
-Jan

-- 
http://www.netbsd.org -
         Multiarchitecture OS, no hype required.