Compiling Magic Lantern on Windows 10 (using its Linux subsystem)

Started by g3gg0, August 06, 2017, 10:32:09 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

theBilalFakhouri


JOELwindows7

Okay, I followed but I have an issue

  • test compile any ML failed! here's yesterday's make zip log:

joelwindows7@JOEL-ROG-GL503GE:~/sauce/magic-lantern/platform/500D.111$ make zip |& tee make.log
Using /home/joelwindows7/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc (from PATH).
../../Makefile.inc:81: removing ../../platform/*/magiclantern.sym
[ RM dir   ]   /home/joelwindows7/sauce/magic-lantern/platform/500D.111/zip/
[ RM       ]   ../../platform/*/magiclantern.sym
mkdir -p /home/joelwindows7/sauce/magic-lantern/platform/500D.111/zip
[ MKDIR    ]   ML directory structure...
[ CPP      ]   magiclantern.lds
[ AS       ]   entry.o
[ AS       ]   ../../platform/500D.111/stubs.o
[ VERSION  ]   ../../platform/500D.111/version.c
[ CC       ]   version.o
[ CC       ]   backtrace.o
[ CC       ]   boot-hack.o
[ CC       ]   fio-ml.o
[ CC       ]   mem.o
../../src/mem.c: In function 'mem_total_display':
../../src/mem.c:1387:13: warning: unused variable 'total' [-Wunused-variable]
         int total = alloc_total_with_memcheck / 1024;
             ^~~~~
[ CC       ]   ico.o
[ CC       ]   edmac.o
../../src/edmac.c: In function 'edmac_channel_to_index':
../../src/edmac.c:56:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
             for (int i = 0; i < COUNT(read_edmacs); i++)
             ^~~
../../src/edmac.c:60:9: note: here
         case EDMAC_DIR_WRITE:
         ^~~~
[ CC       ]   menu.o
../../src/menu.c: In function 'menu_draw_icon':
../../src/menu.c:1827:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
             else slider(x, y, i-1, N-1, color_slider_off_fg, color_slider_bg); return;
             ^~~~
../../src/menu.c:1827:80: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
             else slider(x, y, i-1, N-1, color_slider_off_fg, color_slider_bg); return;
                                                                                ^~~~~~
../../src/menu.c: In function 'handle_ml_menu_keys':
../../src/menu.c:4511:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
         if (edit_mode && !menu_lv_transparent_mode)
            ^
../../src/menu.c:4520:5: note: here
     case BGMT_WHEEL_UP:
     ^~~~
../../src/menu.c:4534:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
         if (edit_mode && !menu_lv_transparent_mode)
            ^
../../src/menu.c:4543:5: note: here
     case BGMT_WHEEL_DOWN:
     ^~~~
../../src/menu.c:123:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define EDIT_OR_TRANSPARENT (edit_mode || menu_lv_transparent_mode)
                             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/menu.c:4557:12: note: in expansion of macro 'EDIT_OR_TRANSPARENT'
         if(EDIT_OR_TRANSPARENT)
            ^~~~~~~~~~~~~~~~~~~
../../src/menu.c:4567:5: note: here
     case BGMT_WHEEL_RIGHT:
     ^~~~
../../src/menu.c:123:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
#define EDIT_OR_TRANSPARENT (edit_mode || menu_lv_transparent_mode)
                             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/menu.c:4576:12: note: in expansion of macro 'EDIT_OR_TRANSPARENT'
         if(EDIT_OR_TRANSPARENT)
            ^~~~~~~~~~~~~~~~~~~
../../src/menu.c:4586:5: note: here
     case BGMT_WHEEL_LEFT:
     ^~~~
[ CC       ]   debug.o
[ CC       ]   rand.o
[ CC       ]   posix.o
[ CC       ]   util.o
[ CC       ]   imath.o
[ CC       ]   electronic_level.o
[ CC       ]   cfn.o
[ CC       ]   gui.o
[ CC       ]   picstyle-noauto.o
[ CC       ]   exmem.o
[ CC       ]   bmp.o
[ CC       ]   rbf_font.o
[ CC       ]   config.o
[ CC       ]   stdio.o
[ CC       ]   bitrate.o
[ CC       ]   lcdsensor.o
[ CC       ]   tweaks.o
[ CC       ]   tweaks-eyefi.o
[ CC       ]   lens.o
[ CC       ]   property.o
[ CC       ]   propvalues.o
[ CC       ]   gui-common.o
[ CC       ]   chdk-gui_draw.o
[ CC       ]   movtweaks.o
[ CC       ]   menuhelp.o
[ CC       ]   menuindex.o
[ CC       ]   af_patterns.o
[ CC       ]   focus.o
[ CC       ]   notify_box.o
[ CC       ]   bootflags.o
../../src/bootflags.c:73:37: warning: 'boot_flags' defined but not used [-Wunused-const-variable=]
static struct boot_flags * const    boot_flags = NVRAM_BOOTFLAGS;;
                                     ^~~~~~~~~~
[ CC       ]   dialog_test.o
[ CC       ]   vram.o
[ CC       ]   greenscreen.o
[ CC       ]   fps-engio.o
../../src/fps-engio.c:300:12: warning: 'fps_timer_b_method' defined but not used [-Wunused-variable]
static int fps_timer_b_method = 0;
            ^~~~~~~~~~~~~~~~~~
[ CC       ]   shoot.o
../../src/shoot.c: In function 'hdr_auto_take_pics':
../../src/shoot.c:4843:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (!under) UNDER = 0; if (!over) OVER = 0;
     ^~
../../src/shoot.c:4843:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     if (!under) UNDER = 0; if (!over) OVER = 0;
                            ^~
../../src/shoot.c:4855:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                     if (!under) UNDER = 0; if (!over) OVER = 0;
                     ^~
../../src/shoot.c:4855:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                     if (!under) UNDER = 0; if (!over) OVER = 0;
                                            ^~
../../src/shoot.c:4863:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                     if (!under) UNDER = 0; if (!over) OVER = 0;
                     ^~
../../src/shoot.c:4863:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                     if (!under) UNDER = 0; if (!over) OVER = 0;
                                            ^~
../../src/shoot.c:4877:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                     if (!under) UNDER = 0; if (!over) OVER = 0;
                     ^~
../../src/shoot.c:4877:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                     if (!under) UNDER = 0; if (!over) OVER = 0;
                                            ^~
../../src/shoot.c:4891:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                     if (!under) UNDER = 0; if (!over) OVER = 0;
                     ^~
../../src/shoot.c:4891:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                     if (!under) UNDER = 0; if (!over) OVER = 0;
                                            ^~
[ CC       ]   hdr.o
[ CC       ]   lv-img-engio.o
[ CC       ]   state-object.o
[ CC       ]   tasks.o
[ CC       ]   vsync-lite.o
[ CC       ]   tskmon.o
[ CC       ]   battery.o
[ CC       ]   imgconv.o
[ CC       ]   histogram.o
[ CC       ]   falsecolor.o
[ CC       ]   audio-ak.o
[ CC       ]   zebra.o
[ CC       ]   vectorscope.o
[ CC       ]   beep.o
[ CC       ]   crop-mode-hack.o
[ CC       ]   ph_info_disp.o
[ CC       ]   flexinfo.o
[ CC       ]   screenshot.o
[ CC       ]   fileprefix.o
[ CC       ]   lvinfo.o
[ CC       ]   builtin-enforcing.o
[ CC       ]   powersave.o
[ CC       ]   ml-cbr.o
[ CC       ]   raw.o
../../src/raw.c: In function 'raw_update_params_work':
../../src/raw.c:574:10: warning: #warning FIXME: are these values correct for 1080p or 720p? (which of them?) [-Wcpp]
         #warning FIXME: are these values correct for 1080p or 720p? (which of them?)
          ^~~~~~~
[ CC       ]   chdk-dng.o
[ CC       ]   edmac-memcpy.o
../../src/edmac-memcpy.c: In function 'edmac_memcpy_init':
../../src/edmac-memcpy.c:86:57: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
     static int AbortEDmac_check __attribute__((used)) = &AbortEDmac;
                                                         ^
