Package: app-admin/longrun-0.9-r4 Repository: gentoo Maintainer: maintainer-needed@gentoo.org USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU FEATURES: preserve-libs sandbox userpriv usersandbox Determining the location of the kernel source code Found kernel source directory: /usr/src/linux Found kernel object directory: /lib/modules/3.18.7-gentoo/build Found sources for kernel version: 3.18.7-gentoo Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking longrun-0.9.tar.bz2 to /var/tmp/portage/app-admin/longrun-0.9-r4/work * Applying longrun_0.9-19.diff.gz ... [ ok ] * Applying 0.9-makefile_cflags.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/app-admin/longrun-0.9-r4/work >>> Compiling source in /var/tmp/portage/app-admin/longrun-0.9-r4/work/longrun ... make CC=x86_64-gentoo-linux-musl-gcc x86_64-gentoo-linux-musl-gcc -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -o longrun longrun.c longrun.c:184:15: error: unknown type name ‘loff_t’ void read_msr(loff_t address, int *lower, int *upper) ^ longrun.c:196:16: error: unknown type name ‘loff_t’ void write_msr(loff_t address, int lower, int upper) ^ longrun.c:209:17: error: unknown type name ‘loff_t’ void read_cpuid(loff_t address, int *eax, int *ebx, int *ecx, int *edx) ^ longrun.c: In function ‘check_cpu’: longrun.c:228:2: warning: implicit declaration of function ‘read_cpuid’ [-Wimplicit-function-declaration] read_cpuid(CPUID_TMx86_VENDOR_ID, &eax, &ebx, &ecx, &edx); ^ longrun.c: In function ‘print_lrti_info’: longrun.c:249:2: warning: implicit declaration of function ‘read_msr’ [-Wimplicit-function-declaration] read_msr(MSR_TMx86_LRTI_READOUT, &junk, &max); ^ longrun.c:251:2: warning: implicit declaration of function ‘write_msr’ [-Wimplicit-function-declaration] write_msr(MSR_TMx86_LRTI_READOUT, 0, max); ^ Makefile:6: recipe for target 'longrun' failed make: *** [longrun] Error 1 emake failed ERROR: app-admin/longrun-0.9-r4::gentoo failed (compile phase): emake failed Call stack: ebuild.sh, line 93: Called src_compile environment, line 2582: Called die The specific snippet of code: emake CC="$(tc-getCC)" || die "emake failed" If you need support, post the output of `emerge --info '=app-admin/longrun-0.9-r4::gentoo'`, the complete build log and the output of `emerge -pqv '=app-admin/longrun-0.9-r4::gentoo'`. The complete build log is located at '/var/tmp/portage/app-admin/longrun-0.9-r4/temp/build.log'. The ebuild environment file is located at '/var/tmp/portage/app-admin/longrun-0.9-r4/temp/environment'. Working directory: '/var/tmp/portage/app-admin/longrun-0.9-r4/work/longrun' S: '/var/tmp/portage/app-admin/longrun-0.9-r4/work/longrun'