|
From: Milos S. <su...@rp...> - 2012-11-21 15:39:57
|
I have solved the error by adding following line to mp3-util.h:
mad_timer_t const mad_timer_zero = {0,0};
Dne 21.11.2012 11:20, Milos Sula napsal(a):
> Hi,
> i am trying to compile Sox 14.3.1 sources on Ubuntu 12.10 64bit server,
> with mp3 lame, mad support , but i have trouble with the
> libsox_la-mp3.lo library:
>
> In file included from mp3.c:247:0:
> mp3-util.h: In function ‘write_comments’:
> mp3-util.h:41:3: warning: passing argument 2 of ‘p->id3tag_set_pad’ with
> different width due to prototype [-Wtraditional-conversion]
> mp3-util.h: In function ‘mp3_duration_ms’:
> mp3-util.h:150:30: error: ‘mad_timer_zero_stub’ undeclared (first use in
> this function)
> mp3-util.h:150:30: note: each undeclared identifier is reported only
> once for each function it appears in
> mp3.c: In function ‘startread’:
> mp3.c:362:3: error: ‘mad_timer_zero_stub’ undeclared (first use in this
> function)
> mp3.c: In function ‘get_id3v2_tag_size’:
> mp3.c:603:3: warning: passing argument 2 of ‘fread’ with different width
> due to prototype [-Wtraditional-conversion]
> mp3.c:610:3: warning: passing argument 3 of ‘strncmp’ with different
> width due to prototype [-Wtraditional-conversion]
> mp3.c: In function ‘rewrite_id3v2_tag’:
> mp3.c:649:3: warning: format ‘%d’ expects argument of type ‘int’, but
> argument 2 has type ‘size_t’ [-Wformat]
> mp3.c:671:5: warning: passing argument 3 of ‘fwrite’ with different
> width due to prototype [-Wtraditional-conversion]
> mp3.c:672:7: warning: format ‘%d’ expects argument of type ‘int’, but
> argument 2 has type ‘size_t’ [-Wformat]
> mp3.c: In function ‘rewrite_tags’:
> mp3.c:724:5: warning: passing argument 2 of ‘fwrite’ with different
> width due to prototype [-Wtraditional-conversion]
> mp3.c:724:5: warning: passing argument 3 of ‘fwrite’ with different
> width due to prototype [-Wtraditional-conversion]
> mp3.c: At top level:
> mp3.c:567:13: warning: ‘id3tag_set_title_stub’ defined but not used
> [-Wunused-function]
> mp3.c:569:13: warning: ‘id3tag_set_artist_stub’ defined but not used
> [-Wunused-function]
> mp3.c:571:13: warning: ‘id3tag_set_album_stub’ defined but not used
> [-Wunused-function]
> mp3.c:573:13: warning: ‘id3tag_set_year_stub’ defined but not used
> [-Wunused-function]
> mp3.c:575:13: warning: ‘id3tag_set_comment_stub’ defined but not used
> [-Wunused-function]
> mp3.c:577:13: warning: ‘id3tag_set_track_stub’ defined but not used
> [-Wunused-function]
> mp3.c:579:12: warning: ‘id3tag_set_genre_stub’ defined but not used
> [-Wunused-function]
> mp3.c:587:12: warning: ‘id3tag_set_fieldvalue_stub’ defined but not used
> [-Wunused-function]
> make[1]: *** [libsox_la-mp3.lo] Error 1
> make: *** [all-recursive] Error 1
>
> Please can you tell me what i am doing wrong ?
>
> regards
> Milos Sula
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Sox-users mailing list
> Sox...@li...
> https://lists.sourceforge.net/lists/listinfo/sox-users
|