Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98210 - mysql3.23 compile error: conflicting types for `set_bit'
Summary: mysql3.23 compile error: conflicting types for `set_bit'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-07 04:32 UTC by Timo A. Hummel
Modified: 2005-07-26 17:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo A. Hummel 2005-07-07 04:32:27 UTC
Compiling MySQL 3.23.58-r1 on a fresh, clean system with an up-to-date portage
tree gives me the following error:

depmode=gcc3 /bin/sh ../depcomp \
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include
-I..    -O3 -DDBUG_OFF  -march=pentium4 -fomit-frame-pointer
-DHAVE_ERRNO_AS_DEFINE=1 -O3  -c `test -f replace.c || echo './'`replace.c
replace.c:374: error: conflicting types for `set_bit'
/usr/include/asm/bitops.h:43: error: previous declaration of `set_bit'
replace.c:375: error: conflicting types for `clear_bit'
/usr/include/asm/bitops.h:78: error: previous declaration of `clear_bit'
replace.c:750: error: redefinition of `set_bit'
replace.c:374: error: `set_bit' previously defined here
replace.c:756: error: redefinition of `clear_bit'
replace.c:375: error: `clear_bit' previously defined here


Version of linux-headers is 2.6.11-r2

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Francesco R. (RETIRED) gentoo-dev 2005-07-26 17:23:44 UTC
Fixed, sorry for the delay, totally missed this one.