[QtonPi] Bakeqtpi for osx updated
Michael Taubert
info at arachnodroid.de
Fri Oct 12 17:05:36 CEST 2012
Hi!
Though I've got mysql installed, I still got undefined references to mysql.
According to the manpage, gcc's --sysroot option cause gcc to search for these headers and libs inside the rasp-pi-rootfs/, doesn't it? But there is no mysql in ~/opt/rasp-pi-rootfs/usr/local/.
There would be no chance to get /usr/local/mysql/... to be recognized even.
Any ideas?
- Michael
Am 11.10.2012 um 15:03 schrieb Laszlo Papp:
> On Thu, Oct 11, 2012 at 2:00 PM, Michael Taubert <info at arachnodroid.de> wrote:
> Hi!
>
> I've got undefined references to mysql when compiling QtBase.
>
> From Thiago Macieira:
>
> "please do not capitalise qtbase: it's the name of the Git repository, not the name of a module or product."
"Make failed for QTBase" as stated by bakeqtpi.bash. ;)
>
>
> qsql_mysql.cpp:(.text+0x3530): undefined reference to `mysql_init'
>
> Anybody confirm that I just need to install mysql with 'brew mysql'?
>
> You have to have the development files installed and recognized for sure.
>
> Laszlo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qtonpi/attachments/20121012/c3e5cf91/attachment.html
More information about the QtonPi
mailing list