List:Internals« Previous MessageNext Message »
From:Chad MILLER Date:February 9 2009 5:39pm
Subject:Re: Build with debug option
View as plain text  
On 9 Feb 2009, at 11:57, Hiromichi Watari wrote:

>
> I'm trying to build from development 6.0 source with debug option  
> with the following make error(first of many).
>
> $ ./configure --with-debug
>         .
>         .
>         .
> mysql.o: In function `build_completion_hash':
> /usr/local/mysql-6.0-build/client/mysql.cc:2516: undefined reference  
> to `_db_enter_'
>
>
>
> I did pull in the source tree with dbug directory with dbug_long.h,  
> dbug.c and so on.
> Anybody has any idea ?


I haven't looked at the source, but that is usually a case of having a
DBUG_*RETURN without a DBUG_ENTER.  DBUG_ENTER creates some variables  
to hold state about this stack frame.  DBUG_RETURN uses them to  
validate execution.  Having one without the other should be an error,  
but it usually manifests itself as that cryptic message.

- chad
Thread
Build with debug optionHiromichi Watari9 Feb
  • Re: Build with debug optionChad MILLER9 Feb
    • Re: Build with debug optionHiromichi Watari9 Feb
      • Re: Build with debug optionGuilhem Bichot9 Feb
        • Re: Build with debug optionHiromichi Watari10 Feb
          • Re: Build with debug optionGuilhem Bichot10 Feb
            • Re: Build with debug optionHiromichi Watari10 Feb
              • Re: Build with debug optionVladimir Shebordaev10 Feb
                • Re: Build with debug optionHiromichi Watari10 Feb
                  • Re: Build with debug optionVladimir Shebordaev12 Feb
              • Re: Build with debug optionGuilhem Bichot10 Feb
                • Re: Build with debug optionHiromichi Watari11 Feb
                  • Re: Build with debug optionGuilhem Bichot11 Feb
                    • Re: Build with debug optionHiromichi Watari11 Feb
                      • Re: Build with debug optionGuilhem Bichot11 Feb
                        • Re: Build with debug optionHiromichi Watari12 Feb