看板 DFBSD_bugs 關於我們 聯絡資訊
On Wed, 30 Mar 2005, Vyacheslav Bocharov wrote: > On Tue, 29 Mar 2005 17:56:16 -0800 > walt <wa1ter@myrealbox.com> wrote: > > > > Hello > > > I'm trying to rebuild audio/arts port to upgrade kde install and ran > > > into this error. Is anyone else seeing this? If not, any ideas what I > > > should do to fix? > > > > > -mtune=pentiumpro > > > > I just compiled 'arts' with no problem. > > > > I have never seen the 'mtune' flag before, so I am wondering what you > > have in your /etc/make.conf ? > X_WINDOW_SYSTEM=xorg > CCVER=gcc34 I just compiled arts with gcc34 and got the same error, so that is the problem. Usually, such problems happen because gcc34 does not pre-define the __FreeBSD__ variable, so the ports which depend on that variable wind up being mis-configured. I can often grep through the code for __FreeBSD__ and fix the problem quickly if it occurs in only one or two places. In this case I don't see __FreeBSD__ anywhere in the arts code, so it must be something else. I'll try comparing the config.log from gcc2 with gcc34 and see if I can spot anything that might be a clue. If you just want to get your system working with few headaches, you should stick to building ports with gcc2 for the time being. Using gcc34 can be quite difficult.