I try to build linknx - somehow "make" has problems linking to the mysql client library.
I get errors like
persistentstorage.o: In function `~MysqlPersistentStorage':
/home/airmax/linknx-0.0.1.29/linknx/src/persistentstorage.cpp:156: undefined reference to `mysql_close'
persistentstorage.o: In function `MysqlPersistentStorage':
/home/airmax/linknx-0.0.1.29/linknx/src/persistentstorage.cpp:140: undefined reference to `mysql_init'
/home/airmax/linknx-0.0.1.29/linknx/src/persistentstorage.cpp:144: undefined reference to `mysql_options'
/home/airmax/linknx-0.0.1.29/linknx/src/persistentstorage.cpp:146: undefined reference to `mysql_real_connect'
I try to build linknx - somehow "make" has problems linking to the mysql client library.
I get errors like
There is help on the mysql page, yet I my Linux knowledge isn't good enough to know how to apply this for building linknx.
http://dev.mysql.com/doc/refman/5.0/en/c-api-linking-problems.html
Any help greatly appreciated.
Hi,
I need to add
to compile with mysql successfully
Regards, Othmar
Thanks - that did help!
Sorry guys, being thick here.
Where do I add this as I am having the some problem?
1,$s/some/same/g