[ CC       ]   console.o
[ CC       ]   tcc-glue.o
make -C ../../tcc
make[1]: Entering directory '/home/joelwindows7/sauce/magic-lantern/tcc'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/tcc'
[ CC       ]   module.o
[ AR       ]   strrchr.o
[ AR       ]   dietlibc.a
[ AR       ]   lib_a-setjmp.o
[ AR       ]   newlib-libc.a
[ CP       ]   newlib-libm.a
[ CP       ]   gcc-libgcc.a
[ LD       ]   magiclantern
[ SYMBOLS  ]   magiclantern.sym
[ CP       ]   500D_111.sym
[ CP       ]   install
cp ML-SETUP.FIR /home/joelwindows7/sauce/magic-lantern/platform/500D.111/zip/
[ VERSION  ]   ../../platform/500D.111/version.bin
[ OBJCOPY  ]   magiclantern.bin
[ STAT     ]   magiclantern.bin
magiclantern.bin: 441096 bytes
[ CC       ]   reboot.o
[ CC       ]   disp_direct.o
[ CC       ]   font_direct.o
[ CC       ]   footer.o
[ LD       ]   autoexec
[ OBJCOPY  ]   autoexec.bin
[ XOR_CHK  ]   autoexec.bin
cp autoexec.bin /home/joelwindows7/sauce/magic-lantern/platform/500D.111/zip/
cp ../../data/fonts/*.rbf /home/joelwindows7/sauce/magic-lantern/platform/500D.111/zip/ML/fonts/
cp ../../data/vram/*.lut /home/joelwindows7/sauce/magic-lantern/platform/500D.111/zip/ML/data/
cp ../../data/cropmks/*.bmp /home/joelwindows7/sauce/magic-lantern/platform/500D.111/zip/ML/cropmks/
[ SCRIPTS  ]   install_extra_data
/bin/sh: 1: Bad substitution
make: *** [../../Makefile.inc:41: install_extra_data] Error 2

Yes, that Bad substitution thingy. Can anyone pls explain, and help me out fix this issue here that somehow.. the variable reference did not work.
[/li]
[li]Try compile qemu faile! here's yesterday install.log that work:[/li][/list]


This will setup QEMU for emulating Magic Lantern.
Thou shalt not be afraid of compiling stuff on Linux ;)
Continue? [y/n]
*** You have a valid ARM GCC/GDB already installed - using that one.
*** Checking dependencies for Ubuntu/Debian...


*** Using GCC: /home/joelwindows7/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc
gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (GNU Tools for Arm Embedded Processors 7-2018-q2-update)

*** Using GDB: /home/joelwindows7/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gdb
GNU gdb (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 8.1.0.20180315-git

docutils               0.17.1
vncdotool              1.0.0

*** Setting up QEMU in /home/joelwindows7/sauce/qemu-eos/ ...

*** Directory /home/joelwindows7/sauce/qemu-eos/qemu-2.5.0 already exists.
*** To reinstall, please rename or delete it first.

- R or r       : rename to /home/joelwindows7/sauce/qemu-eos/qemu-2.5.0_2022-11-16_22-09-15/
- C or c       : make clean & rename to /home/joelwindows7/sauce/qemu-eos/qemu-2.5.0_2022-11-16_22-09-15/
- uppercase D  : delete /home/joelwindows7/sauce/qemu-eos/qemu-2.5.0/ without confirmation (!)
- any other key: cancel the operation (exit the script)

Your choice? make: Entering directory '/home/joelwindows7/sauce/qemu-eos/qemu-2.5.0'
rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h
rm -f qemu-options.def
rm -f *.msi
find . \( -name '*.l[oa]' -o -name '*.so' -o -name '*.dll' -o -name '*.mo' -o -name '*.[oda]' \) -type f -exec rm {} +
rm -f   qemu-ga TAGS cscope.* *.pod *~ */*~
rm -f fsdev/*.pod
rm -rf .libs */.libs
rm -f qemu-img-cmds.h
rm -f ui/shader/*-vert.h ui/shader/*-frag.h
rm -f trace/generated-tracers-dtrace.dtrace*
rm -f trace/generated-tracers-dtrace.h*
rm -f config-host.h config-host.h-timestamp qemu-options.def qemu-options.def-timestamp qmp-commands.h qmp-commands.h-timestamp qapi-types.h qapi-types.h-timestamp qapi-visit.h qapi-visit.h-timestamp qapi-event.h qapi-event.h-timestamp qmp-introspect.h qmp-introspect.h-timestamp trace/generated-events.h trace/generated-events.h-timestamp trace/generated-tracers.h trace/generated-tracers.h-timestamp trace/generated-tcg-tracers.h trace/generated-tcg-tracers.h-timestamp trace/generated-helpers-wrappers.h trace/generated-helpers-wrappers.h-timestamp trace/generated-helpers.h trace/generated-helpers.h-timestamp
rm -f qmp-marshal.c qmp-marshal.c-timestamp qapi-types.c qapi-types.c-timestamp qapi-visit.c qapi-visit.c-timestamp qapi-event.c qapi-event.c-timestamp qmp-introspect.c qmp-introspect.c-timestamp trace/generated-events.c trace/generated-events.c-timestamp trace/generated-tracers.c trace/generated-tracers.c-timestamp trace/generated-helpers.c trace/generated-helpers.c-timestamp
rm -rf qapi-generated
rm -rf qga/qapi-generated
for d in  ; do \
if test -d $d; then make -C $d clean || exit 1; fi; \
rm -f $d/qemu-options.def; \
        done
make: Leaving directory '/home/joelwindows7/sauce/qemu-eos/qemu-2.5.0'


hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/joelwindows7/sauce/qemu-eos/qemu-2.5.0/.git/
Copying files...
Patching qemu-2.5.0 for recent compilers...
patching file block/blkdebug.c
patching file block/blkverify.c
patching file configure
patching file hw/9pfs/virtio-9p.c
patching file hw/char/exynos4210_uart.c
patching file hw/usb/bus.c
patching file net/slirp.c
patching file qemu-char.c
patching file qga/commands-posix.c
patching file util/memfd.c
Patching qemu-2.5.0 for EOS emulation...
patching file cpu-exec.c
patching file disas/arm.c
patching file exec.c
patching file gdbstub.c
patching file hw/arm/Makefile.objs
patching file hw/arm/digic.c
patching file hw/display/exynos4210_fimd.c
patching file hw/ide/qdev.c
patching file hw/sd/sd.c
patching file include/exec/exec-all.h
patching file include/exec/memory.h
patching file include/hw/elf_ops.h
patching file include/qemu/log.h
patching file memory.c
patching file qemu-log.c
patching file target-arm/cpu-qom.h
patching file target-arm/cpu.c
patching file target-arm/cpu.h
patching file target-arm/helper.c
patching file target-arm/helper.h
patching file target-arm/internals.h
patching file target-arm/op_helper.c
patching file target-arm/translate.c
patching file target-arm/translate.h
patching file vl.c

Setting up SD/CF card images...
Replace (overwrite) old sd.img and cf.img? [y/n]
'../magic-lantern/contrib/qemu/sd.img.xz' -> './sd.img.xz'
sd.img.xz: 49.8 KiB / 247.5 MiB = 0.000, 0:01
'sd.img' -> 'cf.img'

Next steps:
===========

1) Compile QEMU

   cd /home/joelwindows7/sauce/qemu-eos/qemu-2.5.0
   ../configure_eos.sh
   make -j12

Shall this script attempt to compile QEMU now? [y/n] Setting up QEMU on Linux...
Python 2.7.18
Using gcc --std=gnu99 11.3.0 / g++ 11.3.0 with flags:  -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation
Options: --target-list=arm-softmmu --disable-docs --enable-vnc --audio-drv-list= --python=python2 --enable-gtk
Disabling libtool due to broken toolchain support

ERROR: configure test passed without -Werror but failed with -Werror.
       This is probably a bug in the configure script. The failing command
       will be at the bottom of config.log.
       You can run configure with --disable-werror to bypass this check.



but as you can see above, at the configure_eos.sh it errors. here's that day's config.log:

# QEMU configure log Wed Nov 16 22:10:43 WIB 2022
# Configured with: './configure' '--target-list=arm-softmmu' '--disable-docs' '--enable-vnc' '--audio-drv-list=' '--python=python2' '--enable-gtk' '--extra-cflags= -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation'
#
gcc --std=gnu99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc --std=gnu99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __i386__ not defined
    2 | #error __i386__ not defined
      |  ^~~~~
gcc --std=gnu99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc --std=gnu99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
config-temp/qemu-conf.c:2:2: error: #error __ILP32__ not defined
    2 | #error __ILP32__ not defined
      |  ^~~~~
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc --std=gnu99 -Werror -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -Werror -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc --std=gnu99 -Werror -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
g++ -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall -Wundef -Wwrite-strings -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -o config-temp/qemu-conf.exe config-temp/qemu-conf.cxx config-temp/qemu-conf.o -m64 -g
g++ -Werror -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall -Wundef -Wwrite-strings -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -o config-temp/qemu-conf.exe config-temp/qemu-conf.cxx config-temp/qemu-conf.o -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Werror -Wstring-plus-int -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc: error: unrecognized command-line option '-Wstring-plus-int'
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Werror -Winitializer-overrides -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc: error: unrecognized command-line option '-Winitializer-overrides'
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Werror -Wendif-labels -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Werror -Wmissing-include-dirs -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Werror -Wempty-body -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Werror -Wnested-externs -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Werror -Wformat-security -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Werror -Wformat-y2k -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Werror -Winit-self -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Werror -Wignored-qualifiers -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Werror -Wold-style-declaration -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Werror -Wold-style-definition -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Werror -Wtype-limits -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -Werror -fstack-protector-strong -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -Werror -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -Werror -fno-gcse -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
config-temp/qemu-conf.c:4:2: error: #error No bug in this compiler.
    4 | #error No bug in this compiler.
      |  ^~~~~
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -Werror -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g
gcc --std=gnu99 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -fPIE -DPIE -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g -pie
gcc --std=gnu99 -Werror -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -fPIE -DPIE -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g -pie
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -pie -m64 -g -Wl,-z,relro -Wl,-z,now
gcc --std=gnu99 -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -pie -m64 -g -Wl,-z,relro -Wl,-z,now
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -Werror -fno-pie -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -nopie
gcc: error: unrecognized command-line option '-nopie'; did you mean '-no-pie'?
libtool --mode=compile --tag=CC gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -c -fPIE -DPIE -o config-temp/qemu-conf.o config-temp/qemu-conf.c
./configure: 124: libtool: Permission denied
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc --std=gnu99 -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g
gcc --std=gnu99 -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc --std=gnu99 -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -c -o config-temp/qemu-conf.o config-temp/qemu-conf.c
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lz
gcc --std=gnu99 -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lz
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -llzo2
config-temp/qemu-conf.c:1:10: fatal error: lzo/lzo1x.h: No such file or directory
    1 | #include <lzo/lzo1x.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lsnappy
config-temp/qemu-conf.c:1:10: fatal error: snappy-c.h: No such file or directory
    1 | #include <snappy-c.h>
      |          ^~~~~~~~~~~~
compilation terminated.
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lbz2
config-temp/qemu-conf.c:1:10: fatal error: bzlib.h: No such file or directory
    1 | #include <bzlib.h>
      |          ^~~~~~~~~
compilation terminated.
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lxenstore -lxenctrl -lxenguest
gcc --std=gnu99 -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lxenstore -lxenctrl -lxenguest
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lxenstore -lxenctrl -lxenguest
config-temp/qemu-conf.c: In function 'main':
config-temp/qemu-conf.c:6:27: warning: passing argument 3 of 'xc_domain_create' from incompatible pointer type [-Wincompatible-pointer-types]
    6 |   xc_domain_create(xc, 0, handle, 0, NULL, NULL);
      |                           ^~~~~~
      |                           |
      |                           uint8_t * {aka unsigned char *}
In file included from config-temp/qemu-conf.c:1:
/usr/include/xenctrl.h:505:54: note: expected 'struct xen_domctl_createdomain *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
  505 |                      struct xen_domctl_createdomain *config);
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
config-temp/qemu-conf.c:6:3: error: too many arguments to function 'xc_domain_create'
    6 |   xc_domain_create(xc, 0, handle, 0, NULL, NULL);
      |   ^~~~~~~~~~~~~~~~
In file included from config-temp/qemu-conf.c:1:
/usr/include/xenctrl.h:504:5: note: declared here
  504 | int xc_domain_create(xc_interface *xch, uint32_t *pdomid,
      |     ^~~~~~~~~~~~~~~~
gcc --std=gnu99 -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lxenstore -lxenctrl -lxenguest
config-temp/qemu-conf.c: In function 'main':
config-temp/qemu-conf.c:12:3: warning: implicit declaration of function 'xc_hvm_set_mem_type'; did you mean 'XEN_DMOP_set_mem_type'? [-Wimplicit-function-declaration]
   12 |   xc_hvm_set_mem_type(0, 0, HVMMEM_ram_ro, 0, 0);
      |   ^~~~~~~~~~~~~~~~~~~
      |   XEN_DMOP_set_mem_type
config-temp/qemu-conf.c:12:3: warning: nested extern declaration of 'xc_hvm_set_mem_type' [-Wnested-externs]
config-temp/qemu-conf.c:13:3: warning: implicit declaration of function 'xc_gnttab_open'; did you mean 'xc_gnttab_op'? [-Wimplicit-function-declaration]
   13 |   xc_gnttab_open(NULL, 0);
      |   ^~~~~~~~~~~~~~
      |   xc_gnttab_op
config-temp/qemu-conf.c:13:3: warning: nested extern declaration of 'xc_gnttab_open' [-Wnested-externs]
config-temp/qemu-conf.c:15:3: warning: implicit declaration of function 'xc_hvm_inject_msi'; did you mean 'XEN_DMOP_inject_msi'? [-Wimplicit-function-declaration]
   15 |   xc_hvm_inject_msi(xc, 0, 0xf0000000, 0x00000000);
      |   ^~~~~~~~~~~~~~~~~
      |   XEN_DMOP_inject_msi
config-temp/qemu-conf.c:15:3: warning: nested extern declaration of 'xc_hvm_inject_msi' [-Wnested-externs]
config-temp/qemu-conf.c:16:3: warning: implicit declaration of function 'xc_hvm_create_ioreq_server'; did you mean 'XEN_DMOP_create_ioreq_server'? [-Wimplicit-function-declaration]
   16 |   xc_hvm_create_ioreq_server(xc, 0, HVM_IOREQSRV_BUFIOREQ_ATOMIC, NULL);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |   XEN_DMOP_create_ioreq_server
config-temp/qemu-conf.c:16:3: warning: nested extern declaration of 'xc_hvm_create_ioreq_server' [-Wnested-externs]
gcc --std=gnu99 -Werror -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-error=stringop-truncation -Wno-error=stringop-overflow -Wno-error=format-truncation -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -lxenstore -lxenctrl -lxenguest
config-temp/qemu-conf.c: In function 'main':
config-temp/qemu-conf.c:12:3: error: implicit declaration of function 'xc_hvm_set_mem_type'; did you mean 'XEN_DMOP_set_mem_type'? [-Werror=implicit-function-declaration]
   12 |   xc_hvm_set_mem_type(0, 0, HVMMEM_ram_ro, 0, 0);
      |   ^~~~~~~~~~~~~~~~~~~
      |   XEN_DMOP_set_mem_type
config-temp/qemu-conf.c:12:3: error: nested extern declaration of 'xc_hvm_set_mem_type' [-Werror=nested-externs]
config-temp/qemu-conf.c:13:3: error: implicit declaration of function 'xc_gnttab_open'; did you mean 'xc_gnttab_op'? [-Werror=implicit-function-declaration]
   13 |   xc_gnttab_open(NULL, 0);
      |   ^~~~~~~~~~~~~~
      |   xc_gnttab_op
config-temp/qemu-conf.c:13:3: error: nested extern declaration of 'xc_gnttab_open' [-Werror=nested-externs]
config-temp/qemu-conf.c:15:3: error: implicit declaration of function 'xc_hvm_inject_msi'; did you mean 'XEN_DMOP_inject_msi'? [-Werror=implicit-function-declaration]
   15 |   xc_hvm_inject_msi(xc, 0, 0xf0000000, 0x00000000);
      |   ^~~~~~~~~~~~~~~~~
      |   XEN_DMOP_inject_msi
config-temp/qemu-conf.c:15:3: error: nested extern declaration of 'xc_hvm_inject_msi' [-Werror=nested-externs]
config-temp/qemu-conf.c:16:3: error: implicit declaration of function 'xc_hvm_create_ioreq_server'; did you mean 'XEN_DMOP_create_ioreq_server'? [-Werror=implicit-function-declaration]
   16 |   xc_hvm_create_ioreq_server(xc, 0, HVM_IOREQSRV_BUFIOREQ_ATOMIC, NULL);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |   XEN_DMOP_create_ioreq_server
config-temp/qemu-conf.c:16:3: error: nested extern declaration of 'xc_hvm_create_ioreq_server' [-Werror=nested-externs]
cc1: all warnings being treated as errors


    If I ignore the werrors with -disable-werror, run canon firmware won't work. I have no idea, did my step followed wrongly?, or it has already outdated?
    [/li]

I have downloaded latest WSL, and today's lsb_release -a is..

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy


Yeah, pls help. thancc cool and good.
Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard

I think that "bad substitution" error is because the version of "make" that you are using is too modern for the source you're trying to compile.

You need these changes:
https://github.com/reticulatedpines/magiclantern_simplified/commit/4a6e5e666e52e56aaf3447f9d112b3fc791e38f3
https://github.com/reticulatedpines/magiclantern_simplified/commit/af10c16925912f864f4e218532dc9ac4e5af358f

Very likely your qemu compile errors are because you are using a modern version of linux to build, and you're trying to build qemu 2.  Qemu 2 is so old it's hard to build on new systems.  I recommend using an older version of linux (debian 8 maybe), or using a newer version of qemu.

JOELwindows7

Quote from: names_are_hard on November 17, 2022, 10:38:00 PM
I think that "bad substitution" error is because the version of "make" that you are using is too modern for the source you're trying to compile.

You need these changes:
https://github.com/reticulatedpines/magiclantern_simplified/commit/4a6e5e666e52e56aaf3447f9d112b3fc791e38f3
https://github.com/reticulatedpines/magiclantern_simplified/commit/af10c16925912f864f4e218532dc9ac4e5af358f

Very likely your qemu compile errors are because you are using a modern version of linux to build, and you're trying to build qemu 2.  Qemu 2 is so old it's hard to build on new systems.  I recommend using an older version of linux (debian 8 maybe), or using a newer version of qemu.

Okay let's see
I've already changed things in Makefile.top

# this one is called from both platform and modules
# copies all scripts, preserving directory structure
# (simpler way to do this?)
H := \#
INSTALL_ALL_SCRIPTS = \
$(call build,SCRIPTS,\
for f in $(shell find $(SCRIPT_DIR) -type f -name *.lua); do \
dst=$(INSTALL_SCRIPTS_DIR)/$${f$H$H$(SCRIPT_DIR)/}; \
dstdir=`dirname $$dst`; \
$(MKDIR) -p $$dstdir; \
$(CP) $$f $$dst; \
done)


go to unified branch again (making sure that makefile top edit still there, re add if gone), make clean & make zip again. made progress but

joelwindows7@JOEL-ROG-GL503GE:~/sauce/magic-lantern$ cd platform/1100D.105/
joelwindows7@JOEL-ROG-GL503GE:~/sauce/magic-lantern/platform/1100D.105$ ls
ML-SETUP.FIR  Makefile.platform.default  cfn.c     features.h  include      stubs.S
Makefile      Makefile.setup.default     consts.h  gui.h       internals.h
joelwindows7@JOEL-ROG-GL503GE:~/sauce/magic-lantern/platform/1100D.105$ make zip
Using ~/gcc-arm-none-eabi-5_4-2016q3/bin/arm-none-eabi-gcc (preferred).
../../Makefile.inc:81: removing ../../platform/*/magiclantern.sym
[ RM dir   ]   /home/joelwindows7/sauce/magic-lantern/platform/1100D.105/zip/
[ RM       ]   ../../platform/*/magiclantern.sym
mkdir -p /home/joelwindows7/sauce/magic-lantern/platform/1100D.105/zip
[ MKDIR    ]   ML directory structure...
[ CPP      ]   magiclantern.lds
[ AS       ]   entry.o
[ AS       ]   ../../platform/1100D.105/stubs.o
[ VERSION  ]   ../../platform/1100D.105/version.c
[ CC       ]   version.o
[ CC       ]   backtrace.o
[ CC       ]   boot-hack.o
[ CC       ]   fio-ml.o
[ CC       ]   mem.o
../../src/mem.c: In function 'mem_total_display':
../../src/mem.c:1387:13: warning: unused variable 'total' [-Wunused-variable]
         int total = alloc_total_with_memcheck / 1024;
             ^
[ CC       ]   ico.o
[ CC       ]   edmac.o
[ CC       ]   menu.o
[ CC       ]   debug.o
[ CC       ]   rand.o
[ CC       ]   posix.o
[ CC       ]   util.o
[ CC       ]   imath.o
[ CC       ]   electronic_level.o
[ CC       ]   cfn.o
[ CC       ]   gui.o
[ CC       ]   picstyle.o
[ CC       ]   exmem.o
[ CC       ]   bmp.o
[ CC       ]   rbf_font.o
[ CC       ]   config.o
[ CC       ]   stdio.o
[ CC       ]   bitrate.o
[ CC       ]   lcdsensor.o
[ CC       ]   tweaks.o
[ CC       ]   tweaks-eyefi.o
[ CC       ]   lens.o
[ CC       ]   property.o
[ CC       ]   propvalues.o
[ CC       ]   gui-common.o
[ CC       ]   chdk-gui_draw.o
[ CC       ]   movtweaks.o
[ CC       ]   menuhelp.o
[ MENU IDX ]   ../../src/menuindexentries.h

No menuindex.txt! The "Complete user guide" menu is empty!
Run make docq to update menuindex.txt.

[ CC       ]   menuindex.o
[ CC       ]   af_patterns.o
[ CC       ]   focus.o
[ CC       ]   notify_box.o
[ CC       ]   bootflags.o
[ CC       ]   dialog_test.o
[ CC       ]   vram.o
[ CC       ]   greenscreen.o
[ CC       ]   fps-engio.o
[ CC       ]   shoot.o
[ CC       ]   hdr.o
[ CC       ]   lv-img-engio.o
[ CC       ]   state-object.o
[ CC       ]   tasks.o
[ CC       ]   vsync-lite.o
[ CC       ]   tskmon.o
[ CC       ]   battery.o
[ CC       ]   imgconv.o
[ CC       ]   histogram.o
[ CC       ]   falsecolor.o
[ CC       ]   audio-ak.o
[ CC       ]   zebra.o
[ CC       ]   vectorscope.o
[ CC       ]   beep.o
[ CC       ]   crop-mode-hack.o
[ CC       ]   ph_info_disp.o
[ CC       ]   flexinfo.o
[ CC       ]   screenshot.o
[ CC       ]   fileprefix.o
[ CC       ]   lvinfo.o
[ CC       ]   builtin-enforcing.o
[ CC       ]   powersave.o
[ CC       ]   ml-cbr.o
[ CC       ]   raw.o
../../src/raw.c: In function 'raw_update_params_work':
../../src/raw.c:623:2: warning: #warning RAW FEATURES WILL NOT WORK IN LIVEVIEW ON THIS BUILD [-Wcpp]
#warning RAW FEATURES WILL NOT WORK IN LIVEVIEW ON THIS BUILD
  ^
[ CC       ]   chdk-dng.o
[ CC       ]   edmac-memcpy.o
[ CC       ]   console.o
[ CC       ]   tcc-glue.o
make -C ../../tcc
make[1]: Entering directory '/home/joelwindows7/sauce/magic-lantern/tcc'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/tcc'
[ CC       ]   module.o
[ CC       ]   liveview.o
[ CC       ]   reloc.o
../../src/reloc.c: In function 'reloc':
../../src/reloc.c:203:22: warning: unused variable 'reg_dest' [-Wunused-variable]
             uint32_t reg_dest    = (instr >> 12) & 0xF;
                      ^
[ AR       ]   strrchr.o
[ AR       ]   dietlibc.a
[ AR       ]   lib_a-setjmp.o
[ AR       ]   newlib-libc.a
[ CP       ]   newlib-libm.a
[ CP       ]   gcc-libgcc.a
[ LD       ]   magiclantern
[ SYMBOLS  ]   magiclantern.sym
[ CP       ]   t3_105.sym
[ CP       ]   install
cp ML-SETUP.FIR /home/joelwindows7/sauce/magic-lantern/platform/1100D.105/zip/
[ VERSION  ]   ../../platform/1100D.105/version.bin
[ OBJCOPY  ]   magiclantern.bin
[ STAT     ]   magiclantern.bin
magiclantern.bin: 424104 bytes
[ CC       ]   reboot.o
[ CC       ]   disp_direct.o
[ CC       ]   font_direct.o
[ CC       ]   footer.o
[ LD       ]   autoexec
[ XOR_CHK  ]   ../../build_tools/xor_chk
[ OBJCOPY  ]   autoexec.bin
[ XOR_CHK  ]   autoexec.bin
cp autoexec.bin /home/joelwindows7/sauce/magic-lantern/platform/1100D.105/zip/
cp ../../data/fonts/*.rbf /home/joelwindows7/sauce/magic-lantern/platform/1100D.105/zip/ML/fonts/
cp ../../data/vram/*.lut /home/joelwindows7/sauce/magic-lantern/platform/1100D.105/zip/ML/data/
cp ../../data/cropmks/*.bmp /home/joelwindows7/sauce/magic-lantern/platform/1100D.105/zip/ML/cropmks/
[ SCRIPTS  ]   install_extra_data
for target in  CONFIG_MODULES_install; do make $target; done
make[1]: Entering directory '/home/joelwindows7/sauce/magic-lantern/platform/1100D.105'
make -C ../../modules
make[2]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules'
make[3]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_lite'

Building module mlv_lite...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fa0f62e3dc0>)
[ CC       ]   mlv_lite.o
In file included from mlv_lite.c:48:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: mlv_lite.o] Error 1

********************************************************
WARNING: module mlv_lite failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_lite'
[ RM       ]   mlv_lite.o ../mlv_rec/mlv.o mlv_lite.mo mlv_lite.sym mlv_lite.dep mlv_lite.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
[ RM       ]   raw2dng raw2dng.exe dng2raw dng2raw.exe
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_lite'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_lite'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_play'

Building module mlv_play...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fc516ab9f00>)
[ CC       ]   mlv_play.o
In file included from mlv_play.c:25:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: mlv_play.o] Error 1

********************************************************
WARNING: module mlv_play failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_play'
[ RM       ]   mlv_play.o video.bmp.rsc mlv_play.mo mlv_play.sym mlv_play.dep mlv_play.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_play'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_play'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_rec'

Building module mlv_rec...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fb01849dd70>)
[ CC       ]   mlv_rec.o
In file included from mlv_rec.c:56:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: mlv_rec.o] Error 1

********************************************************
WARNING: module mlv_rec failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_rec'
[ RM       ]   mlv_rec.o mlv.o mlv_rec.mo mlv_rec.sym mlv_rec.dep mlv_rec.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
[ RM       ]   mlv_dump mlv_dump.exe lzma/7zAlloc.host.o lzma/7zBuf.host.o lzma/7zBuf2.host.o lzma/7zCrc.host.o lzma/7zCrcOpt.host.o lzma/7zDec.host.o lzma/7zFile.host.o lzma/7zIn.host.o lzma/7zStream.host.o lzma/Alloc.host.o lzma/Bcj2.host.o lzma/Bra.host.o lzma/Bra86.host.o lzma/BraIA64.host.o lzma/CpuArch.host.o lzma/Delta.host.o lzma/LzFind.host.o lzma/Lzma2Dec.host.o lzma/Lzma2Enc.host.o lzma/Lzma86Dec.host.o lzma/Lzma86Enc.host.o lzma/LzmaDec.host.o lzma/LzmaEnc.host.o lzma/LzmaLib.host.o lzma/Ppmd7.host.o lzma/Ppmd7Dec.host.o lzma/Ppmd7Enc.host.o lzma/Sha256.host.o lzma/Xz.host.o lzma/XzCrc64.host.o lzma/lib7z.a lzma/Threads.w32.o lzma/LzFindMt.w32.o lzma/MtCoder.w32.o lzma/7zAlloc.w32.o lzma/7zBuf.w32.o lzma/7zBuf2.w32.o lzma/7zCrc.w32.o lzma/7zCrcOpt.w32.o lzma/7zDec.w32.o lzma/7zFile.w32.o lzma/7zIn.w32.o lzma/7zStream.w32.o lzma/Alloc.w32.o lzma/Bcj2.w32.o lzma/Bra.w32.o lzma/Bra86.w32.o lzma/BraIA64.w32.o lzma/CpuArch.w32.o lzma/Delta.w32.o lzma/LzFind.w32.o lzma/Lzma2Dec.w32.o lzma/Lzma2Enc.w32.o lzma/Lzma86Dec.w32.o lzma/Lzma86Enc.w32.o lzma/LzmaDec.w32.o lzma/LzmaEnc.w32.o lzma/LzmaLib.w32.o lzma/Ppmd7.w32.o lzma/Ppmd7Dec.w32.o lzma/Ppmd7Enc.w32.o lzma/Sha256.w32.o lzma/Xz.w32.o lzma/XzCrc64.w32.o lzma/lib7z.w32.a
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_rec'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_rec'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_snd'

Building module mlv_snd...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fdd593a4d70>)
[ CC       ]   mlv_snd.o
In file included from mlv_snd.c:25:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: mlv_snd.o] Error 1

********************************************************
WARNING: module mlv_snd failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_snd'
[ RM       ]   mlv_snd.o mlv_snd.mo mlv_snd.sym mlv_snd.dep mlv_snd.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_snd'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_snd'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/file_man'

Building module file_man...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f360e7ebeb0>)
[ CC       ]   file_man.o
In file included from file_man.c:4:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: file_man.o] Error 1

********************************************************
WARNING: module file_man failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/file_man'
[ RM       ]   file_man.o file_man.mo file_man.sym file_man.dep file_man.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/file_man'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/file_man'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/pic_view'

Building module pic_view...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f9e78bbfdc0>)
[ CC       ]   pic_view.o
In file included from pic_view.c:4:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: pic_view.o] Error 1

********************************************************
WARNING: module pic_view failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/pic_view'
[ RM       ]   pic_view.o pic_view.mo pic_view.sym pic_view.dep pic_view.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/pic_view'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/pic_view'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/ettr'

Building module ettr...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f523a71bd20>)
[ CC       ]   ettr.o
In file included from ettr.c:7:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: ettr.o] Error 1

********************************************************
WARNING: module ettr failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/ettr'
[ RM       ]   ettr.o ettr.mo ettr.sym ettr.dep ettr.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/ettr'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/ettr'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/dual_iso'

Building module dual_iso...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fa9048cde10>)
[ CC       ]   dual_iso.o
In file included from dual_iso.c:60:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: dual_iso.o] Error 1

********************************************************
WARNING: module dual_iso failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/dual_iso'
[ RM       ]   dual_iso.o dual_iso.mo dual_iso.sym dual_iso.dep dual_iso.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
[ RM       ]   cr2hdr cr2hdr.exe dcraw dcraw.c dcraw.exe exiftool.exe exiftool.tar.gz exiftool exiftool.zip cr2hdr.zip cr2hdr-win.zip cr2hdr-win_exiftool-perl-script.zip
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/dual_iso'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/dual_iso'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/silent'

Building module silent...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f6ae4e05d20>)
[ CC       ]   silent.o
In file included from silent.c:3:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: silent.o] Error 1

********************************************************
WARNING: module silent failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/silent'
[ RM       ]   silent.o silent.mo silent.sym silent.dep silent.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/silent'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/silent'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/dot_tune'

Building module dot_tune...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f62d1617dc0>)
[ CC       ]   dot_tune.o
In file included from dot_tune.c:11:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: dot_tune.o] Error 1

********************************************************
WARNING: module dot_tune failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/dot_tune'
[ RM       ]   dot_tune.o dot_tune.mo dot_tune.sym dot_tune.dep dot_tune.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/dot_tune'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/dot_tune'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/autoexpo'

Building module autoexpo...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f8951f6ed70>)
[ CC       ]   autoexpo.o
In file included from autoexpo.c:17:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: autoexpo.o] Error 1

********************************************************
WARNING: module autoexpo failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/autoexpo'
[ RM       ]   autoexpo.o autoexpo.mo autoexpo.sym autoexpo.dep autoexpo.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/autoexpo'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/autoexpo'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/arkanoid'

Building module arkanoid...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f5eaa02dd20>)
[ CC       ]   arkanoid.o
In file included from arkanoid.c:1:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: arkanoid.o] Error 1

********************************************************
WARNING: module arkanoid failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/arkanoid'
[ RM       ]   arkanoid.o arkanoid.mo arkanoid.sym arkanoid.dep arkanoid.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/arkanoid'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/arkanoid'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/deflick'

Building module deflick...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fe8fb3e9dc0>)
[ CC       ]   deflick.o
In file included from deflick.c:16:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: deflick.o] Error 1

********************************************************
WARNING: module deflick failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/deflick'
[ RM       ]   deflick.o deflick.mo deflick.sym deflick.dep deflick.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/deflick'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/deflick'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/lua'

Building module lua...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f4e72927d70>)
[ CC       ]   lua/ml-lua-shim.o
In file included from lua/ml-lua-shim.c:4:0:
dietlibc/include/unistd.h:72:5: warning: conflicting types for built-in function 'execl'
int execl(const char *path, ...) __THROW;
     ^
dietlibc/include/unistd.h:73:5: warning: conflicting types for built-in function 'execle'
int execle(const char *path, ...) __THROW;
     ^
[ CC       ]   lua/lapi.o
[ CC       ]   lua/lcode.o
[ CC       ]   lua/lctype.o
[ CC       ]   lua/ldebug.o
[ CC       ]   lua/ldo.o
[ CC       ]   lua/ldump.o
[ CC       ]   lua/lfunc.o
[ CC       ]   lua/lgc.o
[ CC       ]   lua/llex.o
[ CC       ]   lua/lmem.o
[ CC       ]   lua/lobject.o
[ CC       ]   lua/lopcodes.o
[ CC       ]   lua/lparser.o
[ CC       ]   lua/lstate.o
[ CC       ]   lua/lstring.o
[ CC       ]   lua/ltable.o
[ CC       ]   lua/ltm.o
[ CC       ]   lua/lundump.o
[ CC       ]   lua/lvm.o
[ CC       ]   lua/lzio.o
[ CC       ]   lua/lauxlib.o
In file included from lua/lauxlib.c:24:0:
lua/lauxlib.c: In function 'luaL_tolstring':
lua/lua.h:340:27: warning: implicit conversion from 'lua_Number {aka float}' to 'double' when passing argument to function [-Wdouble-promotion]
#define lua_tonumber(L,i) lua_tonumberx(L,(i),NULL)
                           ^
lua/lauxlib.c:755:36: note: in expansion of macro 'lua_tonumber'
           lua_pushfstring(L, "%f", lua_tonumber(L, idx));
                                    ^
lua/lauxlib.c: In function 'luaL_checkversion_':
lua/lauxlib.c:970:19: warning: implicit conversion from 'lua_Number {aka float}' to 'double' when passing argument to function [-Wdouble-promotion]
                   ver, *v);
                   ^
lua/lauxlib.c:970:24: warning: implicit conversion from 'lua_Number {aka const float}' to 'double' when passing argument to function [-Wdouble-promotion]
                   ver, *v);
                        ^
[ CC       ]   lua/lbaselib.o
[ CC       ]   lua/lbitlib.o
[ CC       ]   lua/lcorolib.o
[ CC       ]   lua/ldblib.o
[ CC       ]   lua/liolib.o
In file included from lua/liolib.c:20:0:
lua/liolib.c: In function 'g_write':
lua/lua.h:340:27: warning: implicit conversion from 'lua_Number {aka float}' to 'double' when passing argument to function [-Wdouble-promotion]
#define lua_tonumber(L,i) lua_tonumberx(L,(i),NULL)
                           ^
lua/liolib.c:611:46: note: in expansion of macro 'lua_tonumber'
                 : fprintf(f, LUA_NUMBER_FMT, lua_tonumber(L, arg));
                                              ^
[ CC       ]   lua/lmathlib.o
lua/lmathlib.c: In function 'math_random':
lua/lmathlib.c:243:59: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   double r = (double)l_rand() * (1.0 / ((double)L_RANDMAX + 1.0));
                                                           ^
lua/lmathlib.c:243:38: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   double r = (double)l_rand() * (1.0 / ((double)L_RANDMAX + 1.0));
                                      ^
lua/lmathlib.c:265:27: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   r *= (double)(up - low) + 1.0;
                           ^
[ CC       ]   lua/lstrlib.o
lua/lstrlib.c: In function 'str_format':
lua/lstrlib.c:910:44: warning: implicit conversion from 'lua_Number {aka float}' to 'double' when passing argument to function [-Wdouble-promotion]
           nb = snprintf(buff, 65536, form, luaL_checknumber(L, arg));
                                            ^
[ CC       ]   lua/ltablib.o
[ CC       ]   lua/lutf8lib.o
[ CC       ]   lua/loadlib.o
[ CC       ]   lua/linit.o
[ CC       ]   lua_globals.o
[ CC       ]   lua_console.o
[ CC       ]   lua_camera.o
[ CC       ]   lua_lv.o
[ CC       ]   lua_lens.o
[ CC       ]   lua_movie.o
[ CC       ]   lua_display.o
[ CC       ]   lua_key.o
[ CC       ]   lua_menu.o
[ CC       ]   lua_dryos.o
lua_dryos.c: In function 'luaCB_dryos_call':
lua_dryos.c:55:38: warning: implicit conversion from 'float' to 'double' when passing argument to function [-Wdouble-promotion]
         result = call(function_name, arg);
                                      ^
[ CC       ]   lua_interval.o
[ CC       ]   lua_battery.o
[ CC       ]   lua_task.o
[ CC       ]   lua_property.o
[ CC       ]   lua_constants.o
[ CC       ]   lua.o
In file included from lua.c:21:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: lua.o] Error 1

********************************************************
WARNING: module lua failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/lua'
[ RM       ]   lua/ml-lua-shim.o lua/lapi.o lua/lcode.o lua/lctype.o lua/ldebug.o lua/ldo.o lua/ldump.o lua/lfunc.o lua/lgc.o lua/llex.o lua/lmem.o lua/lobject.o lua/lopcodes.o lua/lparser.o lua/lstate.o lua/lstring.o lua/ltable.o lua/ltm.o lua/lundump.o lua/lvm.o lua/lzio.o lua/lauxlib.o lua/lbaselib.o lua/lbitlib.o lua/lcorolib.o lua/ldblib.o lua/liolib.o lua/lmathlib.o lua/lstrlib.o lua/ltablib.o lua/lutf8lib.o lua/loadlib.o lua/linit.o lua_globals.o lua_console.o lua_camera.o lua_lv.o lua_lens.o lua_movie.o lua_display.o lua_key.o lua_menu.o lua_dryos.o lua_interval.o lua_battery.o lua_task.o lua_property.o lua_constants.o lua.o dietlibc.a lua.mo lua.sym lua.dep lua.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/lua'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/lua'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/bench'

Building module bench...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f41e9c51dc0>)
[ CC       ]   bench.o
In file included from bench.c:3:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: bench.o] Error 1

********************************************************
WARNING: module bench failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/bench'
[ RM       ]   bench.o bench.mo bench.sym bench.dep bench.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/bench'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/bench'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/selftest'

Building module selftest...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fa838d75dc0>)
[ CC       ]   selftest.o
In file included from selftest.c:1:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: selftest.o] Error 1

********************************************************
WARNING: module selftest failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/selftest'
[ RM       ]   selftest.o selftest.mo selftest.sym selftest.dep selftest.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/selftest'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/selftest'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/adv_int'

Building module adv_int...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7efce09cee10>)
[ CC       ]   adv_int.o
In file included from adv_int.c:8:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: adv_int.o] Error 1

********************************************************
WARNING: module adv_int failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/adv_int'
[ RM       ]   adv_int.o adv_int.mo adv_int.sym adv_int.dep adv_int.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/adv_int'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/adv_int'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'

Building module edmac...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f46f94bbd20>)
[ CC       ]   edmac.o
In file included from edmac.c:1:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: edmac.o] Error 1

********************************************************
WARNING: module edmac failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
[ RM       ]   edmac.o edmac_util.o edmac_test.o md5.o edmac.mo edmac.sym edmac.dep edmac.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
make[3]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules'
make[2]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules'
make -C ../../modules install
make[2]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules'
make[3]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_lite'

Building module mlv_lite...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f0c98003dc0>)
[ CC       ]   mlv_lite.o
In file included from mlv_lite.c:48:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: mlv_lite.o] Error 1

********************************************************
WARNING: module mlv_lite failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_lite'
[ RM       ]   mlv_lite.o ../mlv_rec/mlv.o mlv_lite.mo mlv_lite.sym mlv_lite.dep mlv_lite.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
[ RM       ]   raw2dng raw2dng.exe dng2raw dng2raw.exe
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_lite'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_lite'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_play'

Building module mlv_play...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fdf3d7cbf00>)
[ CC       ]   mlv_play.o
In file included from mlv_play.c:25:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: mlv_play.o] Error 1

********************************************************
WARNING: module mlv_play failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_play'
[ RM       ]   mlv_play.o video.bmp.rsc mlv_play.mo mlv_play.sym mlv_play.dep mlv_play.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_play'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_play'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_rec'

Building module mlv_rec...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fb7fb67fd70>)
[ CC       ]   mlv_rec.o
In file included from mlv_rec.c:56:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: mlv_rec.o] Error 1

********************************************************
WARNING: module mlv_rec failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_rec'
[ RM       ]   mlv_rec.o mlv.o mlv_rec.mo mlv_rec.sym mlv_rec.dep mlv_rec.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
[ RM       ]   mlv_dump mlv_dump.exe lzma/7zAlloc.host.o lzma/7zBuf.host.o lzma/7zBuf2.host.o lzma/7zCrc.host.o lzma/7zCrcOpt.host.o lzma/7zDec.host.o lzma/7zFile.host.o lzma/7zIn.host.o lzma/7zStream.host.o lzma/Alloc.host.o lzma/Bcj2.host.o lzma/Bra.host.o lzma/Bra86.host.o lzma/BraIA64.host.o lzma/CpuArch.host.o lzma/Delta.host.o lzma/LzFind.host.o lzma/Lzma2Dec.host.o lzma/Lzma2Enc.host.o lzma/Lzma86Dec.host.o lzma/Lzma86Enc.host.o lzma/LzmaDec.host.o lzma/LzmaEnc.host.o lzma/LzmaLib.host.o lzma/Ppmd7.host.o lzma/Ppmd7Dec.host.o lzma/Ppmd7Enc.host.o lzma/Sha256.host.o lzma/Xz.host.o lzma/XzCrc64.host.o lzma/lib7z.a lzma/Threads.w32.o lzma/LzFindMt.w32.o lzma/MtCoder.w32.o lzma/7zAlloc.w32.o lzma/7zBuf.w32.o lzma/7zBuf2.w32.o lzma/7zCrc.w32.o lzma/7zCrcOpt.w32.o lzma/7zDec.w32.o lzma/7zFile.w32.o lzma/7zIn.w32.o lzma/7zStream.w32.o lzma/Alloc.w32.o lzma/Bcj2.w32.o lzma/Bra.w32.o lzma/Bra86.w32.o lzma/BraIA64.w32.o lzma/CpuArch.w32.o lzma/Delta.w32.o lzma/LzFind.w32.o lzma/Lzma2Dec.w32.o lzma/Lzma2Enc.w32.o lzma/Lzma86Dec.w32.o lzma/Lzma86Enc.w32.o lzma/LzmaDec.w32.o lzma/LzmaEnc.w32.o lzma/LzmaLib.w32.o lzma/Ppmd7.w32.o lzma/Ppmd7Dec.w32.o lzma/Ppmd7Enc.w32.o lzma/Sha256.w32.o lzma/Xz.w32.o lzma/XzCrc64.w32.o lzma/lib7z.w32.a
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_rec'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_rec'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_snd'

Building module mlv_snd...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f89ac178d70>)
[ CC       ]   mlv_snd.o
In file included from mlv_snd.c:25:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: mlv_snd.o] Error 1

********************************************************
WARNING: module mlv_snd failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_snd'
[ RM       ]   mlv_snd.o mlv_snd.mo mlv_snd.sym mlv_snd.dep mlv_snd.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_snd'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/mlv_snd'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/file_man'

Building module file_man...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f0b97bbbeb0>)
[ CC       ]   file_man.o
In file included from file_man.c:4:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: file_man.o] Error 1

********************************************************
WARNING: module file_man failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/file_man'
[ RM       ]   file_man.o file_man.mo file_man.sym file_man.dep file_man.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/file_man'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/file_man'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/pic_view'

Building module pic_view...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f1757ac6dc0>)
[ CC       ]   pic_view.o
In file included from pic_view.c:4:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: pic_view.o] Error 1

********************************************************
WARNING: module pic_view failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/pic_view'
[ RM       ]   pic_view.o pic_view.mo pic_view.sym pic_view.dep pic_view.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/pic_view'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/pic_view'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/ettr'

Building module ettr...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f1bd0846d20>)
[ CC       ]   ettr.o
In file included from ettr.c:7:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: ettr.o] Error 1

********************************************************
WARNING: module ettr failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/ettr'
[ RM       ]   ettr.o ettr.mo ettr.sym ettr.dep ettr.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/ettr'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/ettr'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/dual_iso'

Building module dual_iso...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f82a4160e10>)
[ CC       ]   dual_iso.o
In file included from dual_iso.c:60:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: dual_iso.o] Error 1

********************************************************
WARNING: module dual_iso failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/dual_iso'
[ RM       ]   dual_iso.o dual_iso.mo dual_iso.sym dual_iso.dep dual_iso.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
[ RM       ]   cr2hdr cr2hdr.exe dcraw dcraw.c dcraw.exe exiftool.exe exiftool.tar.gz exiftool exiftool.zip cr2hdr.zip cr2hdr-win.zip cr2hdr-win_exiftool-perl-script.zip
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/dual_iso'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/dual_iso'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/silent'

Building module silent...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fc377affd20>)
[ CC       ]   silent.o
In file included from silent.c:3:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: silent.o] Error 1

********************************************************
WARNING: module silent failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/silent'
[ RM       ]   silent.o silent.mo silent.sym silent.dep silent.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/silent'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/silent'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/dot_tune'

Building module dot_tune...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f0cddb90dc0>)
[ CC       ]   dot_tune.o
In file included from dot_tune.c:11:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: dot_tune.o] Error 1

********************************************************
WARNING: module dot_tune failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/dot_tune'
[ RM       ]   dot_tune.o dot_tune.mo dot_tune.sym dot_tune.dep dot_tune.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/dot_tune'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/dot_tune'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/autoexpo'

Building module autoexpo...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f06b81fad70>)
[ CC       ]   autoexpo.o
In file included from autoexpo.c:17:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: autoexpo.o] Error 1

********************************************************
WARNING: module autoexpo failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/autoexpo'
[ RM       ]   autoexpo.o autoexpo.mo autoexpo.sym autoexpo.dep autoexpo.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/autoexpo'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/autoexpo'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/arkanoid'

Building module arkanoid...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fd9af955d20>)
[ CC       ]   arkanoid.o
In file included from arkanoid.c:1:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: arkanoid.o] Error 1

********************************************************
WARNING: module arkanoid failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/arkanoid'
[ RM       ]   arkanoid.o arkanoid.mo arkanoid.sym arkanoid.dep arkanoid.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/arkanoid'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/arkanoid'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/deflick'

Building module deflick...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7efe3f228dc0>)
[ CC       ]   deflick.o
In file included from deflick.c:16:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: deflick.o] Error 1

********************************************************
WARNING: module deflick failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/deflick'
[ RM       ]   deflick.o deflick.mo deflick.sym deflick.dep deflick.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/deflick'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/deflick'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/lua'

Building module lua...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f50ce2a0d70>)
[ CC       ]   lua/ml-lua-shim.o
In file included from lua/ml-lua-shim.c:4:0:
dietlibc/include/unistd.h:72:5: warning: conflicting types for built-in function 'execl'
int execl(const char *path, ...) __THROW;
     ^
dietlibc/include/unistd.h:73:5: warning: conflicting types for built-in function 'execle'
int execle(const char *path, ...) __THROW;
     ^
[ CC       ]   lua/lapi.o
[ CC       ]   lua/lcode.o
[ CC       ]   lua/lctype.o
[ CC       ]   lua/ldebug.o
[ CC       ]   lua/ldo.o
[ CC       ]   lua/ldump.o
[ CC       ]   lua/lfunc.o
[ CC       ]   lua/lgc.o
[ CC       ]   lua/llex.o
[ CC       ]   lua/lmem.o
[ CC       ]   lua/lobject.o
[ CC       ]   lua/lopcodes.o
[ CC       ]   lua/lparser.o
[ CC       ]   lua/lstate.o
[ CC       ]   lua/lstring.o
[ CC       ]   lua/ltable.o
[ CC       ]   lua/ltm.o
[ CC       ]   lua/lundump.o
[ CC       ]   lua/lvm.o
[ CC       ]   lua/lzio.o
[ CC       ]   lua/lauxlib.o
In file included from lua/lauxlib.c:24:0:
lua/lauxlib.c: In function 'luaL_tolstring':
lua/lua.h:340:27: warning: implicit conversion from 'lua_Number {aka float}' to 'double' when passing argument to function [-Wdouble-promotion]
#define lua_tonumber(L,i) lua_tonumberx(L,(i),NULL)
                           ^
lua/lauxlib.c:755:36: note: in expansion of macro 'lua_tonumber'
           lua_pushfstring(L, "%f", lua_tonumber(L, idx));
                                    ^
lua/lauxlib.c: In function 'luaL_checkversion_':
lua/lauxlib.c:970:19: warning: implicit conversion from 'lua_Number {aka float}' to 'double' when passing argument to function [-Wdouble-promotion]
                   ver, *v);
                   ^
lua/lauxlib.c:970:24: warning: implicit conversion from 'lua_Number {aka const float}' to 'double' when passing argument to function [-Wdouble-promotion]
                   ver, *v);
                        ^
[ CC       ]   lua/lbaselib.o
[ CC       ]   lua/lbitlib.o
[ CC       ]   lua/lcorolib.o
[ CC       ]   lua/ldblib.o
[ CC       ]   lua/liolib.o
In file included from lua/liolib.c:20:0:
lua/liolib.c: In function 'g_write':
lua/lua.h:340:27: warning: implicit conversion from 'lua_Number {aka float}' to 'double' when passing argument to function [-Wdouble-promotion]
#define lua_tonumber(L,i) lua_tonumberx(L,(i),NULL)
                           ^
lua/liolib.c:611:46: note: in expansion of macro 'lua_tonumber'
                 : fprintf(f, LUA_NUMBER_FMT, lua_tonumber(L, arg));
                                              ^
[ CC       ]   lua/lmathlib.o
lua/lmathlib.c: In function 'math_random':
lua/lmathlib.c:243:59: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   double r = (double)l_rand() * (1.0 / ((double)L_RANDMAX + 1.0));
                                                           ^
lua/lmathlib.c:243:38: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   double r = (double)l_rand() * (1.0 / ((double)L_RANDMAX + 1.0));
                                      ^
lua/lmathlib.c:265:27: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
   r *= (double)(up - low) + 1.0;
                           ^
[ CC       ]   lua/lstrlib.o
lua/lstrlib.c: In function 'str_format':
lua/lstrlib.c:910:44: warning: implicit conversion from 'lua_Number {aka float}' to 'double' when passing argument to function [-Wdouble-promotion]
           nb = snprintf(buff, 65536, form, luaL_checknumber(L, arg));
                                            ^
[ CC       ]   lua/ltablib.o
[ CC       ]   lua/lutf8lib.o
[ CC       ]   lua/loadlib.o
[ CC       ]   lua/linit.o
[ CC       ]   lua_globals.o
[ CC       ]   lua_console.o
[ CC       ]   lua_camera.o
[ CC       ]   lua_lv.o
[ CC       ]   lua_lens.o
[ CC       ]   lua_movie.o
[ CC       ]   lua_display.o
[ CC       ]   lua_key.o
[ CC       ]   lua_menu.o
[ CC       ]   lua_dryos.o
lua_dryos.c: In function 'luaCB_dryos_call':
lua_dryos.c:55:38: warning: implicit conversion from 'float' to 'double' when passing argument to function [-Wdouble-promotion]
         result = call(function_name, arg);
                                      ^
[ CC       ]   lua_interval.o
[ CC       ]   lua_battery.o
[ CC       ]   lua_task.o
[ CC       ]   lua_property.o
[ CC       ]   lua_constants.o
[ CC       ]   lua.o
In file included from lua.c:21:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: lua.o] Error 1

********************************************************
WARNING: module lua failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/lua'
[ RM       ]   lua/ml-lua-shim.o lua/lapi.o lua/lcode.o lua/lctype.o lua/ldebug.o lua/ldo.o lua/ldump.o lua/lfunc.o lua/lgc.o lua/llex.o lua/lmem.o lua/lobject.o lua/lopcodes.o lua/lparser.o lua/lstate.o lua/lstring.o lua/ltable.o lua/ltm.o lua/lundump.o lua/lvm.o lua/lzio.o lua/lauxlib.o lua/lbaselib.o lua/lbitlib.o lua/lcorolib.o lua/ldblib.o lua/liolib.o lua/lmathlib.o lua/lstrlib.o lua/ltablib.o lua/lutf8lib.o lua/loadlib.o lua/linit.o lua_globals.o lua_console.o lua_camera.o lua_lv.o lua_lens.o lua_movie.o lua_display.o lua_key.o lua_menu.o lua_dryos.o lua_interval.o lua_battery.o lua_task.o lua_property.o lua_constants.o lua.o dietlibc.a lua.mo lua.sym lua.dep lua.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/lua'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/lua'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/bench'

Building module bench...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f832e2e1dc0>)
[ CC       ]   bench.o
In file included from bench.c:3:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: bench.o] Error 1

********************************************************
WARNING: module bench failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/bench'
[ RM       ]   bench.o bench.mo bench.sym bench.dep bench.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/bench'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/bench'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/selftest'

Building module selftest...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7f7c4e7e2dc0>)
[ CC       ]   selftest.o
In file included from selftest.c:1:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: selftest.o] Error 1

********************************************************
WARNING: module selftest failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/selftest'
[ RM       ]   selftest.o selftest.mo selftest.sym selftest.dep selftest.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/selftest'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/selftest'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/adv_int'

Building module adv_int...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7fd04993ae10>)
[ CC       ]   adv_int.o
In file included from adv_int.c:8:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: adv_int.o] Error 1

********************************************************
WARNING: module adv_int failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/adv_int'
[ RM       ]   adv_int.o adv_int.mo adv_int.sym adv_int.dep adv_int.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/adv_int'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/adv_int'
make[4]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'

Building module edmac...
Updated HGVERSION
[ README   ]   module_strings.h
$//"README.rst | grep -v -E "^:([^:])+:.+$" | rst2html | python ../html2text.py -b 700 | sed "s/

/bin/sh: 1: python: Permission denied

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0x7ffaf78c5d20>)
[ CC       ]   edmac.o
In file included from edmac.c:1:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: edmac.o] Error 1

********************************************************
WARNING: module edmac failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
[ RM       ]   edmac.o edmac_util.o edmac_test.o md5.o edmac.mo edmac.sym edmac.dep edmac.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
make[3]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules'
[ MKDIR    ]   ML directory structure...
cp ../modules/*/*.mo /home/joelwindows7/sauce/magic-lantern/platform/1100D.105/zip/ML/modules/
cp: cannot stat '../modules/*/*.mo': No such file or directory
make[2]: *** [Makefile:31: install] Error 1
make[2]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules'
make[1]: *** [../../Makefile.inc:27: CONFIG_MODULES_install] Error 2
make[1]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/platform/1100D.105'
make: *** [../../Makefile.inc:34: install] Error 2

