MySQL + kernel 2.6.10 compile errors

MySQL + kernel 2.6.10 compile errors

am 19.02.2005 21:48:50 von azurIt

hi,

it's not possible to compile MySQL on kernel 2.6.10 (and maybe also=20
other versoins). i'm trying it _all the day_ but without success..! i=20
pass through bugs #7970 (http://bugs.mysql.com/bug.php?id=3D7970) and=20
#7851 (http://bugs.mysql.com/bug.php?id=3D7851) but then i got this=20
error:

replace.c:379: conflicting types for `set_bit'
/usr/include/asm/bitops.h:43: previous declaration of `set_bit'
replace.c:380: conflicting types for `clear_bit'
/usr/include/asm/bitops.h:78: previous declaration of `clear_bit'
replace.c:755: redefinition of `set_bit'
replace.c:379: `set_bit' previously defined here
replace.c:761: redefinition of `clear_bit'
replace.c:380: `clear_bit' previously defined here
make[2]: *** [replace.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

i'm useing MySQL 4.0.23a, kernel 2.6.10, gcc 3.2.3 on Slackware linux=20
9.1 . if you need any other info just ask for it. any fixes on this ?
thnx

azurIt
=0A____________________________________=0AHladate nove prilezitosti pre Vas=
u firmu ?=0AZapojte sa do verejnych sutazi na Slovensku a v Europskej unii.=
=0ADenne aktualizovane na http://www.epi.sk/vo.htm=0A

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=3Dgcdmb-bugs@m.gmane.org

re: MySQL + kernel 2.6.10 compile errors

am 20.02.2005 11:14:30 von azurIt

i downloaded mysql-4.0.24-nightly-20050219 and these bugs don't=20
seems to be fixed there:

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:91: `CONFIG_NR_CPUS' undeclared here=20
(not in a func
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:91: `CONFIG_NR_CPUS' undeclared here=20
(not in a func
make[2]: *** [manager.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
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:91: `CONFIG_NR_CPUS' undeclared here=20
(not in a func
make[2]: *** [password.lo] Error 1
make[2]: *** [libmysql.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

this is the bug #7970 (http://bugs.mysql.com/bug.php?id=3D7970).=0A________=
____________________________=0AEPI.sk Ekonomicke a pravne informacie - denn=
e aktualizovane.=0AZakony, sutaze, udaje o firmach, odborne clanky.=0ANajde=
te na stranke http://www.epi.sk/info.htm=0A

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=3Dgcdmb-bugs@m.gmane.org