このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 9 / 昨日: 0
総計: 900
- Dokuwiki.fl8.jp(248)
- 13 CentOS6メール設定(14)
- 02 ProFTPD(12)
- 34 UnboundでHA構成(11)
- FreeBSD カーネル再構築(11)
最近の更新
このページへのアクセス
今日: 9 / 昨日: 0
総計: 900
久しぶりにslコマンドをインストールしてみた。
今はソースがgitに上がってた
# git clone https://github.com/mtoyoda/sl.git # cd sl # make # cp ./sl /usr/bin/
make でエラー。
[root@fl8 sl]# make gcc -O -Wall -o sl sl.c -lncurses sl.c:41:20: error: curses.h: No such file or directory sl.c: In function ‘my_mvaddstr’: sl.c:62: error: ‘ERR’ undeclared (first use in this function) sl.c:62: error: (Each undeclared identifier is reported only once sl.c:62: error: for each function it appears in.) sl.c:64: warning: implicit declaration of function ‘mvaddch’ sl.c:65: error: ‘OK’ undeclared (first use in this function) sl.c: In function ‘main’: sl.c:92: warning: implicit declaration of function ‘initscr’ sl.c:94: warning: implicit declaration of function ‘noecho’ sl.c:95: warning: implicit declaration of function ‘curs_set’ sl.c:96: warning: implicit declaration of function ‘nodelay’ sl.c:96: error: ‘stdscr’ undeclared (first use in this function) sl.c:96: error: ‘TRUE’ undeclared (first use in this function) sl.c:97: warning: implicit declaration of function ‘leaveok’ sl.c:98: warning: implicit declaration of function ‘scrollok’ sl.c:98: error: ‘FALSE’ undeclared (first use in this function) sl.c:100: error: ‘COLS’ undeclared (first use in this function) sl.c:102: error: ‘ERR’ undeclared (first use in this function) sl.c:110: warning: implicit declaration of function ‘getch’ sl.c:111: warning: implicit declaration of function ‘refresh’ sl.c:114: warning: implicit declaration of function ‘mvcur’ sl.c:114: error: ‘LINES’ undeclared (first use in this function) sl.c:115: warning: implicit declaration of function ‘endwin’ sl.c: In function ‘add_sl’: sl.c:139: error: ‘ERR’ undeclared (first use in this function) sl.c:140: error: ‘LINES’ undeclared (first use in this function) sl.c:143: error: ‘COLS’ undeclared (first use in this function) sl.c:158: error: ‘OK’ undeclared (first use in this function) sl.c: In function ‘add_D51’: sl.c:183: error: ‘ERR’ undeclared (first use in this function) sl.c:184: error: ‘LINES’ undeclared (first use in this function) sl.c:187: error: ‘COLS’ undeclared (first use in this function) sl.c:199: error: ‘OK’ undeclared (first use in this function) sl.c: In function ‘add_C51’: sl.c:223: error: ‘ERR’ undeclared (first use in this function) sl.c:224: error: ‘LINES’ undeclared (first use in this function) sl.c:227: error: ‘COLS’ undeclared (first use in this function) sl.c:239: error: ‘OK’ undeclared (first use in this function) make: *** [sl] Error 1