Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jan 2004 12:33:42 -0600
From:      Jeremy Messenger <mezz7@cox.net>
To:        Nuno Teixeira <nunotex@freeshell.org>
Cc:        ports@freebsd.org
Subject:   Re: linux_mesa3 doesn't compile
Message-ID:  <opr09kigdn8ckrg5@smtp.central.cox.net>
In-Reply-To: <20040104182327.GA20957@SDF.LONESTAR.ORG>
References:  <20040104182327.GA20957@SDF.LONESTAR.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 Jan 2004 18:23:27 +0000, Nuno Teixeira <nunotex@freeshell.org> 
wrote:

>
> Hello to all,
>
> I'm trying to install linux_mesa3 on a 5.2 RC:
>
<snip>
> checking for gcc... cc
> checking whether the C compiler (cc -O -pipe -march=athlon-xp ) works... 
> no
> configure: error: installation or configuration problem: C compiler 
> cannot create executables.
<snip>

The real issue is that the linux emulator has the GCC 2.9x.xx. The GCC 
2.9x.xx doesn't supporth the athlon-xp, which meaning you will have to 
change it to i686 or whatever to what GCC 2.9x.xx support in the CPUTYPE 
at /etc/make.conf. I noticed that you use portupgrade, here's what I have 
in my pkgtools.conf:

================================
   MAKE_ARGS = {
     'graphics/linux_mesa3' => [
       'CFLAGS=" -O2 -pipe -march=i686"',
       'STRIP="-s"',
     ],

     [...]

   }
================================

It works fine, I can play tuxracer and etc.

Cheers,
Mezz

> I have attached config.log and `ls /var/db/pkg`.
>
> Thanks,


-- 
bsdforums.org 's moderator, mezz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr09kigdn8ckrg5>