Bug #9120 | mysql-5.0.2-alpha | ||
---|---|---|---|
Submitted: | 11 Mar 2005 5:21 | Modified: | 16 Mar 2005 19:46 |
Reporter: | li yuan | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | mysql-5.0.2-alpha | OS: | Windows (win 2000/5.00.2195 /SP4) |
Assigned to: | Jim Winstead | CPU Architecture: | Any |
[11 Mar 2005 5:21]
li yuan
[11 Mar 2005 5:58]
MySQL Verification Team
I got the compiler error in different place: chared.c: In function `ch_init': chared.c:443: error: `ED_UNASSIGNED' undeclared (first use in this function) chared.c:443: error: (Each undeclared identifier is reported only once chared.c:443: error: for each function it appears in.) chared.c: In function `ch_reset': chared.c:495: error: `ED_UNASSIGNED' undeclared (first use in this function) chared.c: In function `ch_end': chared.c:604: error: `ED_UNASSIGNED' undeclared (first use in this function) make[3]: *** [chared.o] Error 1 make[3]: Leaving directory `/home/miguel/mysql-5.0.2-alpha/cmd-line-utils/libedit' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/miguel/mysql-5.0.2-alpha/cmd-line-utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/miguel/mysql-5.0.2-alpha' make: *** [all] Error 2 miguel@light ~/mysql-5.0.2-alpha $
[11 Mar 2005 7:53]
Joerg Bruehe
For the 'ED_UNASSIGNED' problem, see bug#7669. In that case, it was caused by a broken 'tr' which did not deal with character classes properly. If a better version is not available, the problem can be overcome by changing the call to 'tr': - cmd-line-utils/libedit/makelist.sh version 1.5 + cmd-line-utils/libedit/makelist.sh version 1.6 @@ -145,7 +145,7 @@ # -fh) cat $FILES | $AWK '/el_action_t/ { print $3 }' | \ - sort | tr '[a-z]' '[A-Z]' | $AWK ' + sort | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | $AWK ' BEGIN { printf("/* Automatically generated file, do not edit */\n"); printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n");
[16 Mar 2005 19:46]
Jim Winstead
We do not support building with Cygwin on Windows. As Joerg noted, the problem in the libedit sources is already fixed.