CLI
1 |
$ python3 -m http.server <port no> |
1 |
$ python3 -m http.server 8080 |
非標準ポートのアクセスURL
1 |
http://192.168.0.128:<port no> |
1 |
http://192.168.0.128:8080 |
1 |
$ python3 -m http.server <port no> |
1 |
$ python3 -m http.server 8080 |
1 |
http://192.168.0.128:<port no> |
1 |
http://192.168.0.128:8080 |
Windows Control Panel Item (コントロールパネル項目)
コントロールパネルの項目に紐づいたファイル
『コマンドプロンプト』や『ファイル名を指定して実行』から実行するとコントロールパネル階層下のウインドウが開く
*.cplファイルの配置位置 : C:\Windows\system32
キーボードからコロン : を押下しても "E20: Mark not set" が表示されてコマンドが入力できない。:q
で終了させることもできない 。
キーボードの言語設定の不一致。(JISキーボード配列とUSキーボード配列の違い)
Shift + ; (セミコロン) で : (コロン)を入力する。
0x55, 0x46, 0x32, 0x0A
)
1 2 3 4 5 6 |
> cd E:\USO_800 > git status fatal: unsafe repository ('E:/USO_800' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory E:/USO_800 |
1 |
'git status' がコード 128 で終了しました: fatal unsafe repository ('//wsl$/Ubuntu/home/...') |
1 2 3 4 5 |
$ git status fatal: unsafe repository ('/var/www' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /var/www |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
ruby ../asp3/tecsgen/tecsgen.rb ../asp3/sample/sample1.cdl -R -I. -I../asp3/include -I../asp3/target/raspberrypi_pico_gcc -I../asp3/arch/arm_m_gcc/rp2040 -I../asp3/arch/arm_m_gcc/common -I../asp3/arch/gcc -I../asp3 -I../asp3/sample -I./gen -I../asp3/tecs_kernel --cpp "arm-none-eabi-gcc -DUSE_TIM_AS_HRT -DTOPPERS_CORTEX_M0PLUS -D__TARGET_ARCH_THUMB=3 -I. -I../asp3/include -I../asp3/target/raspberrypi_pico_gcc -I../asp3/arch/arm_m_gcc/rp2040 -I../asp3/arch/arm_m_gcc/common -I../asp3/arch/gcc -I../asp3 -I../asp3/sample -I./gen -I../asp3/tecs_kernel -D TECSGEN -E" -g ./gen tecsgen version 1.7.0 Copyright(c) 2008-2019, TOPPERS project. All rights reserved. make[1]: Entering directory '/home/JaneDoe/toppers/build' ruby ../asp3/cfg/cfg.rb --pass 1 --kernel asp -I. -I../asp3/include -I../asp3/target/raspberrypi_pico_gcc -I../asp3/arch/arm_m_gcc/rp2040 -I../asp3/arch/arm_m_gcc/common -I../asp3/arch/gcc -I../asp3 -I../asp3/sample -I./gen -I../asp3/tecs_kernel --api-table ../asp3/kernel/kernel_api.def --symval-table ../asp3/kernel/kernel_sym.def --symval-table ../asp3/arch/arm_m_gcc/common/core_sym_v6m.def \ -M objs/cfg1_out_c.d ../asp3/target/raspberrypi_pico_gcc/target_kernel.cfg ../asp3/sample/sample1.cfg /home/JaneDoe/.rbenv/versions/3.1.2/lib/ruby/3.1.0/csv.rb:1433:in `initialize': no implicit conversion of Hash into String (TypeError) from /home/JaneDoe/.rbenv/versions/3.1.2/lib/ruby/3.1.0/csv.rb:1433:in `open' from /home/JaneDoe/.rbenv/versions/3.1.2/lib/ruby/3.1.0/csv.rb:1433:in `open' from /home/JaneDoe/toppers/asp3/cfg/pass1.rb:180:in `block in ReadSymvalTable' from /home/JaneDoe/toppers/asp3/cfg/pass1.rb:174:in `each' from /home/JaneDoe/toppers/asp3/cfg/pass1.rb:174:in `ReadSymvalTable' from /home/JaneDoe/toppers/asp3/cfg/pass1.rb:909:in `Pass1' from ../asp3/cfg/cfg.rb:712:in `<main>' make[1]: *** [Makefile:358: cfg1_out.timestamp] Error 1 make[1]: Leaving directory '/home/JaneDoe/toppers/build' make: *** [Makefile:224: all] Error 2 |
コンフィギュレータ(ITRONのタスクやメールボックスなどの静的生成)が失敗する。
⇒ make が失敗する。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
$ rbenv install 2.7.2 Downloading ruby-2.7.2.tar.bz2... -> https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.bz2 Installing ruby-2.7.2... BUILD FAILED (Ubuntu 22.04 using ruby-build 20220630-4-gda94a64) Inspect or clean up the working tree at /tmp/ruby-build.20220707134146.17019.dV0Cyf Results logged to /tmp/ruby-build.20220707134146.17019.log Last 10 log lines: linking shared-object fiddle.so make[2]: Leaving directory '/tmp/ruby-build.20220707134146.17019.dV0Cyf/ruby-2.7.2/ext/fiddle' ripper.y: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics linking shared-object ripper.so make[2]: Leaving directory '/tmp/ruby-build.20220707134146.17019.dV0Cyf/ruby-2.7.2/ext/ripper' make[1]: Leaving directory '/tmp/ruby-build.20220707134146.17019.dV0Cyf/ruby-2.7.2' make: *** [uncommon.mk:295: build-ext] Error 2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
$ sudo apt show libssl-dev Package: libssl-dev Version: 3.0.2-0ubuntu1.6 Priority: optional Section: libdevel Source: openssl Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel@alioth-lists.debian.net> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 7959 kB Depends: libssl3 (= 3.0.2-0ubuntu1.6) Suggests: libssl-doc Conflicts: libssl1.0-dev Homepage: https://www.openssl.org/ Download-Size: 2081 kB APT-Manual-Installed: yes APT-Sources: http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf Packages Description: Secure Sockets Layer toolkit - development files This package is part of the OpenSSL project's implementation of the SSL and TLS cryptographic protocols for secure communication over the Internet. . It contains development libraries, header files, and manpages for libssl and libcrypto. N: There is 1 additional record. Please use the '-a' switch to see it |
Ubuntu 22.04 には OpenSSL 3 しか存在しないため Ruby 3.1 未満のバージョンはビルドできない問題
1 |
$ ssh-copy-id <アカウント名>@<接続先> |
1 |
$ ssh-copy-id ubuntu@192.168.1.4 |
CUI (Character User Interface) の文字列入力や補完を便利にするためのC言語のライブラリ
クロス開発ツールの命名ルール
gcc-<MPU name>-<Platform>-<ABI>
続きを読む