some how the module_strings.h is not found. Perhaps I missed something.

also for QEMU. I gotta learn how to make the configure adapts to current regular QEMU source code. idk how. gotta learn. feel free to give me any advice.
Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard

You're missing rst2html, or perhaps, your environment is unable to run python commands when trying to run rst2html.  On debian you need docutils-common.

I don't understand your question about qemu.

JOELwindows7

Quote from: names_are_hard on November 18, 2022, 01:16:55 PM
You're missing rst2html, or perhaps, your environment is unable to run python commands when trying to run rst2html.  On debian you need docutils-common.

I don't understand your question about qemu.

Okay, check docutils-common.

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
docutils-common is already the newest version (0.17.1+dfsg-2).
The following packages were automatically installed and are no longer required:
  libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

I already have it.

I make clean. make zip again. still same error

...
Traceback (most recent call last):
  File "/home/joelwindows7/sauce/magic-lantern/modules/edmac/../html2text.py", line 41, in <module>
    from align_string_proportional import word_wrap
  File "/home/joelwindows7/sauce/magic-lantern/modules/align_string_proportional.py", line 57
    print line
    ^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0xf7ad0554>)
[ CC]   edmac.o
In file included from edmac.c:1:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: edmac.o] Error 1

********************************************************
WARNING: module edmac failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
[ RM       ]   edmac.o edmac_util.o edmac_test.o md5.o edmac.mo edmac.sym edmac.dep edmac.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
make[3]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules'
[ MKDIR    ]   ML directory structure...
cp ../modules/*/*.mo /home/joelwindows7/sauce/magic-lantern/platform/1100D.105/zip/ML/modules/
cp: cannot stat '../modules/*/*.mo': No such file or directory
make[2]: *** [Makefile:31: install] Error 1
make[2]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules'
make[1]: *** [../../Makefile.inc:27: CONFIG_MODULES_install] Error 2
make[1]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/platform/1100D.105'
make: *** [../../Makefile.inc:34: install] Error 2]
...
Traceback (most recent call last):
  File "/home/joelwindows7/sauce/magic-lantern/modules/edmac/../html2text.py", line 41, in <module>
    from align_string_proportional import word_wrap
  File "/home/joelwindows7/sauce/magic-lantern/modules/align_string_proportional.py", line 57
    print line
    ^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

