MySQL 4.0.24 + kernel 2.6.11 compile problems

"Jozef 'azurIt' Sudolsky" <[email protected]> Sat, 12 Mar 2005 20:56:24 +0100
Newsgroups gmane.comp.db.mysql.bugs
Message-ID <[email protected]>
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]