| Author |
Message |
Sheer *nix forums beginner
Joined: 09 Mar 2006
Posts: 20
|
Posted: Mon Jul 17, 2006 8:46 am Post subject:
veeery STRANGE compilation errors!!
|
|
|
I do not know really why but for several moths I have very starneg and
annoying compilation errors, they are very various but mainly concerning
the *syntax* errors of a source code...
for instance, yesterday I couldn't compile x-sever but when I changed the
compilation flag '-Os' to '-O3' then it went smoothly!
PS. could it be becouse I use ccache set on the ReiserFS partition? (ie.
just an *exclusive* partition for the ccache alone! the size is set 4GB)
Today, I have again the strange errors, little different then usual...
I tried to compile 'cyrus-sasl' and the following is the core of error
message (especially turn your attention please on "`CFLAGS' has changed
since the previous run" - I have not changed anything during compilation!):
configure: configuring in saslauthd
configure:
running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mand
ir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir
=/var/lib' '--with-saslauthd=/var/lib/sasl2' '--with-pwcheck=/var/lib/sasl2' '--with-configdir=/etc/sasl2'
'--with-plugindir=/usr/lib/sasl2' '--with-dbpath=/etc/sasl2/sasldb2' '--enable-login' '--enable-ntlm' '--
disable-krb4' '--disable-otp' '--with-openssl' '--with-pam' '--with-ldap' '--enable-ldapdb' '--disable-sam
ple' '--disable-gssapi' '--without-mysql' '--disable-mysql' '--with-pgsql' '--enable-postgres' '--disable-
srp' '--enable-java' '--with-javahome=/opt/blackdown-jdk-1.4.2.03' '--without-authdaemond' '--enable-sql'
'--with-dblib=berkeley' '--build=i686-pc-linux-gnu' 'CFLAGS= -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DI
SABLE_ASSERT -s -z combreloc -fomit-frame-pointer' 'LDFLAGS=-s -z
combreloc' 'build_alias=i686-pc-linux-gn
u' 'host_alias=i686-pc-linux-gnu' --cache-file=.././config.cache --srcdir=.
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure: former
value: -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DISABLE_ASSERT -s -z
combreloc -f
omit-frame-pointer
configure: current
value: -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DISABLE_ASSERT -s -z
combreloc -fo
mit-frame-pointer
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and
start over
configure: error: /bin/sh './configure' failed for saslauthd
--
Sheer |
|
| Back to top |
|
 |
Ray *nix forums beginner
Joined: 17 Jul 2006
Posts: 1
|
Posted: Mon Jul 17, 2006 11:09 pm Post subject:
Re: veeery STRANGE compilation errors!!
|
|
|
On Mon, 17 Jul 2006 10:46:19 +0200, Sheer wrote:
| Quote: | I do not know really why but for several moths I have very starneg and
annoying compilation errors, they are very various but mainly concerning
the *syntax* errors of a source code...
for instance, yesterday I couldn't compile x-sever but when I changed the
compilation flag '-Os' to '-O3' then it went smoothly!
PS. could it be becouse I use ccache set on the ReiserFS partition? (ie.
just an *exclusive* partition for the ccache alone! the size is set 4GB)
Today, I have again the strange errors, little different then usual...
I tried to compile 'cyrus-sasl' and the following is the core of error
message (especially turn your attention please on "`CFLAGS' has changed
since the previous run" - I have not changed anything during compilation!):
configure: configuring in saslauthd
configure:
running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mand
ir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir
=/var/lib' '--with-saslauthd=/var/lib/sasl2' '--with-pwcheck=/var/lib/sasl2' '--with-configdir=/etc/sasl2'
'--with-plugindir=/usr/lib/sasl2' '--with-dbpath=/etc/sasl2/sasldb2' '--enable-login' '--enable-ntlm' '--
disable-krb4' '--disable-otp' '--with-openssl' '--with-pam' '--with-ldap' '--enable-ldapdb' '--disable-sam
ple' '--disable-gssapi' '--without-mysql' '--disable-mysql' '--with-pgsql' '--enable-postgres' '--disable-
srp' '--enable-java' '--with-javahome=/opt/blackdown-jdk-1.4.2.03' '--without-authdaemond' '--enable-sql'
'--with-dblib=berkeley' '--build=i686-pc-linux-gnu' 'CFLAGS= -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DI
SABLE_ASSERT -s -z combreloc -fomit-frame-pointer' 'LDFLAGS=-s -z
combreloc' 'build_alias=i686-pc-linux-gn
u' 'host_alias=i686-pc-linux-gnu' --cache-file=.././config.cache --srcdir=.
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure: former
value: -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DISABLE_ASSERT -s -z
combreloc -f
omit-frame-pointer
configure: current
value: -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DISABLE_ASSERT -s -z
combreloc -fo
mit-frame-pointer
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and
start over
configure: error: /bin/sh './configure' failed for saslauthd
|
Disable ccache and then try emerge --resume |
|
| Back to top |
|
 |
Sheer *nix forums beginner
Joined: 09 Mar 2006
Posts: 20
|
Posted: Tue Jul 18, 2006 3:04 pm Post subject:
Re: veeery STRANGE compilation errors!!
|
|
|
Ray wrote:
| Quote: | Disable ccache and then try emerge --resume
|
how to fast enbable/disable ccache on the fly?
--
Sheer |
|
| Back to top |
|
 |
Sheer *nix forums beginner
Joined: 09 Mar 2006
Posts: 20
|
Posted: Tue Jul 18, 2006 4:56 pm Post subject:
Re: veeery STRANGE compilation errors!!
|
|
|
Sebastian Volke wrote:
| Quote: | Change your make.conf.
Just remove ccache from the FEATURES variable.
|
thanks! I was seeking this option there and somehow overlooked it...
--
Sheer |
|
| Back to top |
|
 |
Sheer *nix forums beginner
Joined: 09 Mar 2006
Posts: 20
|
Posted: Tue Jul 18, 2006 5:08 pm Post subject:
Re: veeery STRANGE compilation errors!!
|
|
|
Ray wrote:
| Quote: | Disable ccache and then try emerge --resume
|
this has NOT helped at all :(
the exactly the same problem still persists!
--
Sheer |
|
| Back to top |
|
 |
Sebastian Volke *nix forums beginner
Joined: 12 Nov 2005
Posts: 31
|
Posted: Tue Jul 18, 2006 6:17 pm Post subject:
Re: veeery STRANGE compilation errors!!
|
|
|
Sheer wrote:
| Quote: | Ray wrote:
Disable ccache and then try emerge --resume
how to fast enbable/disable ccache on the fly?
Change your make.conf. |
Just remove ccache from the FEATURES variable. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|