List:General Discussion« Previous MessageNext Message »
From:Thomas Spahni Date:March 20 2003 4:45pm
Subject:Re: 4.0.12 startup problem InnoDB related
View as plain text  
Benjamin,

you are right: make distclean did the trick

Best regards,
Thomas

On Thu, 20 Mar 2003, Benjamin Pflugmann wrote:

> On Thu 2003-03-20 at 15:59:29 +0100, tsp@stripped wrote:
> > Hi,
> >
> > I was upgrading from 4.0.10 to 4.0.12 when a strange thing happened. I
> > compiled from source on SuSE-8.0 (gcc version 2.95.3, kernel 2.4.18-4GB)
> > and installed and everything was fine. However I noticed that I had
> > debugging compiled in.
> >
> > I went back, took out --with-debug from my configure options and
> > recompiled. The resulting mysqld did no longer start up but quit with the
> > following message in error.log:
> >
> > 030320 09:02:00  mysqld started
> > InnoDB: Error: trx_t size is 416 in ha_innodb.cc but 456 in srv0start.c
> > InnoDB: Check that pthread_mutex_t is defined in the same way in these
> > InnoDB: compilation modules. Cannot continue.
> > 030320  9:02:00  Can't init databases
> > 030320  9:02:00  Aborting
> >
> > How strange; I deleted all InnoDB files in the data directory. Same
> > result. Then I recompiled again adding the option --with-debug and it
> > started ok creating all necessary files.
> >
> > What is wrong here?
>
> Such a config change requires to do a full recompile (make distclean
> or whatever), which you apparently did not.
>
> HTH,
>
> 	Benjamin.

Thread
4.0.12 startup problem InnoDB relatedThomas Spahni20 Mar
  • Re: 4.0.12 startup problem InnoDB relatedBenjamin Pflugmann20 Mar
    • Re: 4.0.12 startup problem InnoDB relatedThomas Spahni20 Mar