標準ファームへの依存を減らし、 追従の必要を減らす形でハックキットを作り直したので、 インストールしてテストする。
続いて、、、
LS-GL なので
Windows 向けプリンタサーバ
はスキップして、
開発環境のインストール。
nino:~# apt-get install make gcc libc6-dev Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: binutils cpp cpp-4.1 gcc-4.1 libssp0 linux-kernel-headers Suggested packages: binutils-doc cpp-doc gcc-4.1-locales manpages-dev autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.1-doc glibc-doc make-doc-non-dfsg Recommended packages: libmudflap0-dev The following NEW packages will be installed: binutils cpp cpp-4.1 gcc gcc-4.1 libc6-dev libssp0 linux-kernel-headers make 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 9293kB of archives. After unpacking 33.1MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ftp2.jp.debian.org etch/main binutils 2.17-3 [2485kB] Get:2 http://ftp2.jp.debian.org etch/main cpp-4.1 4.1.1-21 [2006kB] Get:3 http://ftp2.jp.debian.org etch/main cpp 4:4.1.1-15 [11.6kB] Get:4 http://ftp2.jp.debian.org etch/main libssp0 4.1.1-21 [4224B] Get:5 http://ftp2.jp.debian.org etch/main gcc-4.1 4.1.1-21 [403kB] Get:6 http://ftp2.jp.debian.org etch/main gcc 4:4.1.1-15 [5062B] Get:7 http://ftp2.jp.debian.org etch/main linux-kernel-headers 2.6.18-7 [1986kB] Get:8 http://ftp2.jp.debian.org etch/main libc6-dev 2.3.6.ds1-13etch4 [2012kB] Get:9 http://ftp2.jp.debian.org etch/main make 3.81-2 [381kB] Fetched 9293kB in 12s (757kB/s) Selecting previously deselected package binutils. (Reading database ... 11886 files and directories currently installed.) Unpacking binutils (from .../binutils_2.17-3_arm.deb) ... Selecting previously deselected package cpp-4.1. Unpacking cpp-4.1 (from .../cpp-4.1_4.1.1-21_arm.deb) ... Selecting previously deselected package cpp. Unpacking cpp (from .../cpp_4%3a4.1.1-15_arm.deb) ... Selecting previously deselected package libssp0. Unpacking libssp0 (from .../libssp0_4.1.1-21_arm.deb) ... Selecting previously deselected package gcc-4.1. Unpacking gcc-4.1 (from .../gcc-4.1_4.1.1-21_arm.deb) ... Selecting previously deselected package gcc. Unpacking gcc (from .../gcc_4%3a4.1.1-15_arm.deb) ... Selecting previously deselected package linux-kernel-headers. Unpacking linux-kernel-headers (from .../linux-kernel-headers_2.6.18-7_arm.deb) ... Selecting previously deselected package libc6-dev. Unpacking libc6-dev (from .../libc6-dev_2.3.6.ds1-13etch4_arm.deb) ... Selecting previously deselected package make. Unpacking make (from .../archives/make_3.81-2_arm.deb) ... Setting up binutils (2.17-3) ... Setting up cpp-4.1 (4.1.1-21) ... Setting up cpp (4.1.1-15) ... Setting up libssp0 (4.1.1-21) ... Setting up gcc-4.1 (4.1.1-21) ... Setting up gcc (4.1.1-15) ... Setting up linux-kernel-headers (2.6.18-7) ... Setting up libc6-dev (2.3.6.ds1-13etch4) ... Setting up make (3.81-2) ... nino:~#
nino:~# cd /tmp nino:/tmp# echo 'main() { printf("Why DO NOT you hack LS-GL?\n");}'>a.c nino:/tmp# cc a.c a.c: In function 'main': a.c:1: warning: incompatible implicit declaration of built-in function 'printf' nino:/tmp# ./a.out Why DO NOT you hack LS-GL? nino:/tmp#
|
← 新型 LS-GL に ハックキット 2.1(6)Windows 向けファイルサーバ |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ 新型 LS-GL に ハックキット 2.1(8)ftp サーバ、dhcp サーバ |