Re: MySQL 4.0.24 + kernel 2.6.11 compile problems

Sergei Golubchik <[email protected]> Sun, 1 May 2005 11:30:18 +0200
Newsgroups gmane.comp.db.mysql.bugs
Message-ID <[email protected]>
Hi!

Sorry for a late answer.
This not fixed yet not because we don't want to fix it, but we are
unsure how :(

Refraining from using atomic operations is an option we'd like to avoid
if possible.

Hopefully, we'll find a solution next week.

On Mar 12, Jozef 'azurIt' Sudolsky wrote:
> hi,
> 
> MySQL 4.0.x is still _NOT_ possible to compile on 2.6.x kernels 
> (version 4.0.24 of MySQL):
> 
> In file included from /usr/include/asm/atomic.h:6,
>                  from ../include/my_global.h:287,
>                  from manager.c:20:
> /usr/include/asm/processor.h:92: `CONFIG_NR_CPUS' undeclared here 
> (not in a func
> /usr/include/asm/processor.h:102: `CONFIG_NR_CPUS' undeclared here 
> (not in a fun
> In file included from /usr/include/asm/atomic.h:6,
>                  from ../include/my_global.h:287,
>                  from libmysql.c:20:
> /usr/include/asm/processor.h:92: `CONFIG_NR_CPUS' undeclared here 
> (not in a func
> /usr/include/asm/processor.h:102: `CONFIG_NR_CPUS' undeclared here 
> (not in a fun
> In file included from /usr/include/asm/atomic.h:6,
>                  from ../include/my_global.h:287,
>                  from password.c:37:
> /usr/include/asm/processor.h:92: `CONFIG_NR_CPUS' undeclared here 
> (not in a func
> /usr/include/asm/processor.h:102: `CONFIG_NR_CPUS' undeclared here 
> (not in a fun
> make[2]: *** [password.lo] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: *** [manager.lo] Error 1
> make[2]: *** [libmysql.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> I wonder how is this possible cos this bug was already found in MySQL 
> 5.0.x (http://bugs.mysql.com/bug.php?id=7970) and I already reported 
> it also affects MySQL 4.0.x (http://lists.mysql.com/bugs/15554).. Can 
> someone tell me when it will be finally possible to compile MySQL on 
> 2.6.x kernels _without_ problems ? :( I'm really wasteing lots of my 
> time because of this..
> 
> azurIt
> 
> _________________________________________
> OMARA PORTUONDO - BUENA VISTA SOCIAL CLUB
> 19.3.2005 o 20,00 PKO Bratislava
> info: 0904 666 363 http://www.xl.sk
> 
> 
> -- 
> MySQL Bugs Mailing List
> For list archives: http://lists.mysql.com/bugs
> To unsubscribe:    http://lists.mysql.com/[email protected]
> 
Regards,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <[email protected]>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, Senior Software Developer
/_/  /_/\_, /___/\___\_\___/  Osnabrueck, Germany
       <___/  www.mysql.com

-- 
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe:    http://lists.mysql.com/[email protected]