discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] MySQL?


From: David Halls
Subject: Re: [Discuss-gnuradio] MySQL?
Date: Mon, 13 Oct 2014 17:02:24 +0000

Hi Martin, All,

It was a basic linker problem, I hadn't correctly included the library file in the /lib/CMakeFiles.txt, one needs to include just mysqlclient (and the linker directory of course)

Sorry! I wonder if anyone else has use MySQL before with GNU Radio - if not *IT WORKS*!!

Thanks,

DH

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Martin Braun
Sent: 13 October 2014 17:59
To: address@hidden
Subject: Re: [Discuss-gnuradio] MySQL?

David,

is the MySQL include in any of your public headers, and does it need to be? It might be SWIG is picking up stuff you don't actually want to pick up.

You can also tell SWIG to ignore stuff, have you checked that?

M

On 10/13/2014 05:13 PM, David Halls wrote:
> Dear All,
>
>
>
> Has anyone tried using MySQL from GNU Radio? I am just posting some
> simple stuff to a MySQL database that runs fine in a stand-alone C
> program. It builds fine in GNU Radio, by including <mysql.h>, but
> there is a swig problem on running in GNU Radio Companion
>
>
>
> "ImportError: /usr/local/lib/libgnuradio-trl.so: undefined symbol:
> mysql_init"
>
>
>
> Presumably I need to add some libraries to the CMakeLists.txt, or similar?
>
>
>
> Thanks in advance!
>
>
>
> David
>
>
>
> ---------------------------------------------------------------
>
> David Halls Ph.D.
>
> Research Engineer
>
> Toshiba Research Europe Limited
>
> 32 Queen Square, Bristol, BS1 4ND, UK
>
> Tel: +44 (0) 117 906 0790
>
>
>
>
> ----------------------------------------------------------------------
> --
>
> NOTE: The information in this email and any attachments may be
> confidential and/or legally privileged. This message may be read,
> copied and used only by the intended recipient. If you are not the
> intended recipient, please destroy this message, delete any copies
> held on your system and notify the sender immediately.
>
> Toshiba Research Europe Limited, registered in England and Wales
> (2519556). Registered Office 208 Cambridge Science Park, Milton Road,
> Cambridge CB4 0GZ, England. Web: www.toshiba.eu/research/trl
>
>
>
> ----------------------------------------------------------------------
> -- This email has been scanned for email related threats and delivered
> safely by Mimecast.
> For more information please visit http://www.mimecast.com
> ----------------------------------------------------------------------
> --
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


________________________________

NOTE: The information in this email and any attachments may be confidential and/or legally privileged. This message may be read, copied and used only by the intended recipient. If you are not the intended recipient, please destroy this message, delete any copies held on your system and notify the sender immediately.

Toshiba Research Europe Limited, registered in England and Wales (2519556). Registered Office 208 Cambridge Science Park, Milton Road, Cambridge CB4 0GZ, England. Web: www.toshiba.eu/research/trl



This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]