* Package: games-misc/sdljoytest-11102003 * 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 SDLJoytest-GL-11102003.tar.bz2 to /var/tmp/portage/games-misc/sdljoytest-11102003/work >>> Source unpacked in /var/tmp/portage/games-misc/sdljoytest-11102003/work >>> Preparing source in /var/tmp/portage/games-misc/sdljoytest-11102003/work/SDLJoytest-GL ... make -j1 clean Cleaning up...done. >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-misc/sdljoytest-11102003/work/SDLJoytest-GL ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-misc/sdljoytest-11102003/work/SDLJoytest-GL ... make -j1 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common' 'LDFLAGS=-lSDL -lpthread -lGL -Wl,-O1 -Wl,--as-needed' x86_64-pc-linux-gnu-gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -D_REENTRANT -c -o main.o main.c x86_64-pc-linux-gnu-gcc -c -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -D_REENTRANT init_quit.c -o init_quit.o init_quit.c: In function ‘QueryJoyStick’: init_quit.c:332:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 332 | scanf("%i",&choice); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -D_REENTRANT input.c -o input.o x86_64-pc-linux-gnu-gcc -c -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -D_REENTRANT output.c -o output.o x86_64-pc-linux-gnu-gcc -o SDLJoytest-GL main.o init_quit.o input.o output.o -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -pipe -march=native -fno-common -D_REENTRANT -lSDL -lpthread -lGL -Wl,-O1 -Wl,--as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: init_quit.o:(.bss+0x0): multiple definition of `hello'; main.o:(.bss+0x17c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: input.o:(.bss+0x0): multiple definition of `hello'; main.o:(.bss+0x17c): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: output.o:(.bss+0x0): multiple definition of `hello'; main.o:(.bss+0x17c): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:27: all] Error 1 * ERROR: games-misc/sdljoytest-11102003::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-misc/sdljoytest-11102003::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-misc/sdljoytest-11102003::gentoo'`. * The complete build log is located at '/var/log/portage/games-misc:sdljoytest-11102003:20200126-141425.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-misc/sdljoytest-11102003/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-misc/sdljoytest-11102003/temp/environment'. * Working directory: '/var/tmp/portage/games-misc/sdljoytest-11102003/work/SDLJoytest-GL' * S: '/var/tmp/portage/games-misc/sdljoytest-11102003/work/SDLJoytest-GL'