Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2002 20:49:48 -0700
From:      walt <wa1ter@hotmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: fam broken in -current [10 Sep 2002
Message-ID:  <3D7EBD5C.70708@hotmail.com>
References:  <3D7E8277.7000602@hotmail.com> <20020910234202.GA71399@wwweasel.geeksrus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alan E wrote:
> On Tue, Sep 10, 2002 at 04:38:31PM -0700, walt wrote:
> 
>>Alan E. wrote in freebsd-ports:
>>
>>
>>>>mntent_compat.c++:45: 'string' is used as a type, but is not defined as a
>>>>type.
>>>
>>>Hmm, do you suppose that I need to use the std:: prefix?
>>>
>>>Could you try changing string to std::string and let me know if that
>>>works?
>>
>>Completely different error now:
>>
>>
>>c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
>>-DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\"    -O -pipe 
>>-mcpu=pentiumpro -Wno-deprecated -c -o mntent_compat.o `test -f 
>>mntent_compat.c++ || echo './'`mntent_compat.c++
>>mntent_compat.c++: In function `void
>>  __static_initialization_and_destruction_0(int, int)':
>>mntent_compat.c++:48: Internal compiler error in cp_expr_size, at 
>>cp/cp-lang.c:
>>  130
> 
> 
> Where'd the -mcpu=pentiumpro come from? Try getting rid of it.


Seems to be the default in /usr/share/mk/bsd.cpu.mk for Intel CPUs.
Anyway, using 'make CPUTYPE=i386' gets rid of the flag, but not the error:

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
-DCONFIG_ETC_CONFIG_PATH=\"/usr/local/etc/fam.conf\"    -O -pipe  -Wno-deprecated -c -o 
mntent_compat.o `test -f mntent_compat.c++ || echo './'`mntent_compat.c++
mntent_compat.c++: In function `void
    __static_initialization_and_destruction_0(int, int)':
mntent_compat.c++:48: Internal compiler error in cp_expr_size, at cp/cp-lang.c:
    130


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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