List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 18 1999 1:34pm
Subject:unable to compile 3.23.3 with any charset besides default
View as plain text  
>>>>> "Aleksandar" == Aleksandar Ivanisevic
> <Aleksandar.Ivanisevic@stripped> writes:

Aleksandar> i'm getting bunch of unresolved references when compiling 3.23.3 using
Aleksandar> ./configure --prefix=/opt/mysql --with-charset=xxx. I've tried croat
Aleksandar> and latin2, both doesn't work.

Aleksandar> just ./configure --prefix=... works OK.

Aleksandar> partial output from make:

Aleksandar> c++ -O3 -DDBUG_OFF -fno-implicit-templates -o mysql mysql.o readline.o
> sql_string.o completion_hash.o ../readline/libreadline.a -lncurses .libs/libmysqlclient.a
> -lnsl -lm -lcrypt -lnsl -lm -lcrypt
Aleksandar> mysql.o: In function `find_command(char *, char)':
Aleksandar> mysql.o(.text+0xcb3): undefined reference to `ctype_croat'
Aleksandar> mysql.o: In function `add_line(String &, char *, char *)':
Aleksandar> mysql.o(.text+0xe6b): undefined reference to `ctype_croat'
Aleksandar> mysql.o: In function `com_connect(String *, char *)':
Aleksandar> mysql.o(.text+0x26ba): undefined reference to `ctype_croat'
Aleksandar> mysql.o: In function `com_use(String *, char *)':
Aleksandar> mysql.o(.text+0x2832): undefined reference to `ctype_croat'
Aleksandar> mysql.o: In function `remove_cntrl(String &)':
Aleksandar> mysql.o(.text+0x3359): undefined reference to `ctype_croat'
Aleksandar> sql_string.o: In function `sortcmp(String const *, String const *)':
Aleksandar> sql_string.o(.text+0x24a): undefined reference to `sort_order_croat'
Aleksandar> sql_string.o(.text+0x252): undefined reference to `sort_order_croat'
Aleksandar> sql_string.o(.text+0x270): undefined reference to `ctype_croat'
Aleksandar> sql_string.o(.text+0x28e): undefined reference to `sort_order_croat'
Aleksandar> sql_string.o(.text+0x299): undefined reference to `sort_order_croat'
Aleksandar> sql_string.o(.text+0x2c2): undefined reference to `ctype_croat'
Aleksandar> sql_string.o: In function `wild_case_compare(char const *, char const *,
> char const *, char const *, char)':
Aleksandar> sql_string.o(.text+0x493): undefined reference to `sort_order_croat'
Aleksandar> sql_string.o(.text+0x49b): undefined reference to `sort_order_croat'
Aleksandar> sql_string.o(.text+0x537): undefined reference to `sort_order_croat'
Aleksandar> sql_string.o(.text+0x579): undefined reference to `sort_order_croat'
Aleksandar> sql_string.o: In function `String::strip_sp(void)':
Aleksandar> sql_string.o(.text+0xa62): undefined reference to `ctype_croat'
Aleksandar> .libs/libmysqlclient.a(mf_casecnv.o): In function `caseup_str':
Aleksandar> mf_casecnv.o(.text+0x16): undefined reference to `to_upper_croat'
Aleksandar> .libs/libmysqlclient.a(mf_casecnv.o): In function `casedn_str':
Aleksandar> mf_casecnv.o(.text+0x46): undefined reference to `to_lower_croat'
Aleksandar> .libs/libmysqlclient.a(mf_casecnv.o): In function `caseup':
Aleksandar> mf_casecnv.o(.text+0x75): undefined reference to `to_upper_croat'

Aleksandar> [...]

Hi!

It seams that there is a bug in the character support for MySQL 3.23 :(

As a temporary fix, copy the file strings/ctype-croat.c to
client/ctype-latin1.c and recompile.

Regards,
Monty
Thread
unable to compile 3.23.3 with any charset besides defaultAleksandar Ivanisevic17 Sep
  • select uniqueNathan Stratton17 Sep
    • Re: select uniqueJames Manning17 Sep
    • complex selectNathan Stratton17 Sep
      • Re: complex selectJames Manning17 Sep
      • Re: complex selectMartin Ramsch17 Sep
        • Re: complex selectJames Manning17 Sep
          • Re: complex selectMartin Ramsch17 Sep
        • Re: complex selectNathan Stratton17 Sep
          • Re: complex selectMartin Ramsch18 Sep
            • Re: complex selectJames Manning18 Sep
    • Re: select uniqueTonu Samuel17 Sep
  • unable to compile 3.23.3 with any charset besides defaultMichael Widenius19 Sep
  • unable to compile 3.23.3 with any charset besides defaultMichael Widenius19 Sep
  • Re: unable to compile 3.23.3 with any charset besides defaultAleksandar Ivanisevic26 Sep
Re: unable to compile 3.23.3 with any charset besides defaultMichael Widenius27 Sep
  • Re: unable to compile 3.23.3 with any charset besides defaultAleksandar Ivanisevic28 Sep