Skip to content

Compiling errors (AGAIN!) #1877

@GabrielAnacletoBaumgartner

Description

Ok, i've been trying to compile a custom X11-nividia Lakka build for 5 DAYS! And i'm still getting errors.

I already had issues compiling the system but now i made a few changes.

I edited the name, logo, splash and options file in the Lakka-LibreELEC/distributions/Lakka, v4 and v5. But even before editing i was getting errors. If this is my environment's fault, you should provide the "install all dependencies" script, after all the Readme.MD is COMPLETELY OUTDATED.

Note the compiling errors i'm getting are consistent even with no modifications (simply just cloned and compiled) to the previous mentioned files.

Basically what i added to the options was this:

  EXCLUDE_LIBRETRO_CORES+=" stella2014 mednafen_lynx atari800"
  #Atari
  EXCLUDE_LIBRETRO_CORES+=" hbmame mame2000 mame2003 mame2003_midway mame2003_plus mame2009 mame2010 mame2015 mame2016"
  #Arcade
  EXCLUDE_LIBRETRO_CORES+=" mednafen_pce_fast mednafen_supergrafx quasi88 np2kai nekop2"
  #NECpcEngine
  EXCLUDE_LIBRETRO_CORES+=" desmume2015"
  #DS
  EXCLUDE_LIBRETRO_CORES+=" quicknes bnes emux_chip8 emux_gb emux_nes emux_sms fceumm fixnes"
  #NES
  EXCLUDE_LIBRETRO_CORES+=" snes9x2002 snes9x2005 snes9x2005_plus snes9x2010 bsnes2014_accuracy bsnes2014_balanced bsnes2014_performance bsnes_cplusplus98 bsnes_hd_beta bsnes bsnes_mercury_accuracy bsnes_mercury_balanced bsnes_mercury_performance mednafen_snes mednafen_supafaust higan_sfc_balanced higan_sfc mesen-s"
  #SNES
  EXCLUDE_LIBRETRO_CORES+=" sameboy tgbdual gearboy meteor fixgb gambatte tempgba vba_next vbam mednafen_gba"
  #GBA
  EXCLUDE_LIBRETRO_CORES+=" dosbox_core dosbox dosbox_pure dosbox_svn_ce dosbox_svn minivmac gpsp mu px68k x1 81 fuse theodore cap32 crocods puae2021 puae uae4arm vice_x128 vice_x64 vice_x64sc vice_xcbm2 vice_xcbm5x0 vice_xpet vice_xplus4 vice_xscpu64 vice_xvic"
  #RetroOS
  EXCLUDE_LIBRETRO_CORES+=" genesis_plus_gx_wide picodrive gearsystem"
  #Genesis
  EXCLUDE_LIBRETRO_CORES+=" race"
  #Neogeo
  EXCLUDE_LIBRETRO_CORES+=" cannonball craft prboom nxengine dinothawr mrboom xrick"
  #Singlecores
  EXCLUDE_LIBRETRO_CORES+=" tyrquake vitaquake2-rogue vitaquake2-xatrix vitaquake2-zaero vitaquake2 vitaquake3 boom3 boom3_xp gong opentyrian pascal_pong"
  #GameClone
  EXCLUDE_LIBRETRO_CORES+=" openlara chailove ecwolf ecwolf puzzlescript jumpnbump lowresnx lutro reminiscence scummvm superbroswar tic80 vaporspec vitavoyager wasm4 easyrpg cruzes"
  #GameEngine
  EXCLUDE_LIBRETRO_CORES+=" mpv ffmpeg pocketcdg gme moonlight"
  #Multimedia

