1 (edytowany przez viper_lasser 2022-05-19 16:47:31)

Temat: Problem z kompilacją Chaos Calmer na WSL Ubuntu 20.04

Z racji tego że mój komputer ma już parę lat i mam dostęp do szybszej maszyny działającej na windows 10 postawiłem na niej WSL2 i domyślne Ubuntu 20.04.
Próbuję skompilowac Chaos Calmer ale wykłada się przy kompilacji tools/m4 i sypie takimi błedami.

depbase=`echo freading.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT freading.o -MD -MP -MF $depbase.Tpo -c -o freading.o freading.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo gl_linkedhash_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT gl_linkedhash_list.o -MD -MP -MF $depbase.Tpo -c -o gl_linkedhash_list.o gl_linkedhash_list.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo localcharset.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT localcharset.o -MD -MP -MF $depbase.Tpo -c -o localcharset.o localcharset.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo glthread/lock.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT glthread/lock.o -MD -MP -MF $depbase.Tpo -c -o glthread/lock.o glthread/lock.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo malloca.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT malloca.o -MD -MP -MF $depbase.Tpo -c -o malloca.o malloca.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo pipe2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT pipe2.o -MD -MP -MF $depbase.Tpo -c -o pipe2.o pipe2.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo pipe2-safer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT pipe2-safer.o -MD -MP -MF $depbase.Tpo -c -o pipe2-safer.o pipe2-safer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo progname.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT progname.o -MD -MP -MF $depbase.Tpo -c -o progname.o progname.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo quotearg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT quotearg.o -MD -MP -MF $depbase.Tpo -c -o quotearg.o quotearg.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo sig-handler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT sig-handler.o -MD -MP -MF $depbase.Tpo -c -o sig-handler.o sig-handler.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo spawn-pipe.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT spawn-pipe.o -MD -MP -MF $depbase.Tpo -c -o spawn-pipe.o spawn-pipe.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo mkstemp-safer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT mkstemp-safer.o -MD -MP -MF $depbase.Tpo -c -o mkstemp-safer.o mkstemp-safer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tempname.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT tempname.o -MD -MP -MF $depbase.Tpo -c -o tempname.o tempname.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo glthread/tls.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT glthread/tls.o -MD -MP -MF $depbase.Tpo -c -o glthread/tls.o glthread/tls.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo tmpdir.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT tmpdir.o -MD -MP -MF $depbase.Tpo -c -o tmpdir.o tmpdir.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo unistd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT unistd.o -MD -MP -MF $depbase.Tpo -c -o unistd.o unistd.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo dup-safer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT dup-safer.o -MD -MP -MF $depbase.Tpo -c -o dup-safer.o dup-safer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo fd-safer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT fd-safer.o -MD -MP -MF $depbase.Tpo -c -o fd-safer.o fd-safer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo pipe-safer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT pipe-safer.o -MD -MP -MF $depbase.Tpo -c -o pipe-safer.o pipe-safer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo verror.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT verror.o -MD -MP -MF $depbase.Tpo -c -o verror.o verror.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo version-etc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT version-etc.o -MD -MP -MF $depbase.Tpo -c -o version-etc.o version-etc.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo version-etc-fsf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT version-etc-fsf.o -MD -MP -MF $depbase.Tpo -c -o version-etc-fsf.o version-etc-fsf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo wait-process.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT wait-process.o -MD -MP -MF $depbase.Tpo -c -o wait-process.o wait-process.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo wctype-h.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT wctype-h.o -MD -MP -MF $depbase.Tpo -c -o wctype-h.o wctype-h.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo xmalloc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT xmalloc.o -MD -MP -MF $depbase.Tpo -c -o xmalloc.o xmalloc.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo xalloc-die.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT xalloc-die.o -MD -MP -MF $depbase.Tpo -c -o xalloc-die.o xalloc-die.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo xmalloca.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT xmalloca.o -MD -MP -MF $depbase.Tpo -c -o xmalloca.o xmalloca.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo xprintf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT xprintf.o -MD -MP -MF $depbase.Tpo -c -o xprintf.o xprintf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo xvasprintf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT xvasprintf.o -MD -MP -MF $depbase.Tpo -c -o xvasprintf.o xvasprintf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo asprintf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT asprintf.o -MD -MP -MF $depbase.Tpo -c -o asprintf.o asprintf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo fclose.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT fclose.o -MD -MP -MF $depbase.Tpo -c -o fclose.o fclose.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo fcntl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT fcntl.o -MD -MP -MF $depbase.Tpo -c -o fcntl.o fcntl.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo fflush.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT fflush.o -MD -MP -MF $depbase.Tpo -c -o fflush.o fflush.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo fpurge.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT fpurge.o -MD -MP -MF $depbase.Tpo -c -o fpurge.o fpurge.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo freadahead.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc  -I.   -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include  -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -MT freadahead.o -MD -MP -MF $depbase.Tpo -c -o freadahead.o freadahead.c &&\
mv -f $depbase.Tpo $depbase.Po
freadahead.c: In function 'freadahead':
freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
   91 |  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
      |   ^~~~~
make[7]: *** [Makefile:1837: freadahead.o] Error 1
make[7]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/m4-1.4.17/lib'
make[6]: *** [Makefile:1602: all] Error 2
make[6]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/m4-1.4.17/lib'
make[5]: *** [Makefile:1506: all-recursive] Error 1
make[5]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/m4-1.4.17'
make[4]: *** [Makefile:1461: all] Error 2
make[4]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/m4-1.4.17'
make[3]: *** [Makefile:29: /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/m4-1.4.17/.built] Error 2
make[3]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/tools/m4'
make[2]: *** [tools/Makefile:123: tools/m4/compile] Error 2
make[2]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer'
make[1]: *** [tools/Makefile:121: /home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/target-mips_mips32_uClibc-0.9.33.2/stamp/.tools_install_yyyyynynynyyyyyyyyynyyyyyyyyynyyyyynnyyynnyynnnyy] Error 2
make[1]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer'
make: *** [/home/user/openwrt_chaos_calmer/chaos_calmer/include/toplevel.mk:183: world] Error 2
user@DESKTOP-LMRI4PE:~/openwrt_chaos_calmer/chaos_calmer$

Czego może mi brakować ?
Edit: Tego rozwiązania próbowałem. Wyłączenie w "Global build settings" opcji "Cryptographically signed package lists"

https://forum.openwrt.org/t/solved-buil … -c/18693/5

2

Odp: Problem z kompilacją Chaos Calmer na WSL Ubuntu 20.04

CC jest stare nie było przystosowane do kompilacji na nowszym ubuntu. Użyj jakieś archaicznej wersji typu 14.04.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3 (edytowany przez viper_lasser 2022-05-19 21:07:08)

Odp: Problem z kompilacją Chaos Calmer na WSL Ubuntu 20.04

Na Lubuntu 18.04 mi działa bez problemów.

Na Ubuntu 20.04 ktoś już pochylił się nad problemem.

https://www.litreily.top/2021/02/07/qsdk-compile/

Niestety zatrzymałem się na tym etapie

make[3]: Entering directory '/home/user/openwrt_chaos_calmer/chaos_calmer/tools/mtd-utils'
make[3]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/tools/mtd-utils'
make[3]: Entering directory '/home/user/openwrt_chaos_calmer/chaos_calmer/tools/mkimage'
make -C /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10 defconfig   HOSTCFLAGS="-I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include" HOSTLDFLAGS="-L/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/lib -L/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/lib"
make[4]: Entering directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2534:
scripts/kconfig/confdata.c: In function 'conf_write':
scripts/kconfig/confdata.c:767:19: warning: '%s' directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  767 |  sprintf(newname, "%s%s", dirname, basename);
      |                   ^~~~~~
scripts/kconfig/confdata.c:767:19: note: assuming directive output of 7 bytes
In file included from /usr/include/stdio.h:867,
                 from scripts/kconfig/zconf.tab.c:84:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 4104) into a destination of size 4097
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from scripts/kconfig/zconf.tab.c:2534:
scripts/kconfig/confdata.c:770:20: warning: '.tmpconfig.' directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  770 |   sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
      |                    ^~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from scripts/kconfig/zconf.tab.c:84:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 4119 bytes into a destination of size 4097
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
*** Default configuration is based on 'sandbox_defconfig'
make[4]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10'
make -C /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10 tools-only  HOSTCFLAGS="-I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include -O2 -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/include" HOSTLDFLAGS="-L/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/lib -L/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/usr/lib"
make[4]: Entering directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10'
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config.h
  GEN     include/autoconf.mk
In file included from include/linux/compiler.h:54,
                 from /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10/arch/sandbox/include/asm/bitops.h:20,
                 from include/linux/bitops.h:110,
                 from /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10/include/common.h:20:
include/linux/compiler-gcc.h:114:1: fatal error: linux/compiler-gcc9.h: No such file or directory
  114 | #include gcc_header(__GNUC__)
      | ^~~~
compilation terminated.
make[6]: *** [/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10/scripts/Makefile.autoconf:64: include/autoconf.mk] Error 1
make[5]: *** [/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10/Makefile:464: silentoldconfig] Error 1
make[4]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'.  Stop.
make[4]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10'
make[3]: *** [Makefile:48: /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/host/u-boot-2014.10/.built] Error 2
make[3]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/tools/mkimage'
make[2]: *** [tools/Makefile:123: tools/mkimage/compile] Error 2
make[2]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer'
make[1]: *** [tools/Makefile:121: /home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/target-mips_mips32_uClibc-0.9.33.2/stamp/.tools_install_yyyyynynynyyyyyyyyynyyyyyyyyynyyyyynnyyynnyynnnyy] Error 2
make[1]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer'
make: *** [/home/user/openwrt_chaos_calmer/chaos_calmer/include/toplevel.mk:183: world] Error 2
user@DESKTOP-LMRI4PE:~/openwrt_chaos_calmer/chaos_calmer$

Ktoś pomoże ? Nie widać kompilatora gcc9.

W ubuntu wersję mam taką

user@DESKTOP-LMRI4PE:~/openwrt_chaos_calmer/chaos_calmer$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)

4 (edytowany przez viper_lasser 2022-05-20 14:13:22)

Odp: Problem z kompilacją Chaos Calmer na WSL Ubuntu 20.04

Zatrzymałem się na tym etapie że wykłada się kompilaca toolchaina.
make[3] -C toolchain/gcc/final compile
make -r world: build failed. Please re-run make with -j1 V=s to see what's going on
make: *** [/home/user/openwrt_chaos_calmer/chaos_calmer/include/toplevel.mk:183: world] Error 1
user@DESKTOP-LMRI4PE:~/openwrt_chaos_calmer/chaos_calmer$

Szczegóły są poniżej.

make[6]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-final/libcpp'
make[6]: Entering directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-final/libdecnumber'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-final/libdecnumber'
make[6]: Entering directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-final/gcc'
x86_64-linux-gnu-g++ -c  -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Icp -I/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc -I/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/cp -I/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/../include -I/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/../libcpp/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include -I/home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/host/include  -I/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/../libdecnumber -I/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/../libbacktrace    /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/cp/except.c -o cp/except.o
In file included from ./tm.h:26,
                 from /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/cp/except.c:27:
/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  102 |    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
      |                     ^
/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  170 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",  \
      |                        ^
In file included from ./tm.h:31,
                 from /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/cp/except.c:27:
/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/config/mips/mips.h:2702:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
 2702 |   fprintf (STREAM, "\t.space\t"HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
      |                    ^
In file included from ./tm.h:41,
                 from /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/cp/except.c:27:
/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  126 |       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",  \
      |                        ^
In file included from /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/gcc/cp/except.c:1008:
cfns.gperf:101:1: error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute
cfns.gperf:26:14: note: 'const char* libc_name_p(const char*, unsigned int)' previously declared here
cfns.gperf:26:14: warning: inline function 'const char* libc_name_p(const char*, unsigned int)' used but never defined
make[6]: *** [Makefile:1058: cp/except.o] Error 1
make[6]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-final/gcc'
make[5]: *** [Makefile:3909: all-gcc] Error 2
make[5]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-final'
make[4]: *** [Makefile:858: all] Error 2
make[4]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-final'
make[3]: *** [Makefile:78: /home/user/openwrt_chaos_calmer/chaos_calmer/build_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-final/.built] Error 2
make[3]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer/toolchain/gcc/final'
make[2]: *** [toolchain/Makefile:82: toolchain/gcc/final/compile] Error 2
make[2]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer'
make[1]: *** [toolchain/Makefile:80: /home/user/openwrt_chaos_calmer/chaos_calmer/staging_dir/toolchain-mips_mips32_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[1]: Leaving directory '/home/user/openwrt_chaos_calmer/chaos_calmer'
make: *** [/home/user/openwrt_chaos_calmer/chaos_calmer/include/toplevel.mk:183: world] Error 2
user@DESKTOP-LMRI4PE:~/openwrt_chaos_calmer/chaos_calmer$

Chciałbym spróbować patcha znalezionego tutaj
https://www.geek-share.com/detail/2792100362.html

Mój błąd opisany jest w rozdziale 2.3 a rozwiązanie w 2.4

Spróbowałem wrzucić tego patcha (cały plik) wrzucić do folderu toolchain/gcc/patches/4.8-linaro/
https://gcc.gnu.org/git/?p=gcc.git;a=co … a0029f4852
Po ponownym wykonaniu make nic się nie zmienia.

Nie wiem jak dla toolchain/gcc zaaplikować tego patcha.
Podpowie ktoś ?

5

Odp: Problem z kompilacją Chaos Calmer na WSL Ubuntu 20.04

Ale ty sobie lubisz życie utrudniać. Dlaczego nie możesz zainstalować starszej wersji ubuntu na maszynie wirtualnej i skompilować taką staroć?

Tak, w patches umieszczasz łatki. Skasuj sobie cały build_dir/toolchain* i jeżeli łatka jest poprawna to się nałoży i skompiluje. Jak nie to nie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

6

Odp: Problem z kompilacją Chaos Calmer na WSL Ubuntu 20.04

@Cezary Dzięki za podpowiedź. Po lekkiej modyfikacji patcha kompilacja poszła smile

Może i masz rację z maszynami wirtualnymi. Sam mam i używam ich kilka m.in Ubuntu12.04, 18.04, Windows XP i jakieś testy na windows 10.

Jednak na mojej stacji roboczej (HP Z420) z windowsem 10 i WSL2 (Ubuntu 20.04) kompilacja openwrt idzie znacznie szybciej niż na virtualboxie z ubuntu.

Przez 7 już lat mam cały czas tego samego laptopa i wydaje mi się że Virtualbox niestety zaczał wolniej działać i to zarówno na laptopie jak i tej stacji roboczej dlatego cisnąłem tego WSL'a z openwrt.

7

Odp: Problem z kompilacją Chaos Calmer na WSL Ubuntu 20.04

Szczerze - jeżeli nie kompilujesz co dwa dni świeżej wersji to nie ma znaczenia czy kompilacja będzie trwała 10 minut czy pół godziny. I tak to zrobisz tylko kilka razy aż osiągniesz build z którego będziesz zadowolony.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: Problem z kompilacją Chaos Calmer na WSL Ubuntu 20.04

viper_lasser napisał/a:

@Cezary Dzięki za podpowiedź. Po lekkiej modyfikacji patcha kompilacja poszła smile
Przez 7 już lat mam cały czas tego samego laptopa i wydaje mi się że Virtualbox niestety zaczał wolniej działać i to zarówno na laptopie jak i tej stacji roboczej dlatego cisnąłem tego WSL'a z openwrt.

Bo zwolnił po łatkach spectre. Jak masz procek podatny na ten exploit to musisz włączyć obsługę patcha w Virtualboxie.

VBoxManage modifyvm "NazwaTwojejVM" --spec-ctrl on