(<type 'exceptions.SystemExit'>, SystemExit(1,), <traceback object at 0xf7ad0554>)
[ CC       ]   edmac.o
In file included from edmac.c:1:0:
../../src/module.h:344:28: fatal error: module_strings.h: No such file or directory
#include "module_strings.h"
                            ^
compilation terminated.
make[5]: *** [../../Makefile.filerules:21: edmac.o] Error 1

********************************************************
WARNING: module edmac failed to build, deleting
********************************************************

make[5]: Entering directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
[ RM       ]   edmac.o edmac_util.o edmac_test.o md5.o edmac.mo edmac.sym edmac.dep edmac.zip module_strings.h hgdiff.tmp *.o *.d *.dep *.sym hgstamp
make[5]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
make[4]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules/edmac'
make[3]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules'
[ MKDIR    ]   ML directory structure...
cp ../modules/*/*.mo /home/joelwindows7/sauce/magic-lantern/platform/1100D.105/zip/ML/modules/
cp: cannot stat '../modules/*/*.mo': No such file or directory
make[2]: *** [Makefile:31: install] Error 1
make[2]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/modules'
make[1]: *** [../../Makefile.inc:27: CONFIG_MODULES_install] Error 2
make[1]: Leaving directory '/home/joelwindows7/sauce/magic-lantern/platform/1100D.105'
make: *** [../../Makefile.inc:34: install] Error 2