This way it would remove the cores i won't use. And yes, i inserted these lines before # exclude some cores at build time
The changes to the name and to the icons/splash is purely due to aesthetics (and i don't know how it could affect compiling)

With Lakka v5.x i get errors at step 258:

�[1;31mCLEAN�[0m      mame
    �[1;31m*�[0m      �[0;31mRemoving /home/gabriellaptop/Lakka-LibreELEC/build.DreamOS-Generic.x86_64-5.0-devel/build/mame-1808a1cc4bf9148505bc97a3f392b55e6121993c ...�[0m
    �[1;31m*�[0m      �[0;31mRemoving /home/gabriellaptop/Lakka-LibreELEC/build.DreamOS-Generic.x86_64-5.0-devel/qa_checks/mame-* ...�[0m
�[1;36mUNPACK�[0m      mame
    �[1;32mAPPLY PATCH �[1;37m(common)�[0m�[0m      packages/lakka/libretro_cores/mame/patches/mame-crosscompile.patch
patching file 3rdparty/genie/build/gmake.linux/genie.make
patching file 3rdparty/genie/src/host/scripts.c
Hunk #1 succeeded at 147 with fuzz 1.
patching file scripts/toolchain.lua
Hunk #1 succeeded at 335 (offset -363 lines).
    �[1;32mAPPLY PATCH �[1;37m(common)�[0m�[0m      packages/lakka/libretro_cores/mame/patches/mame-remove-bgfx.patch
patching file Makefile.libretro
Hunk #1 succeeded at 79 with fuzz 2 (offset 24 lines).
patching file scripts/genie.lua
Hunk #1 succeeded at 437 with fuzz 1 (offset 50 lines).
patching file scripts/src/3rdparty.lua
Hunk #1 FAILED at 1249.
Hunk #2 FAILED at 1433.
2 out of 2 hunks FAILED -- saving rejects to file scripts/src/3rdparty.lua.rej
patching file scripts/src/main.lua
Hunk #1 FAILED at 380.
1 out of 1 hunk FAILED -- saving rejects to file scripts/src/main.lua.rej
*********** FAILED COMMAND ***********
patch -d "${PKG_BUILD}" -p1 < ${i} 1>&${VERBOSE_OUT}
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${PKG_NAME}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/build "${1}" "${PARENT_PKG}"
**************************************
�[1;31mFAILURE: scripts/install mame:target has failed!�[0m

With Lakka v4.x i get errors at step 8 (but the log file is 9, for some reason):

�[1;36mGET�[0m      m4 (archive)
--2023-09-07 18:48:05--  http://ftpmirror.gnu.org/m4/m4-1.4.18.tar.bz2
Resolving ftpmirror.gnu.org (ftpmirror.gnu.org)... 2001:470:142:5::200, 209.51.188.200
Connecting to ftpmirror.gnu.org (ftpmirror.gnu.org)|2001:470:142:5::200|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://mirror.keystealth.org/gnu/m4/m4-1.4.18.tar.bz2 [following]
--2023-09-07 18:48:06--  http://mirror.keystealth.org/gnu/m4/m4-1.4.18.tar.bz2
Resolving mirror.keystealth.org (mirror.keystealth.org)... 2001:470:1:863::110:2, 184.105.240.111
Connecting to mirror.keystealth.org (mirror.keystealth.org)|2001:470:1:863::110:2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1516964 (1.4M) [application/x-bzip2]
Saving to: '/home/gabriellaptop/LakkaV4/sources/m4/m4-1.4.18.tar.bz2'


          /home/gab   0%[                    ]       0  --.-KB/s               
         /home/gabr   2%[                    ]  40.92K   204KB/s               
        /home/gabri   4%[                    ]  73.67K   183KB/s               
       /home/gabrie   7%[>                   ] 103.92K   172KB/s               
      /home/gabriel  14%[=>                  ] 213.92K   264KB/s               
     /home/gabriell  28%[====>               ] 428.67K   421KB/s               
    /home/gabriella  47%[========>           ] 709.17K   582KB/s               
   /home/gabriellap  68%[============>       ]   1008K   701KB/s               
  /home/gabriellapt  89%[================>   ]   1.29M   809KB/s               
/home/gabriellaptop 100%[===================>]   1.45M   866KB/s    in 1.7s    

2023-09-07 18:48:08 (866 KB/s) - '/home/gabriellaptop/LakkaV4/sources/m4/m4-1.4.18.tar.bz2' saved [1516964/1516964]

    �[1;32mINFO�[0m      Calculated checksum: 6640d76b043bc658139c8903e293d5978309bf0f408107146505eca701e67cf6
�[1;36mUNPACK�[0m      m4
    �[1;32mAPPLY PATCH �[1;37m(common)�[0m�[0m      packages/devel/m4/patches/fix-compilation-with-glibc-2.28.patch
patching file lib/fflush.c
Hunk #2 succeeded at 72 with fuzz 1.
patching file lib/fpending.c
Hunk #1 succeeded at 32 with fuzz 1.
patching file lib/fpurge.c
patching file lib/freadahead.c
Hunk #1 succeeded at 25 (offset -5 lines).
patching file lib/freading.c
patching file lib/fseeko.c
patching file lib/stdio-impl.h
    �[1;33mFIXCONFIG�[0m      /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/build-aux/
�[1;33mBUILD�[0m      m4 �[1;37m(host)�[0m
    �[1;35mTOOLCHAIN�[0m      configure (auto-detect)
Executing (host): /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain --bindir=/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/bin --sbindir=/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/sbin --sysconfdir=/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/etc --libexecdir=/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/lib --localstatedir=/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/var --disable-static --enable-shared gl_cv_func_gettimeofday_clobber=no --target=x86_64-libreelec-linux-gnu
configure: WARNING: unrecognized options: --disable-static, --enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-linux-gnu-gcc... /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/bin/host-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 we are using the GNU C compiler... yes
checking whether /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/bin/host-gcc accepts -g... yes
checking for /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/bin/host-gcc option to accept ISO C89... none needed
checking whether /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/bin/host-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/bin/host-gcc... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for x86_64-linux-gnu-ar... ar
checking the archiver (ar) interface... ar
checking for x86_64-linux-gnu-ar... (cached) ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/bin/host-gcc option to accept ISO C99... none needed
checking for /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/bin/host-gcc option to accept ISO Standard C... (cached) none needed
configure: autobuild project... GNU M4
configure: autobuild revision... 1.4.18
configure: autobuild hostname... gabriellaptop
configure: autobuild timestamp... 20230907T214821Z
checking for unsigned long long int... yes
checking for long long int... yes
checking for unsigned long long int... (cached) yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for btowc... yes
checking for setrlimit... yes
checking for sigaltstack... yes
checking for canonicalize_file_name... yes
checking for getcwd... yes
checking for readlink... yes
checking for realpath... yes
checking for _set_invalid_parameter_handler... no
checking for fcntl... yes
checking for symlink... yes
checking for mempcpy... yes
checking for fpurge... no
checking for __fpurge... yes
checking for __freadahead... no
checking for __freading... yes
checking for getdtablesize... yes
checking for getprogname... no
checking for getexecname... no
checking for gettimeofday... yes
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for mkstemp... yes
checking for nl_langinfo... yes
checking for pipe2... yes
checking for isblank... yes
checking for iswctype... yes
checking for link... yes
checking for secure_getenv... yes
checking for getuid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getegid... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for snprintf... yes
checking for strndup... yes
checking for pipe... yes
checking for vasnprintf... no
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for newlocale... yes
checking for setenv... yes
checking for sleep... yes
checking for strdup... yes
checking for wctob... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... none
checking for ucontext.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for stdio_ext.h... yes
checking for sys/stat.h... (cached) yes
checking for getopt.h... yes
checking for sys/time.h... yes
checking for langinfo.h... yes
checking for limits.h... yes
checking for xlocale.h... no
checking for math.h... yes
checking for sys/mman.h... yes
checking for malloc.h... yes
checking for sys/cdefs.h... yes
checking for spawn.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for sys/wait.h... yes
checking for features.h... yes
checking for wctype.h... yes
checking for dirent.h... yes
checking for inttypes.h... (cached) yes
checking for working C stack overflow detection... no
checking for ld used by /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/toolchain/bin/host-gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for libsigsegv... no, consider installing GNU libsigsegv
checking whether // is distinct from /... no
checking whether realpath works... yes
checking if environ is properly declared... yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for mode_t... yes
checking for sig_atomic_t... yes
checking for working fcntl.h... yes
checking for pid_t... yes
checking whether frexp() can be used without linking with libm... yes
checking whether alarm is declared... yes
checking whether long double and double are the same... no
checking whether stdin defaults to large file offsets... yes
checking whether fseeko is declared... yes
checking for fseeko... yes
checking whether fflush works on input streams... no
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking whether ftello is declared... yes
checking for ftello... yes
checking whether ftello works... yes
checking whether getdtablesize is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking where to find the exponent in a 'double'... word 1 bit 20
checking where to find the exponent in a 'float'... word 0 bit 23
checking whether byte ordering is bigendian... no
checking whether limits.h has ULLONG_WIDTH etc.... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... yes
checking for wchar_t... yes
checking for max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for multithread API to use... none
checking whether lstat correctly handles trailing slash... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for mbstate_t... yes
checking for a traditional japanese locale... none
checking for a transitional chinese locale... none
checking for a french Unicode locale... none
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking for promoted mode_t type... mode_t
checking for library containing posix_spawn... none required
checking for posix_spawn... yes
checking whether posix_spawn works... yes
checking whether posix_spawnattr_setschedpolicy is supported... yes
checking whether posix_spawnattr_setschedparam is supported... yes
checking for sigset_t... yes
checking for SIGPIPE... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking whether snprintf returns a byte count as in C99... yes
checking whether snprintf is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wint_t... yes
checking whether wint_t is too small... no
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... yes
checking whether strerror(0) succeeds... yes
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking whether strsignal is declared... yes
checking whether sys_siglist is declared... no
checking whether strstr works... yes
checking whether ldexp() can be used without linking with libm... yes
checking for struct timespec in <time.h>... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking whether printf supports size specifiers as in C99... yes
checking whether printf supports 'long double' arguments... yes
checking whether printf supports infinite 'double' arguments... yes
checking whether printf supports infinite 'long double' arguments... yes
checking whether printf supports the 'a' and 'A' directives... yes
checking whether printf supports the 'F' directive... yes
checking whether printf supports the 'n' directive... no
checking whether printf supports the 'ls' directive... yes
checking whether printf supports the grouping flag... yes
checking whether printf supports the left-adjust flag correctly... yes
checking whether printf supports the zero flag correctly... yes
checking whether printf supports large precisions... yes
checking whether printf survives out-of-memory conditions... yes
checking whether to use C++... no
checking whether ungetc works on arbitrary bytes... yes
checking whether getcwd (NULL, 0) allocates memory for result... yes
checking for getcwd with POSIX signature... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether setenv is declared... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking whether strdup is declared... yes
checking whether unsetenv is declared... yes
checking for alloca as a compiler built-in... yes
checking whether to enable assertions... yes
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... guessing yes
checking for __builtin_expect... yes
checking whether sigaltstack is declared... yes
checking for stack_t... yes
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking for error_at_line... yes
checking whether fflush works on input streams... (cached) no
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking whether fflush works on input streams... (cached) no
checking whether conversion from 'int' to 'long double' works... yes
checking whether fopen recognizes a trailing slash... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking whether fpurge is declared... no
checking whether frexp works... yes
checking whether frexpl is declared... yes
checking whether frexpl() can be used without linking with libm... yes
checking whether frexpl works... yes
checking for fseeko... (cached) yes
checking whether fflush works on input streams... (cached) no
checking for _fseeki64... no
checking for ftello... (cached) yes
checking whether ftello works... (cached) yes
checking whether getdtablesize works... yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking whether __argv is declared... no
checking whether gettimeofday clobbers localtime buffer... (cached) no
checking for gettimeofday with POSIX signature... yes
checking whether isnan(double) can be used without linking with libm... yes
checking whether isnan(float) can be used without linking with libm... yes
checking whether isnan(float) works... yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... yes
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking for libsigsegv... (cached) no, consider installing GNU libsigsegv
checking whether locale.h conforms to POSIX:2001... yes
checking whether struct lconv is properly defined... yes
checking whether lseek detects pipes... yes
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking whether mbrtowc handles incomplete characters... guessing yes
checking whether mbrtowc works as well as mbtowc... guessing yes
checking whether mbrtowc handles a NULL pwc argument... guessing yes
checking whether mbrtowc handles a NULL string argument... guessing yes
checking whether mbrtowc has a correct return value... guessing yes
checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... no
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking for mkdtemp... yes
checking for working mkstemp... yes
checking whether YESEXPR works... yes
checking for obstacks that work with any size object... no
checking whether open recognizes a trailing slash... yes
checking whether posix_spawn_file_actions_addclose works... yes
checking whether posix_spawn_file_actions_adddup2 works... yes
checking whether posix_spawn_file_actions_addopen works... yes
checking whether frexp works... (cached) yes
checking whether ldexp can be used without linking with libm... (cached) yes
checking whether frexpl() can be used without linking with libm... (cached) yes
checking whether frexpl works... (cached) yes
checking whether frexpl is declared... (cached) yes
checking whether ldexpl() can be used without linking with libm... yes
checking whether ldexpl works... yes
checking whether ldexpl is declared... yes
checking whether program_invocation_name is declared... (cached) yes
checking whether program_invocation_short_name is declared... (cached) yes
checking for raise... yes
checking for sigprocmask... yes
checking for rawmemchr... yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking for working re_compile_pattern... yes
checking whether rename honors trailing slash on destination... yes
checking whether rename honors trailing slash on source... yes
checking whether rename manages hard links correctly... yes
checking whether rename manages existing destinations correctly... yes
checking whether rmdir works... yes
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking for signbit macro... yes
checking for signbit compiler built-ins... yes
checking for sigprocmask... (cached) yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for snprintf... (cached) yes
checking whether snprintf respects a size of 1... yes
checking whether printf supports POSIX/XSI format strings with positions... yes
checking for posix_spawnattr_t... yes
checking for posix_spawn_file_actions_t... yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... yes
checking for va_copy... yes
checking for max_align_t... (cached) yes
checking whether NULL can be used in arbitrary expressions... (cached) yes
checking which flavor of printf attribute matches inttypes macros... system
checking for strchrnul... yes
checking whether strchrnul works... yes
checking for working strerror function... yes
checking for working strndup... yes
checking for working strnlen... yes
checking for strsignal... yes
checking whether strsignal always returns a string... yes
checking whether strstr works in linear time... yes
checking whether strstr works... (cached) yes
checking whether strtod obeys C99... yes
checking for nlink_t... (cached) yes
checking for ptrdiff_t... yes
checking for vasprintf... yes
checking for vasprintf... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for waitid... yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether wcrtomb return value is correct... guessing yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking for stdint.h... (cached) yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional french locale... (cached) none
checking for a turkish Unicode locale... none
checking for closedir... yes
checking for dirfd... yes
checking whether dirfd is declared... yes
checking whether dirfd is a macro... no
checking whether dup works... yes
checking whether fdopen sets errno... yes
checking for flexible array member... yes
checking for getpagesize... yes
checking whether getpagesize is declared... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... yes
checking where to find the exponent in a 'double'... (cached) word 1 bit 20
checking where to find the exponent in a 'float'... (cached) word 0 bit 23
checking where to find the exponent in a 'long double'... unknown
checking whether link obeys POSIX... yes
checking for setlocale... yes
checking for uselocale... yes
checking for getlocalename_l... no
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for opendir... yes
checking for putenv compatible with GNU and SVID... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for readdir... yes
checking whether setenv validates arguments... yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking whether sleep is declared... yes
checking for working sleep... yes
checking for working stdalign.h... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking whether symlink handles trailing slash correctly... yes
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether unsetenv obeys POSIX... yes
checking for a traditional french locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking whether wctob works... guessing yes
checking whether wctob is declared... yes
checking whether an open file can be renamed... yes
checking if changeword is wanted... no
checking which shell to use for syscmd... /bin/sh
checking if malloc debugging is wanted... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating checks/Makefile
config.status: creating examples/Makefile
config.status: creating lib/config.h
config.status: linking /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/GNUmakefile to GNUmakefile
config.status: executing depfiles commands
config.status: executing stamp-h commands
configure: WARNING: unrecognized options: --disable-static, --enable-shared
Executing (host): make 
make[1]: Entering directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu'
make  all-recursive
make[2]: Entering directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu'
Making all in .
make[3]: Entering directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu'
Making all in examples
make[3]: Entering directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu/examples'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu/examples'
Making all in lib
make[3]: Entering directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu/lib'
  GEN      alloca.h
  GEN      configmake.h
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      limits.h
  GEN      unused-parameter.h
  GEN      spawn.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      sys/wait.h
  GEN      time.h
  GEN      unistd.h
  GEN      wchar.h
  GEN      wctype.h
  GEN      fcntl.h
  GEN      langinfo.h
  GEN      locale.h
  GEN      math.h
  GEN      signal.h
make  all-am
make[4]: Entering directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu/lib'
  CC       gl_avltree_oset.o
  CC       binary-io.o
  CC       c-ctype.o
  CC       c-stack.o
In file included from /usr/include/signal.h:328,
                 from ./signal.h:52,
                 from /home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/lib/c-stack.c:49:
/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/lib/c-stack.c:55:26: error: missing binary operator before token "("
   55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
      |                          ^~~~~~~~
/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/lib/c-stack.c:107:1: warning: 'die' defined but not used [-Wunused-function]
  107 | die (int signo)
      | ^~~
make[4]: *** [Makefile:1910: c-stack.o] Error 1
make[4]: Leaving directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu/lib'
make[3]: *** [Makefile:1674: all] Error 2
make[3]: Leaving directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu/lib'
make[2]: *** [Makefile:1572: all-recursive] Error 1
make[2]: Leaving directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu'
make[1]: *** [Makefile:1528: all] Error 2
make[1]: Leaving directory '/home/gabriellaptop/LakkaV4/build.DreamOS-Generic.x86_64/build/m4-1.4.18/.x86_64-linux-gnu'
�[1;31mFAILURE: scripts/build m4:host during make_host (default)�[0m
*********** FAILED COMMAND ***********
make ${PKG_MAKE_OPTS_HOST}
**************************************
�[1;31mFAILURE: scripts/build m4:host has failed!�[0m

I'm trying to build it with Ubuntu 22.04, running KDE. It's a laptop, 4GB RAM ddr3 1066MHz, 240GB SSD, Core 2 Duo T9900. I really would like to help with Lakka's development, but i can't help if i can't even compile it out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions