Skip Menu |

This queue is for tickets about the Audio-MPEG CPAN distribution.

Report information
The Basics
Id: 11639
Status: new
Priority: 0/
Queue: Audio-MPEG

People
Owner: Nobody in particular
Requestors: info [...] endum.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: XS Error
I cannot compile the module, I receive XS errors but I cannot understand them. I don't know if it's a module problem or one of libraries installed on my system. I'm using Slackware 10, kernel 2.6.10, gcc 3.3.4, Perl 5.8.5, with Lame 3.96.1 and libmad 0.15.1b. After make I read: cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC "-I/usr/lib/perl5/5.8.5/i486-linux/CORE" MPEG.c MPEG.xs: In function `XS_Audio__MPEG__Decode_new': MPEG.xs:59: warning: use of cast expressions as lvalues is deprecated MPEG.xs: In function `XS_Audio__MPEG__Output_new': MPEG.xs:354: warning: use of cast expressions as lvalues is deprecated MPEG.xs: In function `XS_Audio__MPEG__Encode_new': MPEG.xs:597: warning: assignment from incompatible pointer type MPEG.xs:602: warning: use of cast expressions as lvalues is deprecated MPEG.xs:612: error: request for member `num_channels' in something not a structure or union MPEG.xs:614: error: request for member `num_channels' in something not a structure or union MPEG.xs:636: error: request for member `in_samplerate' in something not a structure or union MPEG.xs:644: error: request for member `in_samplerate' in something not a structure or union MPEG.xs:666: warning: passing arg 1 of `lame_set_out_samplerate' from incompatible pointer type MPEG.xs:679: warning: passing arg 1 of `lame_set_scale' from incompatible pointer type MPEG.xs:684: warning: passing arg 1 of `lame_set_quality' from incompatible pointer type MPEG.xs:693: warning: passing arg 1 of `lame_set_mode' from incompatible pointer type MPEG.xs:695: warning: passing arg 1 of `lame_set_mode' from incompatible pointer type MPEG.xs:697: warning: passing arg 1 of `lame_set_mode' from incompatible pointer type MPEG.xs:708: warning: passing arg 1 of `lame_set_mode_automs' from incompatible pointer type MPEG.xs:713: error: request for member `free_format' in something not a structure or union MPEG.xs:718: error: request for member `brate' in something not a structure or union MPEG.xs:723: error: request for member `compression_ratio' in something not a structure or union MPEG.xs:725: error: request for member `brate' in something not a structure or union MPEG.xs:725: error: request for member `compression_ratio' in something not a structure or union MPEG.xs:733: error: request for member `copyright' in something not a structure or union MPEG.xs:738: error: request for member `original' in something not a structure or union MPEG.xs:743: error: request for member `error_protection' in something not a structure or union MPEG.xs:754: error: request for member `strict_ISO' in something not a structure or union MPEG.xs:760: error: request for member `brate' in something not a structure or union MPEG.xs:760: error: request for member `compression_ratio' in something not a structure or union MPEG.xs:766: error: request for member `VBR' in something not a structure or union MPEG.xs:768: error: request for member `VBR' in something not a structure or union MPEG.xs:770: error: request for member `VBR' in something not a structure or union MPEG.xs:772: error: request for member `VBR' in something not a structure or union MPEG.xs:774: error: request for member `VBR' in something not a structure or union MPEG.xs:784: error: request for member `VBR_q' in something not a structure or union MPEG.xs:790: error: request for member `brate' in something not a structure or union MPEG.xs:790: error: request for member `compression_ratio' in something not a structure or union MPEG.xs:794: error: request for member `VBR' in something not a structure or union MPEG.xs:795: error: request for member `VBR_mean_bitrate_kbps' in something not a structure or union MPEG.xs:796: error: request for member `VBR_mean_bitrate_kbps' in something not a structure or union MPEG.xs:797: error: request for member `VBR_mean_bitrate_kbps' in something not a structure or union MPEG.xs:798: error: request for member `VBR_mean_bitrate_kbps' in something not a structure or union MPEG.xs:799: error: request for member `VBR_mean_bitrate_kbps' in something not a structure or union MPEG.xs:800: error: request for member `VBR_mean_bitrate_kbps' in something not a structure or union MPEG.xs:800: error: request for member `VBR_mean_bitrate_kbps' in something not a structure or union MPEG.xs:801: error: request for member `VBR_mean_bitrate_kbps' in something not a structure or union MPEG.xs:802: error: request for member `VBR_mean_bitrate_kbps' in something not a structure or union MPEG.xs:802: error: request for member `VBR_mean_bitrate_kbps' in something not a structure or union MPEG.xs:809: error: request for member `VBR_min_bitrate_kbps' in something not a structure or union MPEG.xs:812: error: request for member `VBR_hard_min' in something not a structure or union MPEG.xs:815: error: request for member `VBR_max_bitrate_kbps' in something not a structure or union MPEG.xs:821: error: request for member `lowpassfreq' in something not a structure or union MPEG.xs:824: error: request for member `lowpasswidth' in something not a structure or union MPEG.xs:827: error: request for member `lowpassfreq' in something not a structure or union MPEG.xs:831: error: request for member `highpassfreq' in something not a structure or union MPEG.xs:834: error: request for member `highpasswidth' in something not a structure or union MPEG.xs:837: error: request for member `highpassfreq' in something not a structure or union MPEG.xs:846: warning: passing arg 1 of `lame_init_params' from incompatible pointer type MPEG.xs: In function `XS_Audio__MPEG__Encode_DESTROY': MPEG.xs:858: warning: passing arg 1 of `lame_close' from incompatible pointer type MPEG.xs: In function `XS_Audio__MPEG__Encode_encoder_delay': MPEG.xs:869: error: request for member `encoder_delay' in something not a structure or union MPEG.xs: In function `XS_Audio__MPEG__Encode_encode_float': MPEG.xs:895: error: request for member `encoder_delay' in something not a structure or union MPEG.xs:896: error: request for member `num_channels' in something not a structure or union MPEG.xs:897: error: request for member `encoder_delay' in something not a structure or union MPEG.xs:898: error: request for member `encoder_delay' in something not a structure or union MPEG.xs:904: error: request for member `num_channels' in something not a structure or union MPEG.xs: In function `XS_Audio__MPEG__Encode_encode16': MPEG.xs:930: error: request for member `encoder_delay' in something not a structure or union MPEG.xs:931: error: request for member `num_channels' in something not a structure or union MPEG.xs:932: error: request for member `encoder_delay' in something not a structure or union MPEG.xs:937: error: request for member `num_channels' in something not a structure or union MPEG.xs:940: error: request for member `num_channels' in something not a structure or union MPEG.xs:940: warning: passing arg 1 of `lame_encode_buffer_interleaved' from incompatible pointer type MPEG.xs:944: error: request for member `num_channels' in something not a structure or union MPEG.xs:944: warning: passing arg 1 of `lame_encode_buffer' from incompatible pointer type MPEG.xs: In function `XS_Audio__MPEG__Encode_encode_flush': MPEG.xs:959: warning: passing arg 1 of `lame_encode_flush' from incompatible pointer type MPEG.xs: In function `XS_Audio__MPEG__Encode_encode_vbr_flush': MPEG.xs:972: warning: passing arg 1 of `lame_mp3_tags_fid' from incompatible pointer type make: *** [MPEG.o] Error 1 I hope this could help you in development process. Thank you for your work, cya! Angelo 'jontk' Selvini