* Package: x11-plugins/asmon-0.71 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pie ssp userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking asmon-0.71.tar.bz2 to /var/tmp/portage/x11-plugins/asmon-0.71/work >>> Source unpacked in /var/tmp/portage/x11-plugins/asmon-0.71/work >>> Compiling source in /var/tmp/portage/x11-plugins/asmon-0.71/work/asmon-0.71/asmon ... make -j1 clean for i in asmon.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o ../wmgeneral/list.o ; do \ rm $i;\ done rm asmon make -j1 'SOLARIS=-O2 -pipe -march=native' 'LIBDIR=-Wl,-O1 -Wl,--as-needed' x86_64-pc-linux-gnu-gcc -c -Wall -O2 -pipe -march=native asmon.c -o asmon.o asmon.c: In function ‘DrawLoad’: asmon.c:475:23: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] int tempy, tempa, i; ^ asmon.c: In function ‘DrawMemSwap’: asmon.c:615:32: warning: variable ‘MEMcach’ set but not used [-Wunused-but-set-variable] unsigned long MEMshar,MEMbuff,MEMcach, MEMswap; ^~~~~~~ asmon.c: In function ‘main’: asmon.c:141:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, " %d", &Xpid); ^~~~~~~~~~~~~~~~~~~~~~~~ asmon.c:146:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, " %d", &Xpid); ^~~~~~~~~~~~~~~~~~~~~~~~ asmon.c: In function ‘asmon_routine’: asmon.c:250:23: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] if (Command[ 0 ]) system(Command); ^~~~~~~~~~~~~~~ asmon.c: In function ‘DrawCPU’: asmon.c:357:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "cpu %lf %lf %lf %lf %lf %lf %lf", info, info+1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ info+2, info+3, info+4, info+5, info+6); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ asmon.c:383:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "cpu %lf %lf %lf %lf", info, info+1, info+2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ info+3); ~~~~~~~ asmon.c: In function ‘DrawLoad’: asmon.c:486:2: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%f", &ftmp); ^~~~~~~~~~~~~~~~~~~~~~~ asmon.c: In function ‘DrawMemSwap’: asmon.c:624:3: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(junk, 120, fp); ^~~~~~~~~~~~~~~~~~~~ asmon.c:659:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(junk, 80, fp); ^~~~~~~~~~~~~~~~~~~ asmon.c:660:6: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "Mem: %f %f %f %f %f %f\nSwap: %f %f %f", &total, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &used, &freeM, &shared, &buffers, &cached, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &swaptotal, &swapused, &swapfreeM); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ asmon.c: In function ‘DrawUptime’: asmon.c:808:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d",&upt); ^~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -Wall -O2 -pipe -march=native ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o x86_64-pc-linux-gnu-gcc -c -Wall -O2 -pipe -march=native ../wmgeneral/misc.c -o ../wmgeneral/misc.o In file included from ../wmgeneral/misc.c:24: ../wmgeneral/list.h:57:13: warning: inline function ‘list_free’ declared but never defined INLINE void list_free(LinkedList* list); ^~~~~~~~~ ../wmgeneral/list.h:55:19: warning: inline function ‘list_find’ declared but never defined INLINE LinkedList*list_find(LinkedList* list, void* elem); ^~~~~~~~~ ../wmgeneral/list.h:53:13: warning: inline function ‘list_mapcar’ declared but never defined INLINE void list_mapcar(LinkedList* list, void(*function)(void*)); ^~~~~~~~~~~ ../wmgeneral/list.h:51:20: warning: inline function ‘list_remove_elem’ declared but never defined INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem); ^~~~~~~~~~~~~~~~ ../wmgeneral/list.h:49:13: warning: inline function ‘list_remove_head’ declared but never defined INLINE void list_remove_head(LinkedList** list); ^~~~~~~~~~~~~~~~ ../wmgeneral/list.h:47:14: warning: inline function ‘list_nth’ declared but never defined INLINE void* list_nth(int index, LinkedList* list); ^~~~~~~~ ../wmgeneral/list.h:45:12: warning: inline function ‘list_length’ declared but never defined INLINE int list_length(LinkedList* list); ^~~~~~~~~~~ ../wmgeneral/list.h:43:20: warning: inline function ‘list_cons’ declared but never defined INLINE LinkedList* list_cons(void* head, LinkedList* tail); ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -Wall -O2 -pipe -march=native ../wmgeneral/list.c -o ../wmgeneral/list.o x86_64-pc-linux-gnu-gcc -o asmon asmon.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o ../wmgeneral/list.o -Wl,-O1 -Wl,--as-needed -lXpm -lXext -lX11 /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../wmgeneral/misc.o: in function `parse_command': misc.c:(.text+0x139): undefined reference to `list_cons' /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: misc.c:(.text+0x162): undefined reference to `list_length' /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: misc.c:(.text+0x1ab): undefined reference to `list_remove_head' collect2: error: ld returned 1 exit status make: *** [Makefile:18: asmon] Error 1 emake failed * ERROR: x11-plugins/asmon-0.71::gentoo failed (compile phase): * emake failed. * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 824: Called die * The specific snippet of code: * emake SOLARIS="${CFLAGS}" LIBDIR="${LDFLAGS}" || die "emake failed." * * If you need support, post the output of `emerge --info '=x11-plugins/asmon-0.71::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/asmon-0.71::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:asmon-0.71:20190506-023945.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/asmon-0.71/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/asmon-0.71/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/asmon-0.71/work/asmon-0.71/asmon' * S: '/var/tmp/portage/x11-plugins/asmon-0.71/work/asmon-0.71/asmon'