magic.sym is empty

Issue #1552 invalid
Former user created an issue

after compilation

#!/bin/shell

echo "CONFIG_TCC = y
CONFIG_MODULES = y
CONFIG_PICOC = n" >>  ~/magic-lantern/Makefile.user
cd ~/magic-lantern/modules/raw_rec && make
cd ~/magic-lantern && make 650D
cd ~/magic-lantern/platform/650D.101 && make install 650D

magic.sym file is still empty

Comments (6)

  1. erokata

    No logs available. Or you mean from terminal?

    magiclantern@magiclantern-VirtualBox:~/magic-lantern$ sudo make 650D
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    make -C /home/magiclantern/magic-lantern/platform/650D.101
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    make[1]: Entering directory `/home/magiclantern/magic-lantern/platform/650D.101'
    [ CPP      ]   magiclantern.lds
    ~/arm-toolchain/bin/arm-none-eabi-gcc-4.7.3    -c -o ../../src/entry.o ../../src/entry.S
    [ AS       ]   ../../platform/650D.101/stubs.o
    echo 'const char build_version[] = "v2.3.NEXT.2013May28.650D101";' > ../../platform/650D.101/version.c
    echo 'const char build_id[] = "'`hg id`'";' >> ../../platform/650D.101/version.c
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    echo 'const char build_date[] ="'`date -u "+%Y-%m-%d %H:%M:%S"`'";' >> ../../platform/650D.101/version.c
    echo 'const char build_user[] = "'`whoami`@`hostname`'";'  >> ../../platform/650D.101/version.c
    [ CC       ]   version.o
    [ CC       ]   boot-hack.o
    [ CC       ]   ico.o
    [ CC       ]   edmac.o
    [ CC       ]   menu.o
    [ CC       ]   debug.o
    [ CC       ]   cfn.o
    [ CC       ]   gui.o
    [ CC       ]   picstyle.o
    [ CC       ]   exmem.o
    [ CC       ]   bmp.o
    [ CC       ]   font-dyn.o
    [ CC       ]   config.o
    [ CC       ]   stdio.o
    [ CC       ]   bitrate.o
    ../../src/bitrate.c: In function 'time_indicator_show':
    ../../src/bitrate.c:492:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ../../src/bitrate.c:497:13: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
    [ CC       ]   tweaks.o
    ../../src/tweaks.c: In function 'display_shake_step':
    ../../src/tweaks.c:2810:5: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    ../../src/tweaks.c: At top level:
    ../../src/tweaks.c:3548:21: warning: initialization discards 'volatile' qualifier from pointer target type [enabled by default]
    ../../src/tweaks.c:1427:20: warning: 'arrow_keys_audio' defined but not used [-Wunused-variable]
    [ 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 ]   menuindexentries.h
    No menuindex.txt not running "python2 menuindex.py"
    [ 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       ]   aj_port.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
    ../../src/imgconv.c: In function 'yuv411_to_rgb':
    ../../src/imgconv.c:189:16: warning: unused variable 'c' [-Wunused-variable]
    [ CC       ]   histogram.o
    [ CC       ]   falsecolor.o
    [ CC       ]   audio-ak.o
    [ CC       ]   zebra.o
    [ CC       ]   beep.o
    [ CC       ]   misc.o
    [ CC       ]   ph_info_disp.o
    [ CC       ]   flexinfo.o
    [ CC       ]   dm-spy.o
    [ CC       ]   raw.o
    ../../src/raw.c: In function 'raw_update_params':
    ../../src/raw.c:231:9: warning: unused variable 'zoom' [-Wunused-variable]
    [ CC       ]   chdk-dng.o
    [ CC       ]   edmac-memcpy.o
    ../../src/edmac-memcpy.c: In function 'edmac_memset':
    ../../src/edmac-memcpy.c:145:5: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [enabled by default]
    In file included from ../../src/edmac-memcpy.c:2:0:
    ../../src/dryos.h:56:15: note: expected 'void *' but argument is of type 'long unsigned int'
    ../../src/edmac-memcpy.c:148:5: warning: passing argument 1 of 'edmac_copy_rectangle_adv_start' makes pointer from integer without a cast [enabled by default]
    ../../src/edmac-memcpy.c:46:7: note: expected 'void *' but argument is of type 'long unsigned int'
    ../../src/edmac-memcpy.c:148:5: warning: passing argument 2 of 'edmac_copy_rectangle_adv_start' makes pointer from integer without a cast [enabled by default]
    ../../src/edmac-memcpy.c:46:7: note: expected 'void *' but argument is of type 'long unsigned int'
    ../../src/edmac-memcpy.c:157:9: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [enabled by default]
    In file included from ../../src/edmac-memcpy.c:2:0:
    ../../src/dryos.h:56:15: note: expected 'void *' but argument is of type 'long unsigned int'
    [ CC       ]   console.o
    [ CC       ]   tcc-glue.o
    ../../src/tcc-glue.c: In function 'tcc_compile_and_run':
    ../../src/tcc-glue.c:34:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
    ../../src/tcc-glue.c:39:11: warning: 'main' is usually a function [-Wmain]
    ../../src/tcc-glue.c:66:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
    ../../src/tcc-glue.c: In function 'open':
    ../../src/tcc-glue.c:146:5: warning: passing argument 2 of 'FIO_GetFileSize' from incompatible pointer type [enabled by default]
    In file included from ../../src/tcc-glue.c:9:0:
    ../../src/dryos.h:532:1: note: expected 'uint32_t *' but argument is of type 'unsigned int *'
    ../../src/tcc-glue.c: In function 'read':
    ../../src/tcc-glue.c:179:5: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [enabled by default]
    In file included from ../../src/tcc-glue.c:9:0:
    ../../src/dryos.h:549:1: note: expected 'const void *' but argument is of type 'long unsigned int'
    ../../src/tcc-glue.c: In function 'close':
    ../../src/tcc-glue.c:187:5: warning: passing argument 1 of 'free_dma_memory' makes pointer from integer without a cast [enabled by default]
    In file included from ../../src/tcc-glue.c:9:0:
    ../../src/dryos.h:558:1: note: expected 'const void *' but argument is of type 'int'
    ../../src/tcc-glue.c: In function 'fputc':
    ../../src/tcc-glue.c:240:1: warning: number of arguments doesn't match built-in prototype [enabled by default]
    ../../src/tcc-glue.c: In function 'tcc_compile_and_run':
    ../../src/tcc-glue.c:78:8: warning: 's' may be used uninitialized in this function [-Wuninitialized]
    [ CC       ]   tcc-gui.o
    [ CC       ]   chdk-gui_script.o
    [ CC       ]   script_lib.o
    make -C ../../tcc
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    make[2]: Entering directory `/home/magiclantern/magic-lantern/tcc'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/magiclantern/magic-lantern/tcc'
    [ CC       ]   module.o
    ../../src/module.c: In function 'module_translate_event':
    ../../src/module.c:637:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ../../src/module.c:637:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    [ AR       ]   strrchr.o
    [ AR       ]   dietlibc.a
    [ AR       ]   lib_a-setjmp.o
    [ AR       ]   newlib-libc.a
    [ LD       ]   magiclantern
    dietlibc.a(vsscanf.o): In function `vsscanf':
    vsscanf.c:(.text+0x5c): warning: warning: the scanf functions add several kilobytes of bloat.
    dietlibc.a(sprintf.o): In function `sprintf':
    sprintf.c:(.text+0x14): warning: warning: Avoid *sprintf; use *snprintf. It is more secure.
    [ OBJCOPY  ]   magiclantern.bin
    [ STAT     ]   magiclantern.bin
    magiclantern.bin: 487896 bytes
    [ SYMBOLS  ]   magiclantern.sym
    /bin/sh: 1: gawk: not found
    [ CC       ]   reboot.o
    [ LD       ]   autoexec
    
    Program Headers:
      Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
      EXIDX          0x0772d0 0x000f52d0 0x000f52d0 0x00008 0x00008 R   0x4
      LOAD           0x000100 0x0007e100 0x0007e100 0x771d8 0x92294 RWE 0x100
    [ OBJCOPY  ]   autoexec.bin
    [ STAT     ]   autoexec.bin
    autoexec.bin: 488512 bytes
    make[1]: Leaving directory `/home/magiclantern/magic-lantern/platform/650D.101'
    
    magiclantern@magiclantern-VirtualBox:~/magic-lantern/platform/650D.101$ sudo make install
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    [ CPP      ]   magiclantern.lds
    ~/arm-toolchain/bin/arm-none-eabi-gcc-4.7.3    -c -o ../../src/entry.o ../../src/entry.S
    [ AS       ]   ../../platform/650D.101/stubs.o
    echo 'const char build_version[] = "v2.3.NEXT.2013May28.650D101";' > ../../platform/650D.101/version.c
    echo 'const char build_id[] = "'`hg id`'";' >> ../../platform/650D.101/version.c
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    echo 'const char build_date[] ="'`date -u "+%Y-%m-%d %H:%M:%S"`'";' >> ../../platform/650D.101/version.c
    echo 'const char build_user[] = "'`whoami`@`hostname`'";'  >> ../../platform/650D.101/version.c
    [ CC       ]   version.o
    [ CC       ]   boot-hack.o
    [ CC       ]   ico.o
    [ CC       ]   edmac.o
    [ CC       ]   menu.o
    [ CC       ]   debug.o
    [ CC       ]   cfn.o
    [ CC       ]   gui.o
    [ CC       ]   picstyle.o
    [ CC       ]   exmem.o
    [ CC       ]   bmp.o
    [ CC       ]   font-dyn.o
    [ CC       ]   config.o
    [ CC       ]   stdio.o
    [ CC       ]   bitrate.o
    ../../src/bitrate.c: In function 'time_indicator_show':
    ../../src/bitrate.c:492:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ../../src/bitrate.c:497:13: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
    [ CC       ]   tweaks.o
    ../../src/tweaks.c: In function 'display_shake_step':
    ../../src/tweaks.c:2810:5: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    ../../src/tweaks.c: At top level:
    ../../src/tweaks.c:3548:21: warning: initialization discards 'volatile' qualifier from pointer target type [enabled by default]
    ../../src/tweaks.c:1427:20: warning: 'arrow_keys_audio' defined but not used [-Wunused-variable]
    [ 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 ]   menuindexentries.h
    No menuindex.txt not running "python2 menuindex.py"
    [ 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       ]   aj_port.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
    ../../src/imgconv.c: In function 'yuv411_to_rgb':
    ../../src/imgconv.c:189:16: warning: unused variable 'c' [-Wunused-variable]
    [ CC       ]   histogram.o
    [ CC       ]   falsecolor.o
    [ CC       ]   audio-ak.o
    [ CC       ]   zebra.o
    [ CC       ]   beep.o
    [ CC       ]   misc.o
    [ CC       ]   ph_info_disp.o
    [ CC       ]   flexinfo.o
    [ CC       ]   dm-spy.o
    [ CC       ]   raw.o
    ../../src/raw.c: In function 'raw_update_params':
    ../../src/raw.c:231:9: warning: unused variable 'zoom' [-Wunused-variable]
    [ CC       ]   chdk-dng.o
    [ CC       ]   edmac-memcpy.o
    ../../src/edmac-memcpy.c: In function 'edmac_memset':
    ../../src/edmac-memcpy.c:145:5: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [enabled by default]
    In file included from ../../src/edmac-memcpy.c:2:0:
    ../../src/dryos.h:56:15: note: expected 'void *' but argument is of type 'long unsigned int'
    ../../src/edmac-memcpy.c:148:5: warning: passing argument 1 of 'edmac_copy_rectangle_adv_start' makes pointer from integer without a cast [enabled by default]
    ../../src/edmac-memcpy.c:46:7: note: expected 'void *' but argument is of type 'long unsigned int'
    ../../src/edmac-memcpy.c:148:5: warning: passing argument 2 of 'edmac_copy_rectangle_adv_start' makes pointer from integer without a cast [enabled by default]
    ../../src/edmac-memcpy.c:46:7: note: expected 'void *' but argument is of type 'long unsigned int'
    ../../src/edmac-memcpy.c:157:9: warning: passing argument 1 of 'memset' makes pointer from integer without a cast [enabled by default]
    In file included from ../../src/edmac-memcpy.c:2:0:
    ../../src/dryos.h:56:15: note: expected 'void *' but argument is of type 'long unsigned int'
    [ CC       ]   console.o
    [ CC       ]   tcc-glue.o
    ../../src/tcc-glue.c: In function 'tcc_compile_and_run':
    ../../src/tcc-glue.c:34:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
    ../../src/tcc-glue.c:39:11: warning: 'main' is usually a function [-Wmain]
    ../../src/tcc-glue.c:66:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
    ../../src/tcc-glue.c: In function 'open':
    ../../src/tcc-glue.c:146:5: warning: passing argument 2 of 'FIO_GetFileSize' from incompatible pointer type [enabled by default]
    In file included from ../../src/tcc-glue.c:9:0:
    ../../src/dryos.h:532:1: note: expected 'uint32_t *' but argument is of type 'unsigned int *'
    ../../src/tcc-glue.c: In function 'read':
    ../../src/tcc-glue.c:179:5: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [enabled by default]
    In file included from ../../src/tcc-glue.c:9:0:
    ../../src/dryos.h:549:1: note: expected 'const void *' but argument is of type 'long unsigned int'
    ../../src/tcc-glue.c: In function 'close':
    ../../src/tcc-glue.c:187:5: warning: passing argument 1 of 'free_dma_memory' makes pointer from integer without a cast [enabled by default]
    In file included from ../../src/tcc-glue.c:9:0:
    ../../src/dryos.h:558:1: note: expected 'const void *' but argument is of type 'int'
    ../../src/tcc-glue.c: In function 'fputc':
    ../../src/tcc-glue.c:240:1: warning: number of arguments doesn't match built-in prototype [enabled by default]
    ../../src/tcc-glue.c: In function 'tcc_compile_and_run':
    ../../src/tcc-glue.c:78:8: warning: 's' may be used uninitialized in this function [-Wuninitialized]
    [ CC       ]   tcc-gui.o
    [ CC       ]   chdk-gui_script.o
    [ CC       ]   script_lib.o
    make -C ../../tcc
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    make[1]: Entering directory `/home/magiclantern/magic-lantern/tcc'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/magiclantern/magic-lantern/tcc'
    [ CC       ]   module.o
    ../../src/module.c: In function 'module_translate_event':
    ../../src/module.c:637:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    ../../src/module.c:637:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    [ AR       ]   strrchr.o
    [ AR       ]   dietlibc.a
    [ AR       ]   lib_a-setjmp.o
    [ AR       ]   newlib-libc.a
    [ LD       ]   magiclantern
    dietlibc.a(vsscanf.o): In function `vsscanf':
    vsscanf.c:(.text+0x5c): warning: warning: the scanf functions add several kilobytes of bloat.
    dietlibc.a(sprintf.o): In function `sprintf':
    sprintf.c:(.text+0x14): warning: warning: Avoid *sprintf; use *snprintf. It is more secure.
    [ OBJCOPY  ]   magiclantern.bin
    [ STAT     ]   magiclantern.bin
    magiclantern.bin: 487896 bytes
    [ SYMBOLS  ]   magiclantern.sym
    /bin/sh: 1: gawk: not found
    [ CC       ]   reboot.o
    [ LD       ]   autoexec
    
    Program Headers:
      Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
      EXIDX          0x0772d0 0x000f52d0 0x000f52d0 0x00008 0x00008 R   0x4
      LOAD           0x000100 0x0007e100 0x0007e100 0x771d8 0x92294 RWE 0x100
    [ OBJCOPY  ]   autoexec.bin
    [ STAT     ]   autoexec.bin
    autoexec.bin: 488512 bytes
    cp autoexec.bin "/media/EOS_DIGITAL/"
    mkdir "/media/EOS_DIGITAL/"/ML || echo "no problem"
    mkdir: cannot create directory `/media/EOS_DIGITAL//ML': File exists
    no problem
    mkdir "/media/EOS_DIGITAL/"/ML/settings || echo "no problem"
    mkdir: cannot create directory `/media/EOS_DIGITAL//ML/settings': File exists
    no problem
    mkdir "/media/EOS_DIGITAL/"/ML/data || echo "no problem"
    mkdir: cannot create directory `/media/EOS_DIGITAL//ML/data': File exists
    no problem
    cp ../../src/FONTS.DAT "/media/EOS_DIGITAL/"/ML/data/
    mkdir "/media/EOS_DIGITAL/"/ML/cropmks || echo "no problem"
    mkdir: cannot create directory `/media/EOS_DIGITAL//ML/cropmks': File exists
    no problem
    cp ../../data/cropmks/*.bmp "/media/EOS_DIGITAL/"/ML/cropmks/
    mkdir "/media/EOS_DIGITAL/"/ML/scripts || echo "no problem"
    mkdir: cannot create directory `/media/EOS_DIGITAL//ML/scripts': File exists
    no problem
    cp ../../scripts/*.lua "/media/EOS_DIGITAL/"/ML/scripts/
    cp ../../scripts/*.c "/media/EOS_DIGITAL/"/ML/scripts/
    cp ../../scripts/*.py "/media/EOS_DIGITAL/"/ML/scripts/
    cp ../../data/vram/*.lut "/media/EOS_DIGITAL/"/ML/data/
    make -C ../../modules install
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    Not trusting file /home/magiclantern/magic-lantern/.hg/hgrc from untrusted user magiclantern, group magiclantern
    make[1]: Entering directory `/home/magiclantern/magic-lantern/modules'
    mkdir "/media/EOS_DIGITAL/"/ML/modules || echo "no problem"
    mkdir: cannot create directory `/media/EOS_DIGITAL//ML/modules': File exists
    no problem
    cp ../modules/*/*.mo "/media/EOS_DIGITAL/"/ML/modules/ || echo "no problem"
    make[1]: Leaving directory `/home/magiclantern/magic-lantern/modules'
    cp ../../modules/*/*.mo "/media/EOS_DIGITAL/"/ML/modules/ || echo "no problem"
    cp magiclantern.sym "/media/EOS_DIGITAL/"/ML/modules/magic.sym
    # todo: magic.sym is camera-specific, rename it (e.g. 550D-109.sym)
    umount "/media/EOS_DIGITAL/"
    
  2. Log in to comment