Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 817138 Details for
Bug 874528
media-sound/mcdp-0.4b - cddev.c: error: call to undeclared function cd_cddbsum; ISO C99 and later
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-sound:mcdp-0.4b:20221003-033629.log
media-sound:mcdp-0.4b:20221003-033629.log (text/plain), 10.31 KB, created by
Toralf Förster
on 2022-10-03 08:11:57 UTC
(
hide
)
Description:
media-sound:mcdp-0.4b:20221003-033629.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-03 08:11:57 UTC
Size:
10.31 KB
patch
obsolete
> * Package: media-sound/mcdp-0.4b:0 > * Repository: gentoo > * Maintainer: sound@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking mcdp-0.4b.tar.bz2 to /var/tmp/portage/media-sound/mcdp-0.4b/work >>>> Source unpacked in /var/tmp/portage/media-sound/mcdp-0.4b/work >>>> Preparing source in /var/tmp/portage/media-sound/mcdp-0.4b/work/mcdp-0.4b ... > * Applying mcdp-0.4a-dietlibc-fix.patch ... > [ ok ] > * Applying mcdp-0.4a-makefile.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-sound/mcdp-0.4b/work/mcdp-0.4b ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-sound/mcdp-0.4b/work/mcdp-0.4b ... >make -j4 CC=clang 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c cddb.c -o cddb.o >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c cddev.c -o cddev.o >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c draw.c -o draw.o >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c formats.c -o formats.o >cddb.c:33:43: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > str_ncpy(cd->t[0].name, fn+7, str_len(fn)); > ^~ >./mcdp.h:145:44: note: passing argument to parameter 'str' here >extern size_t str_len(const unsigned char *str); > ^ >cddb.c:33:14: warning: passing 'char[62]' to parameter of type 'unsigned char *' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > str_ncpy(cd->t[0].name, fn+7, str_len(fn)); > ^~~~~~~~~~~~~ >./mcdp.h:146:39: note: passing argument to parameter 'dst' here >extern size_t str_ncpy(unsigned char *dst, const unsigned char *src, size_t n); > ^ >cddb.c:33:29: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > str_ncpy(cd->t[0].name, fn+7, str_len(fn)); > ^~~~ >./mcdp.h:146:65: note: passing argument to parameter 'src' here >extern size_t str_ncpy(unsigned char *dst, const unsigned char *src, size_t n); > ^ >cddb.c:35:57: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > str_ncpy(cd->t[tr].name, fn+8+(int)(tr/10), str_len(fn)); > ^~ >./mcdp.h:145:44: note: passing argument to parameter 'str' here >extern size_t str_len(const unsigned char *str); > ^ >cddb.c:35:14: warning: passing 'char[62]' to parameter of type 'unsigned char *' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > str_ncpy(cd->t[tr].name, fn+8+(int)(tr/10), str_len(fn)); > ^~~~~~~~~~~~~~ >./mcdp.h:146:39: note: passing argument to parameter 'dst' here >extern size_t str_ncpy(unsigned char *dst, const unsigned char *src, size_t n); > ^ >cddb.c:35:30: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > str_ncpy(cd->t[tr].name, fn+8+(int)(tr/10), str_len(fn)); > ^~~~~~~~~~~~~~~~~ >./mcdp.h:146:65: note: passing argument to parameter 'src' here >extern size_t str_ncpy(unsigned char *dst, const unsigned char *src, size_t n); > ^ >cddb.c:138:29: warning: passing 'char[16]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strncat(h.msg,tmp,str_len(tmp)); > ^~~ >./mcdp.h:145:44: note: passing argument to parameter 'str' here >extern size_t str_len(const unsigned char *str); > ^ >cddb.c:141:28: warning: passing 'char[16]' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > strncat(h.msg,tmp,str_len(tmp)); > ^~~ >./mcdp.h:145:44: note: passing argument to parameter 'str' here >extern size_t str_len(const unsigned char *str); > ^ >cddb.c:135:21: warning: array index 1 is past the end of the array (which > contains 1 element) [-Warray-bounds] > cd_discid(&cd[0]),cd->title[1]); > ^ ~ >./mcdp.h:73:2: note: array 'title' declared here > int title[1]; /* current/last title */ > ^ >cddb.c:136:14: warning: array index 1 is past the end of the array (which > contains 1 element) [-Warray-bounds] > for (i=1;i<=cd->title[1];i++) { > ^ ~ >./mcdp.h:73:2: note: cddev.carray: 'title'63 :declared38 :here >error: function definition is not allowed int title[1]; /* current/last title */ >here ^ > > unsigned cd_cddbsum(register int n) { > ^ >cddev.c:72:6: error: call to undeclared function 'cd_cddbsum'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > n+=cd_cddbsum(cd->t[i].cddb/75);i++; > ^ >cddev.c:71:12: warning: array index 1 is past the end of the array (which > contains 1 element) [-Warray-bounds] > while (i<=cd->title[1]) { > ^ ~ >./mcdp.h:73:2: note: array 'title' declared here > int title[1]; /* current/last title */ > ^ >cddev.c:74:61: warning: array index 1 is past the end of the array (which > contains 1 element) [-Warray-bounds] > return ((n%0xff)<<24|(cd->t[0].cddb - cd->t[1].cddb/75)<<8|cd->title[1]); > ^ ~ >./mcdp.h:73:2: note: array 'title' declared here > int title[1]; /* current/last title */ > ^ >cddev.c:128:2: warning: array index 1 is past the end of the array (which > contains 1 element) [-Warray-bounds] > cd->title[1]=cdth.cdth_trk1; /* init all these stuff */ > ^ ~ >./mcdp.h:73:2: note: array 'title' declared here > int title[1]; /* current/last title */ > ^ >cddev.c:151:17: warning: array index 1 is past the end of the array (which > contains 1 element) [-Warray-bounds] > cd->title[0]==cd->title[1] && > ^ ~ >./mcdp.h:73:2: note: array 'title' declared here > int title[1]; /* current/last title */ > ^ >cddev.c:192:19: warning: array index 1 is past the end of the array (which > contains 1 element) [-Warray-bounds] > if (cd->title[0]>cd->title[1]) cd->title[0]=1; > ^ ~ >./mcdp.h:73:2: note: array 'title' declared here > int title[1]; /* current/last title */ > ^ >cddev.c:193:35: warning: array index 1 is past the end of the array (which > contains 1 element) [-Warray-bounds] > if (cd->title[0]<1) cd->title[0]=cd->title[1]; > ^ ~ >./mcdp.h:73:2: note: array 'title' declared here > int title[1]; /* current/last title */ > ^ >draw.c:95:19: warning: array index 1 is past the end of the array (which > contains 1 element) [-Warray-bounds] > for(i=offset;(i<=cd->title[1] && i<=MCDP_CDAUDIO_MAX); i++) { > ^ ~ >./mcdp.h:73:2: note: array 'title' declared here > int title[1]; /* current/last title */ > ^ >cddev.c:272:2: warning: array index 4 is past the end of the array (which > contains 4 elements) [-Warray-bounds] > updates[U_ALL]=1; > ^ ~~~~~ >./mcdp.h:85:1: note: array 'updates' declared here >extern short pluskey,updates[4],offset; >^ >7 warnings and 2 errors generated. >draw.c:149:6: warning: array index 4 is past the end of the array (which > contains 4 elements) [-Warray-bounds] > if (updates[U_ALL]) { > ^ ~~~~~ >./mcdp.h:85:1: note: array 'updates' declared here >extern short pluskey,updates[4],offset; >^ >draw.c:160:3: warning: array index 4 is past the end of the array (which > contains 4 elements) [-Warray-bounds] > updates[U_ALL]=0; > ^ ~~~~~ >./mcdp.h:85:1: note: array 'updates' declared here >extern short pluskey,updates[4],offset; >^ >formats.c:132:24: warning: passing 'char *' to parameter of type > 'const unsigned char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > bu_len=str_len(pb); > ^~ >./mcdp.h:145:44: note: passing argument to parameter 'str' here >extern size_t str_len(const unsigned char *str); > ^ >make: *** [Makefile:51: cddev.o] Error 1 >make: *** Waiting for unfinished jobs.... >3 warnings generated. >10 warnings generated. >1 warning generated. > * ERROR: media-sound/mcdp-0.4b::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-sound/mcdp-0.4b::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-sound/mcdp-0.4b::gentoo'`. > * The complete build log is located at '/var/log/portage/media-sound:mcdp-0.4b:20221003-033629.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/mcdp-0.4b/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-sound/mcdp-0.4b/temp/environment'. > * Working directory: '/var/tmp/portage/media-sound/mcdp-0.4b/work/mcdp-0.4b' > * S: '/var/tmp/portage/media-sound/mcdp-0.4b/work/mcdp-0.4b' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 874528
:
817126
|
817129
|
817132
|
817135
| 817138 |
817141