[mythtv-users] mythtvfs with mythtv 0.26?

Dave Pearson lists at the-pearsons.co.uk
Fri Mar 22 14:41:58 UTC 2013


-----Original message-----
From:Mogens Kjaer <mk at lemo.dk>
Sent:Fri 22-03-2013 10:26
Subject:Re: [mythtv-users] mythtvfs with mythtv 0.26?
To:mythtv-users at mythtv.org; 
On 03/22/2013 10:09 AM, Dave Pearson wrote:
>   Has anyone successfully managed to get mythtvfs working with mythtv 0.26?

I wrote my own version in C for 0.25.3

http://lemo.dk/mythtv/mythtvfs_20130322.tar.gz

Maybe you can use some from that.

Mogens
-- 
Mogens Kjaer, mk at lemo.dk
http://www.lemo.dk
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users

Hi Mogens,

 
Thanks for that, unfortunately I cannot compile it - I get the following result when I try:

 
 
mythtvfs.c: In function ‘movestringutf’:

mythtvfs.c:103:3: warning: passing argument 3 of ‘iconv’ from incompatible pointer type [enabled by default]

In file included from mythtvfs.c:54:0:

/usr/include/iconv.h:43:15: note: expected ‘size_t * __restrict__’ but argument is of type ‘int *’

mythtvfs.c:103:3: warning: passing argument 5 of ‘iconv’ from incompatible pointer type [enabled by default]

In file included from mythtvfs.c:54:0:

/usr/include/iconv.h:43:15: note: expected ‘size_t * __restrict__’ but argument is of type ‘int *’

mythtvfs.c: In function ‘read_mythtv_data’:

mythtvfs.c:219:5: warning: format ‘%lld’ expects argument of type ‘long long int *’, but argument 3 has type ‘off_t *’ [-Wformat]

mythtvfs.c: In function ‘mythtvfs_read’:

mythtvfs.c:464:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]

/tmp/ccu4RE3v.o: In function `read_mythtv_data':

/home/dave/Downloads/mythtvfs/mythtvfs.c:184: undefined reference to `mysql_init'

/home/dave/Downloads/mythtvfs/mythtvfs.c:185: undefined reference to `mysql_options'

/home/dave/Downloads/mythtvfs/mythtvfs.c:186: undefined reference to `mysql_real_connect'

/home/dave/Downloads/mythtvfs/mythtvfs.c:196: undefined reference to `mysql_query'

/home/dave/Downloads/mythtvfs/mythtvfs.c:197: undefined reference to `mysql_store_result'

/home/dave/Downloads/mythtvfs/mythtvfs.c:201: undefined reference to `mysql_num_rows'

/home/dave/Downloads/mythtvfs/mythtvfs.c:210: undefined reference to `mysql_fetch_row'

/home/dave/Downloads/mythtvfs/mythtvfs.c:235: undefined reference to `mysql_free_result'

/home/dave/Downloads/mythtvfs/mythtvfs.c:262: undefined reference to `mysql_close'

/home/dave/Downloads/mythtvfs/mythtvfs.c:188: undefined reference to `mysql_error'

/tmp/ccu4RE3v.o: In function `main':

/home/dave/Downloads/mythtvfs/mythtvfs.c:490: undefined reference to `fuse_main_real'

collect2: error: ld returned 1 exit status

make: *** [mythtvfs] Error 1

 
 
Regards,

Dave.
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130322/bcb17ab1/attachment.html>


More information about the mythtv-users mailing list