Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 821083 Details for
Bug 875434
games-action/xbomber-101-r1 - sound.c: error: call to undeclared function doall; ISO C99 and later do
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-action:xbomber-101-r1:20221005-130954.log
games-action:xbomber-101-r1:20221005-130954.log (text/plain), 15.94 KB, created by
Toralf Förster
on 2022-10-05 18:11:33 UTC
(
hide
)
Description:
games-action:xbomber-101-r1:20221005-130954.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-05 18:11:33 UTC
Size:
15.94 KB
patch
obsolete
> * Package: games-action/xbomber-101-r1:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking xbomber-101.tgz to /var/tmp/portage/games-action/xbomber-101-r1/work >>>> Source unpacked in /var/tmp/portage/games-action/xbomber-101-r1/work >>>> Preparing source in /var/tmp/portage/games-action/xbomber-101-r1/work/xbomber-101 ... > * Applying xbomber-101-va_list.patch ... > [ ok ] > * Applying xbomber-101-gcc4.patch ... > [ ok ] > * Applying xbomber-101-ldflags.patch ... > [ ok ] > * Applying xbomber-101-clang.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-action/xbomber-101-r1/work/xbomber-101 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-action/xbomber-101-r1/work/xbomber-101 ... >make -j4 >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o bomber.o bomber.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o x.o x.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o sound.o sound.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 matcher.c -o matcher >sound.c:81:2: error: call to undeclared function 'doall'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > doall(); > ^ >sound.c:117:1: warning: non-void function does not return a value in all control > paths [-Wreturn-type] >} >^ >sound.c:119:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >doall() >^ >int >1 warning and 2 errors generated. >x.c:49:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do > not support implicit int [-Werror,-Wimplicit-int] >xtest(int n) >^ >int >x.c:55:1: warning: non-void function does not return a value [-Wreturn-type] >} >^ >make: *** [<builtin>: sound.o] Error 1 >make: *** Waiting for unfinished jobs.... >x.c:219:5: error: call to undeclared function 'getspace'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if(getspace(fig)) > ^ >bomber.c:160:2: warning: 'ftime' is deprecated: Use gettimeofday or > clock_gettime instead [-Wdeprecated-declarations] > ftime(&tb); > ^ >/usr/include/sys/timeb.h:31:3: note: 'ftime' has been explicitly marked > deprecated here > __attribute_deprecated_msg__ ("Use gettimeofday or clock_gettime instead"); > ^ >/usr/include/sys/cdefs.h:350:19: note: expanded from macro > '__attribute_deprecated_msg__' > __attribute__ ((__deprecated__ (msg))) > ^ >x.c:554:5: error: call to undeclared function 'allocgfxres'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if(allocgfxres()) > ^ >x.c:561:1: error: type specifier missing, defaults to 'int'; ISO C99 and later > do not support implicit int [-Werror,-Wimplicit-int] >allocgfxres() >^ >int >x.c:585:1: error: type specifier missing, defaults to 'int'; ISO C99 and later > do not support implicit int [-Werror,-Wimplicit-int] >getspace(figure *fig) >^ >int >bomber.c:182:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >myrand1() >^ >int >bomber.c:193:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >myrand() >^ >int >bomber.c:200:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >initmyrand() >^ >int >bomber.c:207:3: warning: assigning to 'char *' from 'unsigned char[250]' > converts between pointers to integer types where one is of the unique > plain 'char' type and the other is not [-Wpointer-sign] > p=myrandblock; > ^~~~~~~~~~~~ >x.c:735:1: error: type specifier missing, defaults to 'int'; ISO C99 and later > do not support implicit int [-Werror,-Wimplicit-int] >greyrect(int x,int y,int xsize,int ysize) >^ >intbomber.c >:215:3: warning: assigning to 'char *' from 'unsigned char *' converts > between pointers to integer types where one is of the unique plain 'char' > type and the other is not [-Wpointer-sign] > p=myrandblock+14; > ^~~~~~~~~~~~~~~ >x.c:742:1: warning: non-void function does not return a value [-Wreturn-type] >} >^ >bomber.c:229:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >bomber.c:263:31: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > (struct sockaddr *)&sender,&senderlength); > ^~~~~~~~~~~~~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >2 warnings and 6 errors generated. >bomber.c:292:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >sendactions(int which,int frame) >^ >int >bomber.c:303:34: warning: passing 'char[64]' 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] > putmsg(&netnodes[which].netname,msg,MAXNETNODES+9); > ^~~ >bomber.c:233:54: note: passing argument to parameter 'msg' here >int putmsg(struct sockaddr_in *toname,unsigned char *msg,int len) > ^ >bomber.c:304:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >bomber.c:305:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >sendmine(int frame) >^ >int >bomber.c:315:21: warning: passing 'char[64]' 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] > putmsg(&mastername,msg,10); > ^~~ >bomber.c:233:54: note: passing argument to parameter 'msg' here >int putmsg(struct sockaddr_in *toname,unsigned char *msg,int len) > ^ >bomber.c:316:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >bomber.c:318:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >buildinform(unsigned char type) >^ >int >bomber.c:339:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >bomber.c:340:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >inform1(int which) >^ >int >bomber.c:344:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >bomber.c:345:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >inform(unsigned char type) >^ >int >bomber.c:352:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >bomber.c:444:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >getsocket() >^ >int >bomber.c:463:1: warning: non-void function does not return a value in all > control paths [-Wreturn-type] >} >^ >bomber.c:492:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >freegfxset(gfxset *gs) >^ >int >bomber.c:496:1: warning: non-void function does not return a value > [-Wreturn-type] >} >^ >bomber.c:498:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >nomem(char *str) >^ >int >bomber.c:505:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >getgroup(char *name,gfxset *colorgs,figure *fig,int count) >^ >int >bomber.c:523:1: warning: non-void function does not return a value in all > control paths [-Wreturn-type] >} >^ >bomber.c:524:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >getsingle(char *name,figure *fig,int count) >^ >int >bomber.c:533:1: warning: non-void function does not return a value in all > control paths [-Wreturn-type] >} >^ >bomber.c:555:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >loadgfx() >^ >int >make: *** [<builtin>: x.o] Error 1 >bomber.c:595:2: error: call to undeclared function 'solidfetch'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > solidfetch(gs,&background); > ^ >bomber.c:621:1: warning: non-void function does not return a value in all > control paths [-Wreturn-type] >} >^ >bomber.c:654:2: error: call to undeclared function 'update'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > update(); > ^ >bomber.c:684:2: error: call to undeclared function 'update'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > update(); > ^ >bomber.c:692:22: warning: operator '>>' has lower precedence than '-'; '-' will > be evaluated first [-Wshift-op-parentheses] > drawbigstring(IXSIZE-w>>1,y,str); > ~~~~~~^~~~ >bomber.c:692:22: note: place parentheses around the '-' expression to silence > this warning > drawbigstring(IXSIZE-w>>1,y,str); > ~~~~~~^~ >bomber.c:700:10: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while(ch=*str++) > ~~^~~~~~~ >bomber.c:700:10: note: place parentheses around the assignment to silence this > warning > while(ch=*str++) > ^ > ( ) >bomber.c:700:10: note: use '==' to turn this assignment into an equality > comparison > while(ch=*str++) > ^ > == >bomber.c:702:40: error: call to undeclared library function 'toupper' with type > 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > drawfigure(xpos,ypos,font+asciiremap[toupper(ch)]); > ^ >bomber.c:702:40: note: include the header <ctype.h> or explicitly provide a > declaration for 'toupper' >bomber.c:711:10: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while(ch=*str++) > ~~^~~~~~~ >bomber.c:711:10: note: place parentheses around the assignment to silence this > warning > while(ch=*str++) > ^ > ( ) >bomber.c:711:10: note: use '==' to turn this assignment into an equality > comparison > while(ch=*str++) > ^ > == >bomber.c:722:6: error: call to undeclared function 'dopcxreal'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > err=dopcxreal(name,gs); > ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >20 warnings and 20 errors generated. >matcher.c:76:2: warning: 'ftime' is deprecated: Use gettimeofday or > clock_gettime instead [-Wdeprecated-declarations] > ftime(&tb); > ^ >/usr/include/sys/timeb.h:31:3: note: 'ftime' has been explicitly marked > deprecated here > __attribute_deprecated_msg__ ("Use gettimeofday or clock_gettime instead"); > ^ >/usr/include/sys/cdefs.h:350:19: note: expanded from macro > '__attribute_deprecated_msg__' > __attribute__ ((__deprecated__ (msg))) > ^ >matcher.c:132:31: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > (struct sockaddr *)&sender,&senderlength); > ^~~~~~~~~~~~~ >/usr/include/sys/socket.h:165:27: note: passing argument to parameter > '__addr_len' here > socklen_t *__restrict __addr_len); > ^ >matcher.c:254:4: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > (addr>>24)&255,(addr>>16)&255,(addr>>8)&255,addr... > ^~~~~~~~~~~~~~ >matcher.c:254:19: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > (addr>>24)&255,(addr>>16)&255,(addr>>8)&255,addr... > ^~~~~~~~~~~~~~ >matcher.c:254:34: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > (addr>>24)&255,(addr>>16)&255,(addr>>8)&255,addr... > ^~~~~~~~~~~~~ >matcher.c:254:48: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > ...(addr>>24)&255,(addr>>16)&255,(addr>>8)&255,addr&255,port, > ^~~~~~~~ >matcher.c:255:28: warning: format specifies type 'unsigned int' but the argument > has type 'struct gamehost *' [-Wformat] > new->status ? '+' : '-',match,new->name); > ^~~~~ >make: *** [<builtin>: bomber.o] Error 1 >matcher.c:293:4: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > (addr>>24)&255,(addr>>16)&255,(addr>>8)&255,addr... > ^~~~~~~~~~~~~~ >matcher.c:293:19: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > (addr>>24)&255,(addr>>16)&255,(addr>>8)&255,addr... > ^~~~~~~~~~~~~~ >matcher.c:293:34: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > (addr>>24)&255,(addr>>16)&255,(addr>>8)&255,addr... > ^~~~~~~~~~~~~ >matcher.c:293:48: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > ...(addr>>24)&255,(addr>>16)&255,(addr>>8)&255,addr&255,port); > ^~~~~~~~ >11 warnings generated. > * ERROR: games-action/xbomber-101-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-action/xbomber-101-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-action/xbomber-101-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/games-action:xbomber-101-r1:20221005-130954.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-action/xbomber-101-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-action/xbomber-101-r1/temp/environment'. > * Working directory: '/var/tmp/portage/games-action/xbomber-101-r1/work/xbomber-101' > * S: '/var/tmp/portage/games-action/xbomber-101-r1/work/xbomber-101' >
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 875434
:
821071
|
821074
|
821077
|
821080
| 821083 |
821086