|
While trying to compile amarok 1.2.3 with --enable-mysql, I get the following error:
[code:1] amarokapp.all_cpp.o(.text+0x2640f): In function `MySqlConnection::MySqlConnection[not-in-charge](MySqlConfig*)\': : undefined reference to `mysql_init\' amarokapp.all_cpp.o(.text+0x26528): In function `MySqlConnection::MySqlConnection[not-in-charge](MySqlConfig*)\': : undefined reference to `mysql_real_connect\' amarokapp.all_cpp.o(.text+0x2664c): In function `MySqlConnection::MySqlConnection[not-in-charge](MySqlConfig*)\': : undefined reference to `mysql_real_connect\' amarokapp.all_cpp.o(.text+0x26715): In function `MySqlConnection::MySqlConnection[not-in-charge](MySqlConfig*)\': : undefined reference to `mysql_query\' amarokapp.all_cpp.o(.text+0x2681b): In function `MySqlConnection::MySqlConnection[in-charge](MySqlConfig*)\': : undefined reference to `mysql_init\' amarokapp.all_cpp.o(.text+0x26934): In function `MySqlConnection::MySqlConnection[in-charge](MySqlConfig*)\': : undefined reference to `mysql_real_connect\' amarokapp.all_cpp.o(.text+0x26a58): In function `MySqlConnection::MySqlConnection[in-charge](MySqlConfig*)\': : undefined reference to `mysql_real_connect\' amarokapp.all_cpp.o(.text+0x26b21): In function `MySqlConnection::MySqlConnection[in-charge](MySqlConfig*)\': : undefined reference to `mysql_query\' amarokapp.all_cpp.o(.text+0x26c2d): In function `MySqlConnection::~MySqlConnection [not-in-charge]()\': : undefined reference to `mysql_close\' amarokapp.all_cpp.o(.text+0x26c89): In function `MySqlConnection::~MySqlConnection [in-charge]()\': : undefined reference to `mysql_close\' amarokapp.all_cpp.o(.text+0x26ce9): In function `MySqlConnection::~MySqlConnection [in-charge deleting]()\': : undefined reference to `mysql_close\' amarokapp.all_cpp.o(.text+0x26d35): In function `MySqlConnection::query(QString const&«»)\': : undefined reference to `mysql_query\' amarokapp.all_cpp.o(.text+0x26d58): In function `MySqlConnection::query(QString const&«»)\': : undefined reference to `mysql_use_result\' amarokapp.all_cpp.o(.text+0x26d74): In function `MySqlConnection::query(QString const&«»)\': : undefined reference to `mysql_field_count\' amarokapp.all_cpp.o(.text+0x26d87): In function `MySqlConnection::query(QString const&«»)\': : undefined reference to `mysql_fetch_row\' amarokapp.all_cpp.o(.text+0x26e2a): In function `MySqlConnection::query(QString const&«»)\': : undefined reference to `mysql_free_result\' amarokapp.all_cpp.o(.text+0x26e47): In function `MySqlConnection::query(QString const&«»)\': : undefined reference to `mysql_field_count\' amarokapp.all_cpp.o(.text+0x26e5c): In function `MySqlConnection::query(QString const&«»)\': : undefined reference to `mysql_error\' amarokapp.all_cpp.o(.text+0x26ef6): In function `MySqlConnection::insert(QString const&«»)\': : undefined reference to `mysql_query\' amarokapp.all_cpp.o(.text+0x26f07): In function `MySqlConnection::insert(QString const&«»)\': : undefined reference to `mysql_insert_id\' amarokapp.all_cpp.o(.text+0x26f38): In function `MySqlConnection::«»setMysqlError()\': : undefined reference to `mysql_error\'[/quote] Am I missing some libraries? Or is QT compiled without mysql? [/code:1] |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell