[Bug 852] mysql 4.0.20 doesn't configure against glibc 2.3.4

Igor Zivkovic igor at linuxfromscratch.org
Tue Oct 12 09:56:55 PDT 2004


Randy McMurchy wrote:
>
> Jim Gifford wrote:
>
>>> ------- Additional Comments From igor at linuxfromscratch.org  2004-10-12 07:10 -------
>>> 4.0.21 still requires the patch.
>>
>> There is a simple fix for this Igor. Remove the patch, and add this to
>> the configure line --with-named-thread-libs=-lpthread.
>
> The instructions to do this were in the bugzilla entry.

I meant to say that 4.0.21 doesn't compile with that switch but still
needs the patch. This is the error I got:


make[2]: Entering directory `/root/sources/mysql-4.0.21/myisam'
if gcc -DMAP_TO_USE_RAID -I. -I. -I.. -I./../include -I../include    -O3 -DDBUG_OFF    -MT mi_open.o -MD -MP -MF ".deps/mi_open.Tpo" \
  -c -o mi_open.o `test -f 'mi_open.c' || echo './'`mi_open.c; \
then mv -f ".deps/mi_open.Tpo" ".deps/mi_open.Po"; \
else rm -f ".deps/mi_open.Tpo"; exit 1; \
fi
In file included from fulltext.h:21,
                 from mi_open.c:19:
myisamdef.h:206: error: parse error before "pthread_rwlock_t"
myisamdef.h:206: warning: no semicolon at end of struct or union
myisamdef.h:208: warning: data definition has no type or storage class
myisamdef.h:221: error: parse error before "MYISAM_SHARE"
myisamdef.h:221: warning: no semicolon at end of struct or union
myisamdef.h:246: error: 'checksum' redeclared as different kind of symbol
./../include/my_sys.h:761: error: previous declaration of 'checksum' was here
myisamdef.h:246: error: 'checksum' redeclared as different kind of symbol
./../include/my_sys.h:761: error: previous declaration of 'checksum' was here
myisamdef.h:276: error: parse error before '}' token
myisamdef.h:494: error: parse error before '*' token
myisamdef.h:663: error: parse error before "MYISAM_SHARE"
myisamdef.h:664: error: parse error before '*' token
myisamdef.h:665: error: parse error before '*' token
mi_open.c: In function `test_if_reopen':
mi_open.c:58: error: `share' undeclared (first use in this function)
mi_open.c:58: error: (Each undeclared identifier is reported only once
mi_open.c:58: error: for each function it appears in.)
mi_open.c:58: error: dereferencing pointer to incomplete type
mi_open.c: In function `mi_open':
mi_open.c:82: error: storage size of 'info' isn't known
mi_open.c:83: error: parse error before "share_buff"
mi_open.c:93: error: `share_buff' undeclared (first use in this function)
mi_open.c:100: error: `share' undeclared (first use in this function)
mi_open.c:285: error: `pthread_rwlock_t' undeclared (first use in this function)
mi_open.c:459: error: dereferencing pointer to incomplete type
mi_open.c:465: error: dereferencing pointer to incomplete type
mi_open.c:472: error: invalid application of `sizeof' to incomplete type
`./../include/myisam.h'
mi_open.c:536: error: dereferencing pointer to incomplete type
mi_open.c:538: error: dereferencing pointer to incomplete type
mi_open.c:540: error: dereferencing pointer to incomplete type
mi_open.c:541: error: dereferencing pointer to incomplete type
mi_open.c: In function `mi_alloc_rec_buff':
mi_open.c:591: error: dereferencing pointer to incomplete type
mi_open.c:598: error: dereferencing pointer to incomplete type
mi_open.c:598: error: dereferencing pointer to incomplete type
mi_open.c:598: error: dereferencing pointer to incomplete type
mi_open.c:598: error: dereferencing pointer to incomplete type
mi_open.c:605: error: dereferencing pointer to incomplete type
mi_open.c: At top level:
mi_open.c:631: error: parse error before '*' token
mi_open.c: In function `mi_setup_functions':
mi_open.c:633: error: `share' undeclared (first use in this function)
mi_open.c: At top level:
mi_open.c:1074: error: parse error before "MYISAM_SHARE"
mi_open.c:1094: error: parse error before '*' token
mi_open.c: In function `mi_open_keyfile':
mi_open.c:1096: error: `share' undeclared (first use in this function)
make[2]: *** [mi_open.o] Error 1
make[2]: Leaving directory `/root/sources/mysql-4.0.21/myisam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/sources/mysql-4.0.21'
make: *** [all] Error 2


-- 
Igor Zivkovic



More information about the blfs-book mailing list