Okay, for QEMU, I mean, How do I compile QEMU latest version for Magic Lantern? ./install.sh & configure_eos.sh but with latest QEMU yeah.

Also
I have tried reticulatedpines' version of ML, fresh, just leave makefile user default as is, no makefile user. it works.

the QEMU for that simplified has trouble though, I have submitted issue.

Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard

You have docutils-common, but are you on Debian, and do you have rst2html?  What is the output from this command?

rst2html --version


The reticulatedpines repo is mine.  I modernised several things in the code to make it easier to build on modern linux.  Your log for 200D shows you're using gcc 5, which is very old.  I suspect the error is related to this.  I guess you're using a very old Linux.  I use Debian Bullseye and install gcc like this:

apt install gcc-arm-none-eabi

That gets me arm-none-eabi-gcc version 8.3.1, which builds fine.  Try again with a similar version of gcc.

Thanks for the bug report, it was well written.  I've closed it, because I don't want to maintain anything to do with qemu 2.  I've explained further in the ticket.

JOELwindows7

Quote from: names_are_hard on November 18, 2022, 04:22:47 PM
You have docutils-common, but are you on Debian, and do you have rst2html?  What is the output from this command?

rst2html --version


The reticulatedpines repo is mine.  I modernised several things in the code to make it easier to build on modern linux.  Your log for 200D shows you're using gcc 5, which is very old.  I suspect the error is related to this.  I guess you're using a very old Linux.  I use Debian Bullseye and install gcc like this:

apt install gcc-arm-none-eabi

That gets me arm-none-eabi-gcc version 8.3.1, which builds fine.  Try again with a similar version of gcc.

Thanks for the bug report, it was well written.  I've closed it, because I don't want to maintain anything to do with qemu 2.  I've explained further in the ticket.

No problem
Wait, so reticulatedpines = names_are_hard? oh lol! sorry, got mixed up. anyways..

Okay, update. first of, my rst2html version

rst2html (Docutils 0.17.1 [release], Python 3.10.6, on linux)


I see. Well, my WSL isn't that old, it's in today's LTS release, lsb_release -a once again

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

Therefore it's relatively current. That mean somehow the Make chose the wrong GCC version. According to its Makefile user default file, it prefers that GCC 5 you've mentioned

# use this one if installed on the system
# otherwise, use the one from executable PATH
PREFERRED_ARM_PATH=~/gcc-arm-none-eabi-5_4-2016q3
#PREFERRED_ARM_PATH=~/gcc-linaro-7.1.1-2017.08-i686_arm-eabi

Then the comment said it picks the system if installed, which I already had. Something..

Oh well, then I just head on to make Makefile user, only contains these

ARM_PATH=/usr

that's it. No. For good measure, I also cleared any export that mentions the old GCC in my ~/.profile

...
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
    PATH="$HOME/.local/bin:$PATH"
fi

# QEMU Magic Lantern
# export PATH=~/gcc-arm-none-eabi-5_4-2016q3/bin:$PATH
# export PATH=~/gcc-arm-none-eabi-7-2018-q2-update/bin:$PATH

There, commented out, no more old GCC references. Restart terminal (close terminal & then reopen terminal, no need to restart the WSL)..

Finally to really make sure, these old GCCs I had in home directory, get it out. move those gcc somewhere away from my home root, into uh e.g. "hide" folder, yeah. Now it's clean. Go back to your simplified, and let's try 200D again.. it finally uses the latest GCC Ubuntu Jammy has, and yey it works!

here ML zip & the log.

Great! now compiler is ready (Not the original source, it's the names_are_hard's simplified ML)...
Now let's get to the QEMU.

Okay, I see. Here instruction, so.. this repo, clone it, go to branch "qemu-eos-v4.2.1" okay, and get out from there, saw your repo & the qemu eos, now make build folder with that name, do this configure command, done.

Now let's try make. I only have 12 threads here because my laptop is Hexa-core (6 physical core), so people, I change the "-j16" to "-j12". You know your core number times two. "make -j12"!


joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ make clean
/bin/sh: 1: ./scripts/git-submodule.sh: not found
  GEN     arm-softmmu/hmp-commands.h
: Permission deniedsauce/simplified/qemu-eos/scripts/hxtool: 2:
: Permission deniedsauce/simplified/qemu-eos/scripts/hxtool: 4: {
/home/joelwindows7/sauce/simplified/qemu-eos/scripts/hxtool: 7: Syntax error: word unexpected (expecting "in")
make[1]: *** [Makefile:218: hmp-commands.h] Error 2
make[1]: *** Deleting file 'hmp-commands.h'
make: *** [Makefile:491: arm-softmmu/clean] Error 2
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ chmod +x ../qemu-eos/scripts/hxtool
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ make clean
/bin/sh: 1: ./scripts/git-submodule.sh: not found
  GEN     arm-softmmu/hmp-commands.h
: Permission deniedsauce/simplified/qemu-eos/scripts/hxtool: 2:
: Permission deniedsauce/simplified/qemu-eos/scripts/hxtool: 4: {
/home/joelwindows7/sauce/simplified/qemu-eos/scripts/hxtool: 7: Syntax error: word unexpected (expecting "in")
make[1]: *** [Makefile:218: hmp-commands.h] Error 2
make[1]: *** Deleting file 'hmp-commands.h'
make: *** [Makefile:491: arm-softmmu/clean] Error 2
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ make -j12
/bin/sh: 1: ./scripts/git-submodule.sh: not found
  GEN     config-host.h
  GEN     qemu-options.def
make[1]: *** No rule to make target '/home/joelwindows7/sauce/simplified/qemu-eos-build/capstone/libcapstone.a'.  Stop.
make: *** [Makefile:518: capstone/all] Error 2
make: *** Waiting for unfinished jobs....
: Permission deniedsauce/simplified/qemu-eos/scripts/create_config: 2:
: Permission deniedsauce/simplified/qemu-eos/scripts/hxtool: 2:
: Permission deniedsauce/simplified/qemu-eos/scripts/create_config: 4:
/home/joelwindows7/sauce/simplified/qemu-eos/scripts/create_config: 7: Syntax error: word unexpected (expecting "in")
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:203: config-host.h-timestamp] Error 2
make: *** Deleting file 'config-host.h-timestamp'
: Permission deniedsauce/simplified/qemu-eos/scripts/hxtool: 4: {
/home/joelwindows7/sauce/simplified/qemu-eos/scripts/hxtool: 7: Syntax error: word unexpected (expecting "in")
make: *** [Makefile:472: qemu-options.def] Error 2
make: *** Deleting file 'qemu-options.def'
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$

full log

Ah damn it. What is wrong here? I checked the "scripts" folder here, the git_submodule.sh exists. Okay, uh I saw the "Makefile", "python", & "scripts" in cyan, I think it means symbolic link.
Okay, anyone can explain here?
Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard

This is your error:

/bin/sh: 1: ./scripts/git-submodule.sh: not found


What happens if you are in qemu-eos-build and manually run:

./scripts/git-submodule.sh


Also please show the result of this command:

ls -l ./scripts/git-submodule.h


I'm guessing the file isn't executable.  If it isn't executable, you probably have bad config for either git or umask, on a Linux system these files should be created executable.

JOELwindows7

Quote from: names_are_hard on November 19, 2022, 06:29:03 PM
This is your error:

/bin/sh: 1: ./scripts/git-submodule.sh: not found


What happens if you are in qemu-eos-build and manually run:

./scripts/git-submodule.sh


Also please show the result of this command:

ls -l ./scripts/git-submodule.h


I'm guessing the file isn't executable.  If it isn't executable, you probably have bad config for either git or umask, on a Linux system these files should be created executable.

Alright update
So, apparently I figured out perhaps it was my typo or something. I think I got mixed the `_` & `-` at some point. it's a dash, not underscore yeah. idk.

log here

Anyways, typed the correct name, but first yeah I looked that git submodule detail

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ ls scripts
analyse-9p-simpletrace.py     device-crash-test          qapi                   signrom.py
analyse-locks-simpletrace.py  disas-objdump.pl           qapi-gen.py            simpletrace.py
analyze-inclusions            dump-guest-memory.py       qemu-binfmt-conf.sh    switch-timer-api
analyze-migration.py          extract-vsssdk-headers     qemu-gdb.py            tap-driver.pl
archive-source.sh             feature_to_c.sh            qemu-guest-agent       tap-merge.pl
checkpatch.pl                 fix-multiline-comments.sh  qemu-trace-stap        texi2pod.pl
clean-header-guards.pl        get_maintainer.pl          qemu-trace-stap.texi   tracetool
clean-includes                git-submodule.sh           qemugdb                tracetool.py
cleanup-trace-events.pl       git.orderfile              qmp                    travis
cocci-macro-file.h            hxtool                     refresh-pxe-roms.sh    update-linux-headers.sh
coccinelle                    kvm                        render_block_graph.py  vmstate-static-checker.py
coverity-model.c              make-release               replay-dump.py
create_config                 minikconf.py               shaderinclude.pl
decodetree.py                 modules                    show-fixed-bugs.sh
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ ls -l ./script/git-submodule.sh
ls: cannot access './script/git-submodule.sh': No such file or directory
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ ls -l ./scripts/git-submodule.sh
-rwxr-xr-x 1 joelwindows7 joelwindows7 2035 Nov 19 19:04 ./scripts/git-submodule.sh
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ ./scripts/git-submodule.sh
-bash: ./scripts/git-submodule.sh: /bin/sh^M: bad interpreter: No such file or directory

full log

and it's there, has executable right,

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ ls -l ./scripts/git-submodule.sh
-rwxr-xr-x 1 joelwindows7 joelwindows7 2035 Nov 19 19:04 ./scripts/git-submodule.sh

good, now let's manually run it.


joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ ./scripts/git-submodule.sh
-bash: ./scripts/git-submodule.sh: /bin/sh^M: bad interpreter: No such file or directory

And yeah you see above again it had the same `/bin/sh^M` bad interpreter again. Yeah, somehow many of your scripts got line ended in DOS / Windows. And in my WSL, the bash got confused like what the peck is that `\r` thingy?! or in my case I cannot find the /bin/sh^M you're talking about! stuff like that. so to convert every files from DOS Windows CRLF (`\r\n`) into Unix LF (`\n`), AS WELL AS, add executable right because-if-not-it-will-error-permission-denied (even during `make clean`), Go to script folder.. Oh yeah btw first that `script` folder is symlinked from that `qemu-eos/script` before, I knew this from

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ ls -l ./scripts
lrwxrwxrwx 1 joelwindows7 joelwindows7 52 Nov 19 20:03 ./scripts -> /home/joelwindows7/sauce/simplified/qemu-eos/scripts

Yes, doing the `ls -l ./scripts` when in `qemu-eos-build` repo directory. So, go to original script folder in `qemu-eos/scripts` not the build one, just case.., and do this:

for FILER in ./*; do chmod +x $FILER; dos2unix $FILER; done

Bash has for loop itteration! Basically, for every file in this folder, do the following: add executable right to each file, also convert line endings from DOS Windows to UNIX ones. yeah, the `$FILER` variable means each file. Now all the scripts line endings has been set correctly to UNIX & has executable rights.

`make clean` works yay! let's `make -j12` again!

We do have progress here, but still error

...
  GEN     util/trace.c
  GEN     hw/core/trace.c
warning: redirecting to https://gitlab.com/qemu-project/capstone.git/
Cloning into '/home/joelwindows7/sauce/simplified/qemu-eos/tests/fp/berkeley-softfloat-3'...
warning: redirecting to https://gitlab.com/qemu-project/berkeley-softfloat-3.git/
Cloning into '/home/joelwindows7/sauce/simplified/qemu-eos/tests/fp/berkeley-testfloat-3'...
warning: redirecting to https://gitlab.com/qemu-project/berkeley-testfloat-3.git/
Cloning into '/home/joelwindows7/sauce/simplified/qemu-eos/ui/keycodemapdb'...
warning: redirecting to https://gitlab.com/qemu-project/keycodemapdb.git/
  GEN     ui/input-keymap-atset1-to-qcode.c
  GEN     ui/input-keymap-linux-to-qcode.c
  GEN     ui/input-keymap-qcode-to-atset1.c
  GEN     ui/input-keymap-qcode-to-atset2.c
  GEN     ui/input-keymap-qcode-to-atset3.c
  GEN     ui/input-keymap-qcode-to-linux.c
  GEN     ui/input-keymap-qcode-to-qnum.c
  GEN     ui/input-keymap-qcode-to-sun.c
  GEN     ui/input-keymap-qnum-to-qcode.c
  GEN     ui/input-keymap-usb-to-qcode.c
  GEN     ui/input-keymap-win32-to-qcode.c
  GEN     ui/input-keymap-x11-to-qcode.c
  GEN     ui/input-keymap-xorgevdev-to-qcode.c
  GEN     ui/input-keymap-xorgkbd-to-qcode.c
  GEN     ui/input-keymap-xorgxquartz-to-qcode.c
  GEN     ui/input-keymap-xorgxwin-to-qcode.c
  GEN     ui/input-keymap-osx-to-qcode.c
  CC      cs.o
  CC      utils.o
  CC      SStream.o
  CC      MCInstrDesc.o
  CC      MCRegisterInfo.o
  CC      arch/ARM/ARMInstPrinter.o
  CC      arch/ARM/ARMDisassembler.o
  CC      arch/ARM/ARMMapping.o
  CC      arch/ARM/ARMModule.o
  CC      arch/AArch64/AArch64BaseInfo.o
  CC      arch/AArch64/AArch64Disassembler.o
  CC      arch/AArch64/AArch64InstPrinter.o
  CC      arch/AArch64/AArch64Mapping.o
  CC      arch/AArch64/AArch64Module.o
  CC      arch/Mips/MipsDisassembler.o
  CC      arch/Mips/MipsInstPrinter.o
  CC      arch/Mips/MipsMapping.o
  CC      arch/Mips/MipsModule.o
  CC      arch/PowerPC/PPCDisassembler.o
  CC      arch/PowerPC/PPCInstPrinter.o
  CC      arch/PowerPC/PPCMapping.o
  CC      arch/PowerPC/PPCModule.o
  CC      arch/Sparc/SparcDisassembler.o
  CC      arch/Sparc/SparcInstPrinter.o
  CC      arch/Sparc/SparcMapping.o
  CC      arch/Sparc/SparcModule.o
  CC      arch/SystemZ/SystemZDisassembler.o
  CC      arch/SystemZ/SystemZInstPrinter.o
  CC      arch/SystemZ/SystemZMapping.o
  CC      arch/SystemZ/SystemZModule.o
  CC      arch/SystemZ/SystemZMCTargetDesc.o
  CC      arch/X86/X86Disassembler.o
  CC      arch/X86/X86DisassemblerDecoder.o
  CC      arch/X86/X86IntelInstPrinter.o
  CC      arch/X86/X86ATTInstPrinter.o
  CC      arch/X86/X86Mapping.o
  CC      arch/X86/X86Module.o
  CC      arch/XCore/XCoreDisassembler.o
  CC      arch/XCore/XCoreInstPrinter.o
  CC      arch/XCore/XCoreMapping.o
  CC      arch/XCore/XCoreModule.o
  CC      MCInst.o
  AR      libcapstone.a
ar: creating /home/joelwindows7/sauce/simplified/qemu-eos-build/capstone/libcapstone.a
  CC      tests/qemu-iotests/socket_scm_helper.o
  GEN     qga/qapi-generated/qapi-gen
  CC      qapi/qapi-visit-core.o
  CC      qapi/qapi-dealloc-visitor.o
  CC      qapi/qobject-input-visitor.o
  CC      qapi/qobject-output-visitor.o
  CC      qapi/qmp-registry.o
  CC      qapi/qmp-dispatch.o
  CC      qapi/string-output-visitor.o
  CC      qapi/string-input-visitor.o
  CC      qapi/opts-visitor.o
  CC      qapi/qapi-clone-visitor.o
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/tests/qemu-iotests/socket_scm_helper.c:13:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/qmp-registry.c:15:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/qapi-dealloc-visitor.c:15:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
./config-host.h:37:1: error: missing terminating " character
./config-host.h:37:1: error: missing terminating " character
./config-host.h:37:1: error: missing terminating " character
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/qobject-output-visitor.c:15:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/qobject-input-visitor.c:15:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
./config-host.h:37:1: error: missing terminating " character
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/qapi-visit-core.c:15:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
./config-host.h:37:1: error: missing terminating " character
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
./config-host.h:37:1: error: missing terminating " character
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/opts-visitor.c:13:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
./config-host.h:37:1: error: missing terminating " character
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/qmp-dispatch.c:14:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
./config-host.h:37:1: error: missing terminating " character
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/string-output-visitor.c:13:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/qapi-clone-visitor.c:11:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
./config-host.h:37:1: error: missing terminating " character
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
./config-host.h:37:1: error: missing terminating " character
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/string-input-visitor.c:13:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
./config-host.h:37:1: error: missing terminating " character
  CC      qapi/qmp-event.o
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:30,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/qapi/qmp-event.c:14:
./config-host.h:36:22: error: missing terminating " character [-Werror]
   36 | #define QEMU_VERSION "4.2.1 "
      |                      ^
./config-host.h:37:1: error: missing terminating " character [-Werror]
   37 | #define QEMU_VERSION_MAJOR 4
      | ^
./config-host.h:37:1: error: missing terminating " character
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: tests/qemu-iotests/socket_scm_helper.o] Error 1
make: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/qmp-registry.o] Error 1
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/qmp-event.o] Error 1
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/qapi-clone-visitor.o] Error 1
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/qapi-dealloc-visitor.o] Error 1
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/qmp-dispatch.o] Error 1
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/string-input-visitor.o] Error 1
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/qobject-output-visitor.o] Error 1
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/opts-visitor.o] Error 1
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/qapi-visit-core.o] Error 1
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/string-output-visitor.o] Error 1
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: qapi/qobject-input-visitor.o] Error 1
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$

somehow the compiler could not see the other terminating `"` at the define & etc. etc. log

Now, what's wrong here?
Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard

It's progress - you identified the problem of bad line endings, but the fix was inappropriate.  Using dos2unix is not a great solution because it won't fix things for the future, and it edits files which will lead to changes that git will see and try to track or, worse, commit upstream.  What you need to do is determine *why* you had bad line endings, and fix that problem.  What other problems might happen due to that unfixed cause?

^M is a Windows carriage-return character.  When you are using git, are you working in Windows, or in WSL?  You might have bad git config, set to change line endings, or you might be using some Windows tool that is changing them.  Find out what caused it, *remove* your local qemu-eos repo, and re-create it.  That will fix all line endings. 

JOELwindows7

Quote from: names_are_hard on November 21, 2022, 01:17:41 PM
It's progress - you identified the problem of bad line endings, but the fix was inappropriate.  Using dos2unix is not a great solution because it won't fix things for the future, and it edits files which will lead to changes that git will see and try to track or, worse, commit upstream.  What you need to do is determine *why* you had bad line endings, and fix that problem.  What other problems might happen due to that unfixed cause?

^M is a Windows carriage-return character.  When you are using git, are you working in Windows, or in WSL?  You might have bad git config, set to change line endings, or you might be using some Windows tool that is changing them.  Find out what caused it, *remove* your local qemu-eos repo, and re-create it.  That will fix all line endings. 

Oh, oh ok. I didn't know that. Right, I get it. Yeah it would break comparison compatibility & will conflict if other forks would wanted to merge their edit back in. Alright.

Yeah, issue, I haven't been able to figure out how in the world did any of my clone ended up in CRLF. Yeah something wrong with my git on my WSL today, I can't figure at the moment.

But today, there's an update
the qemu-eos on that 4.2.1 branch got an update. So I stashed everything I've changed, pull the newest update here. clean & make, fail.

Oh yeah, I forgot, there must be an update to that Magic Lantern Simplified. OH there is! pull that too! made sure make clean the qemu-eos, reconfigure just to be sure. try again, still failed.


...
  CC      block/vdi.o
  CC      block/cloop.o
  CC      block/bochs.o
  CC      block/vvfat.o
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c: In function 'vpc_open':
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:360:51: error: array subscript 'VHDDynDiskHeader {aka struct vhd_dyndisk_header}[0]' is partly outside array bounds of 'uint8_t[512]' {aka 'unsigned char[512]'} [-Werror=array-bounds]
  360 |         s->block_size = be32_to_cpu(dyndisk_header->block_size);
      |                                                   ^~
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:223:13: note: while referencing 'buf'
  223 |     uint8_t buf[HEADER_SIZE];
      |             ^~~
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:368:58: error: array subscript 'VHDDynDiskHeader {aka struct vhd_dyndisk_header}[0]' is partly outside array bounds of 'uint8_t[512]' {aka 'unsigned char[512]'} [-Werror=array-bounds]
  368 |         s->max_table_entries = be32_to_cpu(dyndisk_header->max_table_entries);
      |                                                          ^~
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:223:13: note: while referencing 'buf'
  223 |     uint8_t buf[HEADER_SIZE];
      |             ^~~
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:400:51: error: array subscript 'VHDDynDiskHeader {aka struct vhd_dyndisk_header}[0]' is partly outside array bounds of 'uint8_t[512]' {aka 'unsigned char[512]'} [-Werror=array-bounds]
  400 |         s->bat_offset = be64_to_cpu(dyndisk_header->table_offset);
      |                                                   ^~
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:223:13: note: while referencing 'buf'
  223 |     uint8_t buf[HEADER_SIZE];
      |             ^~~
  CC      block/dmg.o
cc1: all warnings being treated as errors
  CC      block/qcow2.o
  CC      block/qcow2-refcount.o
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: block/vpc.o] Error 1
make: *** Waiting for unfinished jobs....

full log

Although yeah both of the tries today were the same error, but at least it's different. Okay from the look here, something went wrong with the array bounds say it's partly outside of the array bound.. We're going somewhere!
Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard

We identified a problem - your files had incorrect line endings.  Then you stopped trying to fix that problem and changed your file contents.  From the logs it looks like you're also running other, unrelated commands, that may change things, too.  Now I can't tell what state your system is in.

Delete all local files for qemu-eos repo and the magiclantern_simplified repo.
Run these commands, and only these commands.  If there are errors, do not run additional commands, instead, report back with the error.

git clone https://github.com/reticulatedpines/qemu-eos
cd qemu-eos; git switch qemu-eos-v4.2.1; cd ..
mkdir qemu-eos-build
cd qemu-eos-build
../qemu-eos/configure --target-list=arm-softmmu --enable-plugins --disable-docs --enable-vnc --enable-gtk
make -j16


I expect that will fail because you have incorrect line endings.  If it does fail to build, determine the last source file that had a problem and get the sha1sum hash of it and report that here.

JOELwindows7

Quote from: names_are_hard on November 22, 2022, 02:03:02 PM
We identified a problem - your files had incorrect line endings.  Then you stopped trying to fix that problem and changed your file contents.  From the logs it looks like you're also running other, unrelated commands, that may change things, too.  Now I can't tell what state your system is in.

Delete all local files for qemu-eos repo and the magiclantern_simplified repo.
Run these commands, and only these commands.  If there are errors, do not run additional commands, instead, report back with the error.

git clone https://github.com/reticulatedpines/qemu-eos
cd qemu-eos; git switch qemu-eos-v4.2.1; cd ..
mkdir qemu-eos-build
cd qemu-eos-build
../qemu-eos/configure --target-list=arm-softmmu --enable-plugins --disable-docs --enable-vnc --enable-gtk
make -j16


I expect that will fail because you have incorrect line endings.  If it does fail to build, determine the last source file that had a problem and get the sha1sum hash of it and report that here.

Okay
Cleared up everything in simplified, let's do it according to the command, line by line exactly you said.

  • rm -f qemu-eos, qemu-eos-build, & magiclantern_simplified. OK
  • reclone qemu-eos. OK
  • go inside qemu-eos, switch branch to v4.2.1, and get out. OK
  • make folder called qemu-eos-build. OK
  • go inside that qemu-eos-build. OK
  • configure. OK
  • make with 16 thread. FAIL, same vpc.c error

Error:

...
  CC      block/qcow2-snapshot.o
  CC      block/qcow2-cache.o
  CC      block/qcow2-bitmap.o
  CC      block/qcow2-threads.o
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c: In function 'vpc_open':
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:360:51: error: array subscript 'VHDDynDiskHeader {aka struct vhd_dyndisk_header}[0]' is partly outside array bounds of 'uint8_t[512]' {aka 'unsigned char[512]'} [-Werror=array-bounds]
  360 |         s->block_size = be32_to_cpu(dyndisk_header->block_size);
      |                                                   ^~
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:223:13: note: while referencing 'buf'
  223 |     uint8_t buf[HEADER_SIZE];
      |             ^~~
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:368:58: error: array subscript 'VHDDynDiskHeader {aka struct vhd_dyndisk_header}[0]' is partly outside array bounds of 'uint8_t[512]' {aka 'unsigned char[512]'} [-Werror=array-bounds]
  368 |         s->max_table_entries = be32_to_cpu(dyndisk_header->max_table_entries);
      |                                                          ^~
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:223:13: note: while referencing 'buf'
  223 |     uint8_t buf[HEADER_SIZE];
      |             ^~~
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:400:51: error: array subscript 'VHDDynDiskHeader {aka struct vhd_dyndisk_header}[0]' is partly outside array bounds of 'uint8_t[512]' {aka 'unsigned char[512]'} [-Werror=array-bounds]
  400 |         s->bat_offset = be64_to_cpu(dyndisk_header->table_offset);
      |                                                   ^~
/home/joelwindows7/sauce/simplified/qemu-eos/block/vpc.c:223:13: note: while referencing 'buf'
  223 |     uint8_t buf[HEADER_SIZE];
      |             ^~~
  CC      block/qed.o
  CC      block/qed-l2-cache.o
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: block/vpc.o] Error 1
make: *** Waiting for unfinished jobs....


same error vpc.c. sha1sum of vpc.c is `f9ad389e82886eb53f242bde967519fac416e891`:

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ sha1sum ../qemu-eos/block/vpc.c
f9ad389e82886eb53f242bde967519fac416e891  ../qemu-eos/block/vpc.c
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$

full log
Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard

Thanks.  Same file hash here, so that file at least has okay line endings.  I don't see that error.  Qemu fails builds on any compiler warnings, not just errors, so perhaps your compiler produces more warnings than mine.  What does gcc --version show you?  I'm on 10.2.

A quick search suggests you may be using GCC 11 or higher:
https://www.mail-archive.com/[email protected]/msg768454.html

If so the easiest fix will be to downgrade your GCC to 10.

JOELwindows7

Quote from: names_are_hard on November 23, 2022, 03:44:05 PM
Thanks.  Same file hash here, so that file at least has okay line endings.  I don't see that error.  Qemu fails builds on any compiler warnings, not just errors, so perhaps your compiler produces more warnings than mine.  What does gcc --version show you?  I'm on 10.2.

A quick search suggests you may be using GCC 11 or higher:
https://www.mail-archive.com/[email protected]/msg768454.html

If so the easiest fix will be to downgrade your GCC to 10.

Yep
My GCC is 11 series.

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ gcc
gcc            gcc-ar         gcc-nm         gcc-ranlib
gcc-11         gcc-ar-11      gcc-nm-11      gcc-ranlib-11
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ gcc --version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$

log

gotta figure out how to downgrade yess. Maybe, have a portable gcc again, figure out how to make compiler choose that old gcc.. idk.

Edit 1
Found way. you can explicitly set CC & CXX, this way. e.g.

./configure CXX=g++-3.4 CC=gcc-3.4
make CXX=g++-3.4 CC=gcc-3.4


So maybe I can try uh..

../qemu-eos/configure --target-list=arm-softmmu --enable-plugins --disable-docs --enable-vnc --enable-gtk CXX=g++-10 CC=gcc-10
make -j16 CXX=g++-10 CC=gcc-10


idk.. will this work..

Oh yeah, first install `gcc-10`. still exist!

sudo apt install gcc-10 -y


Edit 2
bit wrong syntax on configure, you should instead

../qemu-eos/configure --target-list=arm-softmmu --enable-plugins --disable-docs --enable-vnc --enable-gtk --cxx=g++-10 -cc=gcc-10

watch that dash dash!

the make ones, still unmodified.

Edit 3
Ah crack!

...
  CC      net/dump.o
  CC      net/eth.o
  CC      net/announce.o
  CC      net/l2tpv3.o
  CC      net/vhost-user.o
In function 'dump_receive_iov',
    inlined from 'filter_dump_receive_iov' at /home/joelwindows7/sauce/simplified/qemu-eos/net/dump.c:159:5:
/home/joelwindows7/sauce/simplified/qemu-eos/net/dump.c:89:9: error: 'writev' specified size 18446744073709551600 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
   89 |     if (writev(s->fd, dumpiov, cnt + 1) != sizeof(hdr) + caplen) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:498,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/net/dump.c:25:
/home/joelwindows7/sauce/simplified/qemu-eos/net/dump.c: In function 'filter_dump_receive_iov':
/usr/include/x86_64-linux-gnu/sys/uio.h:52:16: note: in a call to function 'writev' declared with attribute 'read_only (2, 3)'
   52 | extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count)
      |                ^~~~~~
  CC      net/vhost-user-stub.o
  CC      net/slirp.o
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: net/dump.o] Error 1
make: *** Waiting for unfinished jobs....
  CC      net/filter.o
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ sha1sum ../qemu-eos/net/dump.c
9f26c48ee1df90a002a0ade61b2acee369ab8415  ../qemu-eos/net/dump.c
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$

full log

one more, gcc-10 I have is

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ gcc-10 --version
gcc-10 (Ubuntu 10.4.0-4ubuntu1~22.04) 10.4.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$

10.4.0
Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard


JOELwindows7

Quote from: names_are_hard on November 23, 2022, 10:44:41 PM
You are probably still building using gcc 11: https://lore.kernel.org/all/[email protected]/

Sigh
It seems my system does not want to cooperate with my arguments. You know what, let's break my WSL. I'm going to make the `gcc` defaults to 10. Found way.

clear alternatives if necessary

sudo update-alternatives --remove-all gcc
sudo update-alternatives --remove-all g++


Now, I did:

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 20

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 20

sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30
sudo update-alternatives --set cc /usr/bin/gcc

sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30
sudo update-alternatives --set c++ /usr/bin/g++


since I only had one that `10` the --config

sudo update-alternatives --config gcc
sudo update-alternatives --config g++

does nothing.

Try again
I still have the same error

...
  CC      monitor/hmp-cmds.o
  CC      net/net.o
  CC      net/queue.o
  CC      net/checksum.o
  CC      net/util.o
  CC      net/hub.o
  CC      net/socket.o
  CC      net/dump.o
  CC      net/eth.o
  CC      net/announce.o
  CC      net/l2tpv3.o
  CC      net/vhost-user.o
  CC      net/vhost-user-stub.o
  CC      net/slirp.o
  CC      net/filter.o
In function 'dump_receive_iov',
    inlined from 'filter_dump_receive_iov' at /home/joelwindows7/sauce/simplified/qemu-eos/net/dump.c:159:5:
/home/joelwindows7/sauce/simplified/qemu-eos/net/dump.c:89:9: error: 'writev' specified size 18446744073709551600 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
   89 |     if (writev(s->fd, dumpiov, cnt + 1) != sizeof(hdr) + caplen) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/joelwindows7/sauce/simplified/qemu-eos/include/qemu/osdep.h:498,
                 from /home/joelwindows7/sauce/simplified/qemu-eos/net/dump.c:25:
/home/joelwindows7/sauce/simplified/qemu-eos/net/dump.c: In function 'filter_dump_receive_iov':
/usr/include/x86_64-linux-gnu/sys/uio.h:52:16: note: in a call to function 'writev' declared with attribute 'read_only (2, 3)'
   52 | extern ssize_t writev (int __fd, const struct iovec *__iovec, int __count)
      |                ^~~~~~
  CC      net/filter-buffer.o
cc1: all warnings being treated as errors
make: *** [/home/joelwindows7/sauce/simplified/qemu-eos/rules.mak:69: net/dump.o] Error 1
make: *** Waiting for unfinished jobs....
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ cc
cc: fatal error: no input files
compilation terminated.
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ cc --version
cc (Ubuntu 10.4.0-4ubuntu1~22.04) 10.4.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ c++ --version
c++ (Ubuntu 10.4.0-4ubuntu1~22.04) 10.4.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$

log

Maybe go back to GCC9
tried, got different error, it's a `-nopie` mistake

...
  AS      pc-bios/optionrom/multiboot.o
  LINK    tests/qemu-iotests/socket_scm_helper
  CC      qga/commands.o
  AS      pc-bios/optionrom/linuxboot.o
  CC      pc-bios/optionrom/linuxboot_dma.o
  CC      qga/guest-agent-command-state.o
  AS      pc-bios/optionrom/kvmvapic.o
  AS      pc-bios/optionrom/pvh.o
  CC      pc-bios/optionrom/pvh_main.o
  BUILD   pc-bios/optionrom/multiboot.img
ld: Error: unable to disambiguate: -nopie (did you mean --nopie ?)
make[1]: *** [Makefile:53: multiboot.img] Error 1
make[1]: *** Waiting for unfinished jobs....
  CC      qga/main.o
  CC      qga/commands-posix.o
make: *** [Makefile:542: pc-bios/optionrom/all] Error 2
make: *** Waiting for unfinished jobs....
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ sha1sum pc-bios/optionrom/multiboot.img
sha1sum: pc-bios/optionrom/multiboot.img: No such file or directory
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$

log

Return to 10 anyways
And I've finally looked up `qemu dump.c writev error specified size` something, found this, says it's not reproducible, but the last comment said I can just `--disable-werror` (disable warning as error?). Okay, go back alternative to `10`, don't forget configure alternative, and then, configure qemu-eos with `--disable-werror`. Make again.

../qemu-eos/configure --target-list=arm-softmmu --enable-plugins --disable-docs --enable-vnc --enable-gtk --disable-werror && make -j16


& it had the same `-nopie` mistake error.

...
  AS      pc-bios/optionrom/linuxboot.o
  CC      pc-bios/optionrom/linuxboot_dma.o
  AS      pc-bios/optionrom/kvmvapic.o
  AR      libvhost-user.a
  AS      pc-bios/optionrom/pvh.o
  CC      pc-bios/optionrom/pvh_main.o
  BUILD   pc-bios/optionrom/multiboot.img
ld: Error: unable to disambiguate: -nopie (did you mean --nopie ?)
make[1]: *** [Makefile:53: multiboot.img] Error 1
make[1]: *** Waiting for unfinished jobs....
  LINK    tests/qemu-iotests/socket_scm_helper
  CC      qga/commands.o
  CC      qga/guest-agent-command-state.o
  CC      qga/main.o
  CC      qga/commands-posix.o
  CC      qga/channel-posix.o
make: *** [Makefile:542: pc-bios/optionrom/all] Error 2
make: *** Waiting for unfinished jobs....
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ gcc --version
gcc (Ubuntu 10.4.0-4ubuntu1~22.04) 10.4.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ cc --version
cc (Ubuntu 10.4.0-4ubuntu1~22.04) 10.4.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ ls pc-bios/optionrom/
Makefile    kvmvapic.o   linuxboot.o      linuxboot_dma.o  multiboot.o  pvh.o       pvh_main.o
kvmvapic.d  linuxboot.d  linuxboot_dma.d  multiboot.d      pvh.d        pvh_main.d
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ ls pc-bios/optionrom/multiboot.o
pc-bios/optionrom/multiboot.o
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ ls pc-bios/optionrom/multiboot.d
pc-bios/optionrom/multiboot.d
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ sha1sum pc-bios/optionrom/multiboot.o
96bba30ba2f9a83b7cb605ad5f5426c73517f5db  pc-bios/optionrom/multiboot.o
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$ sha1sum pc-bios/optionrom/multiboot.d
a6a91ec42f2e123b4e9aea3d76970cde568b5c2c  pc-bios/optionrom/multiboot.d
joelwindows7@JOEL-ROG-GL503GE:~/sauce/simplified/qemu-eos-build$

full log
Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard

Some of those problems look pretty easy to fix, but only if you have a decent amount of C / gcc experience - I'm guessing you don't?

I'd recommend not using Ubuntu, use Debian Bullseye instead.  That's the distro I use for building and I know it works.

JOELwindows7

Quote from: names_are_hard on November 24, 2022, 04:25:39 PM
Some of those problems look pretty easy to fix, but only if you have a decent amount of C / gcc experience - I'm guessing you don't?

I'd recommend not using Ubuntu, use Debian Bullseye instead.  That's the distro I use for building and I know it works.

Yeah, I don't know how to GCC at the moment
Look, I've recently moved on from Friday Night Funkin Modding scene, No, not the drama, it's a long story. I finally have.. jobs. No, side hustle. The task comes up every time on a regular basis around 24 hours everyday. Therefore I can't keep up maintaining my FNF mod engine.

And basically, I've already had so many rabbit holes over past few years here. Wow, can't count how many, either active, deactivated, reactivated. Like Windows CE, Arduino, Raspberry Pi, Godot, Unity.. AH GET THE PECK OUT!, C++ (oh man, the second or third semester of my college back then), Haxe (yeah already mentioned Friday Night Funkin above), 3D Models (OH PLS WHERE IS DOWNLOAD LINK!!! WTF?!?!?!?), Arch Linux btw, etc.

wow so many things I had learned over the past few years.

Okay enough backstory
Yeah, I gave up. really give up, tired of this, sorry for disturbing your time (if I did). No more. Ubuntu indeed horrible in this scene. I know, porting stuffs to optimize for newer compiler libraries is haaaaaaaaaaaaaaaaaaard!!! Got it, not worth the time.

That's right, I shall just get the ISO here. the Bullseye one yess.. (Whoah, it's the latest stable today?), get my Virtualbox over here. Hopefully got enough space MAN I NEED MORE DISK SPACE BUY ME WD PLS!!, it works though, no crash because Host disk full..
set everything up, and indeed the GCC & G++ it had is 10 series, forgot what exact minor number. I did alot there.

So the logs in order:

Okay, lemme summarize:
I installed Debian Bullseye, into a VHD (btw, I'll share this later, coz this VHD is HUUUUGE, lots of consideration needed, where to upload this at, where guaranteed no auto-dead. would be my 1st Archive upload?, idk), set things up like build-essentials, cmake, everything libraries. Refollowed your lastly mentioned commands, wait no fail, continue from your instruction, WOW it works? I think? idk... tell me if there something wrong. I cannot test it until 2023 where my sister finished the semester unless I have the convince regarding running ROM dumper FIR won't brick it & had the dump ROM 3000D now.

Also I cloned the Original ML source code too, in case if people would like to figure out something for it.

AH damn it
I lost the log for QEMU compile works! I copy pasted the wrong terminal history. MAN that thingy! How do I supposed to re-prove...

okay, let's just recompile like if made change something (but not, just recompile)

cd ~/sauce/simplified/qemu-eos-build
make -j16 && make plugins && cp tests/plugin/libmagiclantern.so arm-softmmu/plugins/


result:

magiclantern@debian-magiclantern:~/sauce/simplified/qemu-eos-build$ make -j16 && make plugins && cp tests/plugin/libmagiclantern.so arm-softmmu/plugins/

make[1]: Entering directory '/home/magiclantern/sauce/simplified/qemu-eos/slirp'

make[1]: Nothing to be done for 'all'.

make[1]: Leaving directory '/home/magiclantern/sauce/simplified/qemu-eos/slirp'

LEX convert-dtsv0-lexer.lex.c

BISON dtc-parser.tab.c

make[1]: flex: No such file or directory

make[1]: bison: No such file or directory

LEX dtc-lexer.lex.c

make[1]: flex: No such file or directory

make[1]: Entering directory '/home/magiclantern/sauce/simplified/qemu-eos/slirp'

make[1]: Nothing to be done for 'all'.

make[1]: Leaving directory '/home/magiclantern/sauce/simplified/qemu-eos/slirp'

LEX convert-dtsv0-lexer.lex.c

make[1]: flex: No such file or directory

BISON dtc-parser.tab.c

make[1]: bison: No such file or directory

LEX dtc-lexer.lex.c

make[1]: flex: No such file or directory

  BUILD   plugins

magiclantern@debian-magiclantern:~/sauce/simplified/qemu-eos-build$




Okay definitely something wrong
I didn't have Bison & Lex thingy. let's install whatever I could guess. synaptic log

try again..

magiclantern@debian-magiclantern:~/sauce/simplified/qemu-eos-build$ make -j16 && make plugins && cp tests/plugin/libmagiclantern.so arm-softmmu/plugins/

make[1]: Entering directory '/home/magiclantern/sauce/simplified/qemu-eos/slirp'

make[1]: Nothing to be done for 'all'.

make[1]: Leaving directory '/home/magiclantern/sauce/simplified/qemu-eos/slirp'

LEX convert-dtsv0-lexer.lex.c

BISON dtc-parser.tab.c

LEX dtc-lexer.lex.c

/home/magiclantern/sauce/simplified/qemu-eos/dtc/dtc-parser.y:57 parser name defined to default :"parse"

"/home/magiclantern/sauce/simplified/qemu-eos/dtc/dtc-parser.y", line 481: invalid @-construct

"/home/magiclantern/sauce/simplified/qemu-eos/dtc/dtc-parser.y", line 481: $� is invalid

free(): double free detected in tcache 2

DEP convert-dtsv0-lexer.lex.c

DEP dtc-lexer.lex.c

BISON dtc-parser.tab.c

/home/magiclantern/sauce/simplified/qemu-eos/dtc/dtc-parser.y:57 parser name defined to default :"parse"

"/home/magiclantern/sauce/simplified/qemu-eos/dtc/dtc-parser.y", line 481: invalid @-construct

"/home/magiclantern/sauce/simplified/qemu-eos/dtc/dtc-parser.y", line 481: $� is invalid

free(): double free detected in tcache 2

make[1]: Entering directory '/home/magiclantern/sauce/simplified/qemu-eos/slirp'

make[1]: Nothing to be done for 'all'.

make[1]: Leaving directory '/home/magiclantern/sauce/simplified/qemu-eos/slirp'

BISON dtc-parser.tab.c

/home/magiclantern/sauce/simplified/qemu-eos/dtc/dtc-parser.y:57 parser name defined to default :"parse"

"/home/magiclantern/sauce/simplified/qemu-eos/dtc/dtc-parser.y", line 481: invalid @-construct

"/home/magiclantern/sauce/simplified/qemu-eos/dtc/dtc-parser.y", line 481: $� is invalid

free(): double free detected in tcache 2

  BUILD   plugins

magiclantern@debian-magiclantern:~/sauce/simplified/qemu-eos-build$

log

Okay idk what's going on, but it seems similar.
Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard

Ah, I wasn't suggesting you make a VM.  You can use Debian with WSL: https://wiki.debian.org/InstallingDebianOn/Microsoft/Windows/SubsystemForLinux

You changed your environment several times and didn't re-run qemu configure, so it's not picking up those changes (including the addition of bison and flex).  Make clean and then configure again if you want it to use those new things.

If you can't get a rom dump for a few months, that gives you time to learn more C and Ghidra.  The rom dump process is very low risk if you follow the instructions carefully.  Nothing is truly risk free, of course.

JOELwindows7

Quote from: names_are_hard on November 25, 2022, 04:49:23 PM
Ah, I wasn't suggesting you make a VM.  You can use Debian with WSL: https://wiki.debian.org/InstallingDebianOn/Microsoft/Windows/SubsystemForLinux

You changed your environment several times and didn't re-run qemu configure, so it's not picking up those changes (including the addition of bison and flex).  Make clean and then configure again if you want it to use those new things.

If you can't get a rom dump for a few months, that gives you time to learn more C and Ghidra.  The rom dump process is very low risk if you follow the instructions carefully.  Nothing is truly risk free, of course.

Debian WSL
Oh wow, why didn't I thought about that?, Microsoft Store had alot of Linux distro variations for the WSL. Oh well, that's alright. maybe the VHD would be useful for those who don't have Windows atleast 10, or Linux distro that isn't Debian Bullseye or whatever compatible with the ML simplified or OG ML right now, or perhaps school laptop that is too potato for even just opening more than 2 Chrome tabs. ...

...

Eh? wrong! LMAO!!!

Yeah, idk why would anyone VHD, I'll just have it later just in case.

But alright, let's just set it up so to confirm if both of these works. logs (to lazy to explain)

Well, basically it, I guess. I will tidy these things up in here. I got my WSL, I recommend you instead from now on use Debian WSL instead of Ubuntu. here Store.

And hey, gegg0! You better update this one up here, the default Ubuntu (which ships with 20.04 LTS right now) failed horribly today.

Environment
Yep, I forgot to clean up & reconfigure. Also forgot to check if Bison & Flex installed. I got it handled, see above, log number 9 & 10. I'll also fix that further for the VHD.

And look, nothing wrong finally yeyyy!

Dump & Ghidra
Well about good news, the ROM dump maybe done-able faster, I asked my mom about when will she has final exam for this semester. she said about 24th December 2022, yeyyyyy...
Again, can't risk bricking the camera before she can finish the semester. Did that but not camera, it's to this my Gaming Laptop (I used for college) before, so I won't repeat this mistake, not to mention we're talking about embedded device, not something you can just redownload the OS and clean install call it a day. So, thancc for the convince. I should try.. idk..

Okay about C. well, the 3rd semester I had couple years ago, maybe it's just C. ... okay, say it's both C & C++, coz all I learned from the first time C is like stdio.h, printf, getchar, and even had assignment where you be like solve problem jam game, you see a problem, code the solution, submit your code, see if you error, wrong answer, etc. Man, that's a C. C++ I saw somewhere semester is like cout, cin, using namespace std, what have you.. Had ever learned JUCE.. Damn, got sidetracked here..

ALso yeah. Ghidra. I should've downloaded this as soon as I had ever heard it mentioned alot in LiveOverflow YouTube channel serveral years ago. Btw, make sure you had latest version folks or at least update the log4j parts. the version in & after 10.1 patched the log4j issues. Very curious, I'll figure this out what can I do with this thing for this case here.

I guess that's it for now. thancc for attention.
Founder of Perkedel Technologies
Share & Serve for Gratis, Open Source, & FULL VERSION!!!
Magic Lantern & CHDK stuffs I collected: https://perkedel.netlify.app/apps/wceload/Canon

names_are_hard


Frank7D

So I'm trying to do this (having never compiled or really done anything with Linux before) and I have a question about the file "module_strings.h"
It's referenced in various places (in file "module.h" and in file "Makefile.modules" that I've seen so far.)
I got an error saying it was missing when I first tried to compile a module.

My question is: What is the function of this "module_strings.h" file, and how is it supposed to be created? And can I solve my problem by creating it manually?
(I actually tried this, basing the file contents on something I found by googling, and I was able to compile, but I have a feeling there could be unpleasant consequences to this crude hack.)

names_are_hard

You are missing rst2html from your path.  If you're using Debian, this will install it:

apt install python3-docutils


This is explained a few posts up in this thread.  No, you must not create it manually.