Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 819220 Details for
Bug 874999
games-emulation/gngb-20060309-r1 - cpu.c: error: implicit declaration of function gbserial_read
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-emulation:gngb-20060309-r1:20221004-045718.log
games-emulation:gngb-20060309-r1:20221004-045718.log (text/plain), 24.18 KB, created by
Toralf Förster
on 2022-10-04 16:30:48 UTC
(
hide
)
Description:
games-emulation:gngb-20060309-r1:20221004-045718.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-04 16:30:48 UTC
Size:
24.18 KB
patch
obsolete
> * Package: games-emulation/gngb-20060309-r1:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux opengl userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking gngb-20060309.tar.gz to /var/tmp/portage/games-emulation/gngb-20060309-r1/work >>>> Source unpacked in /var/tmp/portage/games-emulation/gngb-20060309-r1/work >>>> Preparing source in /var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309 ... > * Applying gngb-20060309-amd64.patch ... > [ ok ] > * Applying gngb-20060309-gcc34.patch ... > [ ok ] > * Applying gngb-20060309-gcc5.patch ... > [ ok ] > * Applying gngb-20060309-gcc7.patch ... > [ ok ] > * Applying gngb-20060309-inline.patch ... > [ ok ] > * Applying gngb-20060309-joystick.patch ... > [ ok ] > * Applying gngb-20060309-qwerty.patch ... > [ ok ] > * Applying gngb-20060309-gcc10.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' ... > * Running 'aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: gngb-20060309/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309 ... > * econf: updating gngb-20060309/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating gngb-20060309/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/gngb-20060309-r1 --htmldir=/usr/share/doc/gngb-20060309-r1/html --libdir=/usr/lib64 --enable-gl >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for sys/time.h... yes >checking whether byte ordering is bigendian... no >checking for pthread_create in -lpthread... yes >checking for sdl-config... yes >checking for SDL_Init in -lSDL... yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fcntl.h... yes >checking for sys/time.h... (cached) yes >checking for unistd.h... (cached) yes >checking for an ANSI C-conforming const... yes >checking for vprintf... yes >checking for gettimeofday... yes >checking for sleep... yes >checking for mkdir... yes >checking for socket... yes >checking for strtol... yes >checking for getopt_long... yes >checking for bzlib.h... yes >checking for BZ2_bzopen in -lbz2... yes >checking for zlib.h... yes >checking for gzopen in -lz... yes >checking for GL/gl.h... yes >checking for glBegin in -lGL... yes >Architeture: x86_64 >System: Linux >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >Making all in src >make[2]: Entering directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o cpu.o cpu.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o emu.o emu.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o frame_skip.o frame_skip.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o interrupt.o interrupt.c >In file included from interrupt.c:25: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >In file included from interrupt.c:24: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >interrupt.c: In function âgblcdc_update3â: >interrupt.c:511:1: warning: control reaches end of non-void function [-Wreturn-type] > 511 | } > | ^ >In file included from emu.c:44: >video_std.h:54:17: warning: inline function âdraw_obj_stdâ declared but never defined > 54 | __inline__ void draw_obj_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:53:17: warning: inline function âdraw_spr_stdâ declared but never defined > 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~ >video_std.h:52:17: warning: inline function âdraw_win_stdâ declared but never defined > 52 | __inline__ void draw_win_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:51:17: warning: inline function âdraw_back_stdâ declared but never defined > 51 | __inline__ void draw_back_std(Uint16 *buf); > | ^~~~~~~~~~~~~ >video_std.h:49:17: warning: inline function âdraw_obj_col_stdâ declared but never defined > 49 | __inline__ void draw_obj_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:48:17: warning: inline function âdraw_spr_col_stdâ declared but never defined > 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:47:17: warning: inline function âdraw_win_col_stdâ declared but never defined > 47 | __inline__ void draw_win_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:46:17: warning: inline function âdraw_back_col_stdâ declared but never defined > 46 | __inline__ void draw_back_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >video_std.h:44:17: warning: inline function âdraw_obj_sgb_stdâ declared but never defined > 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:43:17: warning: inline function âdraw_spr_sgb_stdâ declared but never defined > 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:42:17: warning: inline function âdraw_win_sgb_stdâ declared but never defined > 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:41:17: warning: inline function âdraw_back_sgb_stdâ declared but never defined > 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >In file included from emu.c:38: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >In file included from emu.c:35: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >emu.c: In function âopen_confâ: >emu.c:282:5: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 282 | fgets(buf,510,f); > | ^~~~~~~~~~~~~~~~ >cpu.c: In function âgbcpu_exec_oneâ: >cpu.c:881:14: warning: self-comparison always evaluates to false [-Wtautological-compare] > 881 | ((A>A)?SET_FLAG(FLAG_C):UNSET_FLAG(FLAG_NC)); > | ^ >cpu.c:882:21: warning: self-comparison always evaluates to false [-Wtautological-compare] > 882 | (((A&0x0f)>(A&0x0f))?SET_FLAG(FLAG_H):UNSET_FLAG(FLAG_NH)); > | ^ >cpu.c: In function âcpu_runâ: >cpu.c:2913:24: error: implicit declaration of function âgbserial_readâ; did you mean âgbserial_sendâ? [-Werror=implicit-function-declaration] > 2913 | SB=gbserial_read(); > | ^~~~~~~~~~~~~ > | gbserial_send >cpu.c:2920:21: error: implicit declaration of function âgbserial_writeâ; did you mean âgbserial_initâ? [-Werror=implicit-function-declaration] > 2920 | gbserial_write(SB); > | ^~~~~~~~~~~~~~ > | gbserial_init >emu.c:299:13: warning: â__builtin_strncpyâ specified bound depends on the length of the source argument [-Wstringop-truncation] > 299 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); > | ^ >emu.c:299:56: note: length computed here > 299 | strncpy(*((char **) config_var[i].var),val,strlen(val)+1); > | ^~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o main.o main.c >In file included from main.c:37: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >In file included from main.c:35: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o memory.o memory.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o message.o message.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o rom.o rom.c >In file included from message.c:28: >video_std.h:54:17: warning: inline function âdraw_obj_stdâ declared but never defined > 54 | __inline__ void draw_obj_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:53:17: warning: inline function âdraw_spr_stdâ declared but never defined > 53 | __inline__ void draw_spr_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~ >video_std.h:52:17: warning: inline function âdraw_win_stdâ declared but never defined > 52 | __inline__ void draw_win_std(Uint16 *buf); > | ^~~~~~~~~~~~ >video_std.h:51:17: warning: inline function âdraw_back_stdâ declared but never defined > 51 | __inline__ void draw_back_std(Uint16 *buf); > | ^~~~~~~~~~~~~ >video_std.h:49:17: warning: inline function âdraw_obj_col_stdâ declared but never defined > 49 | __inline__ void draw_obj_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:48:17: warning: inline function âdraw_spr_col_stdâ declared but never defined > 48 | __inline__ void draw_spr_col_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:47:17: warning: inline function âdraw_win_col_stdâ declared but never defined > 47 | __inline__ void draw_win_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:46:17: warning: inline function âdraw_back_col_stdâ declared but never defined > 46 | __inline__ void draw_back_col_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >video_std.h:44:17: warning: inline function âdraw_obj_sgb_stdâ declared but never defined > 44 | __inline__ void draw_obj_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:43:17: warning: inline function âdraw_spr_sgb_stdâ declared but never defined > 43 | __inline__ void draw_spr_sgb_std(Uint16 *buf,GB_SPRITE *sp); > | ^~~~~~~~~~~~~~~~ >video_std.h:42:17: warning: inline function âdraw_win_sgb_stdâ declared but never defined > 42 | __inline__ void draw_win_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~ >video_std.h:41:17: warning: inline function âdraw_back_sgb_stdâ declared but never defined > 41 | __inline__ void draw_back_sgb_std(Uint16 *buf); > | ^~~~~~~~~~~~~~~~~ >In file included from video_std.h:22: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >memory.c:74:25: warning: data definition has no type or storage class > 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; > | ^~~~~~~~~ >memory.c:74:25: error: type defaults to âintâ in declaration of âjoy_x_maxâ [-Werror=implicit-int] >memory.c:74:41: warning: data definition has no type or storage class > 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; > | ^~~~~~~~~ >memory.c:74:41: error: type defaults to âintâ in declaration of âjoy_y_minâ [-Werror=implicit-int] >memory.c:74:58: warning: data definition has no type or storage class > 74 | Sint16 joy_x_min=-32767;joy_x_max=32767;joy_y_min=-32767;joy_y_max=32767; > | ^~~~~~~~~ >memory.c:74:58: error: type defaults to âintâ in declaration of âjoy_y_maxâ [-Werror=implicit-int] >memory.c: In function âupdate_gb_padâ: >memory.c:817:26: error: implicit declaration of function âmovie_add_padâ [-Werror=implicit-function-declaration] > 817 | if (conf.save_movie) movie_add_pad(gb_pad); > | ^~~~~~~~~~~~~ >memory.c:819:12: error: implicit declaration of function âmovie_get_next_padâ [-Werror=implicit-function-declaration] > 819 | gb_pad=movie_get_next_pad(); > | ^~~~~~~~~~~~~~~~~~ >memory.c: In function âmem_write_ffâ: >memory.c:984:11: error: implicit declaration of function âgbserial_writeâ; did you mean âgbserial_initâ? [-Werror=implicit-function-declaration] > 984 | gbserial_write(SB); > | ^~~~~~~~~~~~~~ > | gbserial_init >In file included from memory.c:28: >vram.h: At top level: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >In file included from memory.c:26: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >rom.c: In function âopen_româ: >rom.c:124:11: error: implicit declaration of function âzip_file_open_next_româ [-Werror=implicit-function-declaration] > 124 | if (zip_file_open_next_rom(stream->stream)<0) return -1; > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from rom.c:43: >vram.h: At top level: >vram.h:108:18: warning: inline function âget_nb_sprâ declared but never defined > 108 | __inline__ Uint8 get_nb_spr(void); > | ^~~~~~~~~~ >In file included from rom.c:41: >cpu.h:83:17: warning: inline function âcpu_runâ declared but never defined > 83 | __inline__ void cpu_run(void); > | ^~~~~~~ >cpu.h:82:18: warning: inline function âgbcpu_exec_oneâ declared but never defined > 82 | __inline__ Uint8 gbcpu_exec_one(void); > | ^~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DSDL_YUV -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_GL -O3 -Wno-unused -funroll-loops -fstrength-reduce -ffast-math -falign-functions=2 -falign-jumps=2 -falign-loops=2 -fomit-frame-pointer -Wall -c -o serial.o serial.c >serial.c: In function âgbserial_initâ: >serial.c:148:47: warning: pointer targets in passing argument 3 of âacceptâ differ in signedness [-Wpointer-sign] > 148 | if ((n=accept(s,(struct sockaddr *)&saddr,&len))<0) { > | ^~~~ > | | > | int * >In file included from serial.c:26: >/usr/include/sys/socket.h:307:42: note: expected âsocklen_t * restrictâ {aka âunsigned int * restrictâ} but argument is of type âint *â > 307 | socklen_t *__restrict __addr_len); > | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ >serial.c: In function âgbserial_receiveâ: >serial.c:226:10: warning: assignment to âUint8â {aka âunsigned charâ} from âUint8 *â {aka âunsigned char *â} makes integer from pointer without a cast [-Wint-conversion] > 226 | else SB=c; > | ^ >In file included from serial.c:45: >serial.c: In function âgbserial_wait_dataâ: >memory.h:59:18: warning: passing argument 2 of âwriteâ makes pointer from integer without a cast [-Wint-conversion] > 59 | #define SB (himem[0x61]) > | ~~~~~~^~~~~~~ > | | > | Uint8 {aka unsigned char} >serial.c:266:21: note: in expansion of macro âSBâ > 266 | write(dest_socket,SB,1); > | ^~ >In file included from serial.c:22: >/usr/include/unistd.h:378:45: note: expected âconst void *â but argument is of type âUint8â {aka âunsigned charâ} > 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur > | ~~~~~~~~~~~~^~~~~ >serial.c: In function âgbserial_sendâ: >serial.c:206:3: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 206 | write(dest_socket,&b,sizeof(Uint8)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >serial.c: In function âgbserial_wait_dataâ: >serial.c:266:3: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 266 | write(dest_socket,SB,1); > | ^~~~~~~~~~~~~~~~~~~~~~~ >serial.c: In function âgbserial_writeâ: >serial.c:321:3: warning: ignoring return value of âwriteâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 321 | write(dest_socket,&b,1); > | ^~~~~~~~~~~~~~~~~~~~~~~ >cc1: some warnings being treated as errors >make[2]: *** [Makefile:388: rom.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >In file included from /usr/include/features.h:490, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from serial.c:20: >In function âreadâ, > inlined from âgbserial_readâ at serial.c:312:8: >/usr/include/bits/unistd.h:38:10: warning: call to â__read_chk_warnâ declared with attribute warning: read called with bigger length than size of the destination buffer [-Wattribute-warning] > 38 | return __glibc_fortify (read, __nbytes, sizeof (char), > | ^~~~~~~~~~~~~~~ >cc1: some warnings being treated as errors >make[2]: *** [Makefile:388: memory.o] Error 1 >cc1: some warnings being treated as errors >make[2]: *** [Makefile:388: cpu.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309/src' >make[1]: *** [Makefile:430: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >make: *** [Makefile:328: all] Error 2 > * ERROR: games-emulation/gngb-20060309-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-emulation/gngb-20060309-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-emulation/gngb-20060309-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/games-emulation:gngb-20060309-r1:20221004-045718.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/gngb-20060309-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-emulation/gngb-20060309-r1/temp/environment'. > * Working directory: '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' > * S: '/var/tmp/portage/games-emulation/gngb-20060309-r1/work/gngb-20060309' >
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 874999
:
819208
|
819211
|
819214
|
819217
| 819220 |
819223
|
819226