サーバ更新その3
recpt1で録画いけたー。しかしこれ、ぐぐると出てくる手順だけでは、configureでlibarib25、gmakeでpt1_ioctl.hが見つからんがな。。。一応貼っとく。
$ fetch http://hgotoh.jp/wiki/lib/exe/fetch.php/documents/freebsd/freebsd-019-recpt1_20170514.tar.gz $ tar xzf freebsd-019-recpt1_20170514.tar.gz $ cd recpt1 $ ./autogen.sh Generating configure script and Makefiles for recpt1. Running aclocal ... Running autoheader ... Running autoconf ... $ LDFLAGS=-L/usr/local/lib ./configure --enable-b25 checking for gcc... no checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for create_arib_std_b25 in -larib25... yes checking for log10 in -lm... yes checking for pthread_kill in -lpthread... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h $ gmake CPPFLAGS='-I../driver -I/usr/local/include' LDFLAGS=-L/usr/local/lib revh="`git rev-list HEAD | wc -l 2> /dev/null`"; \ if [ -n "$revh" ] && [ "$revh" != "0" ] ; then \ echo "const char *version = \"rev.$revh by stz2012\";" > version.h; \ else \ echo "const char *version = \""c8688d7d6382_with_http_server_RC4 by stz2012"\";" > version.h; \ fi fatal: Not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). cc -MM recpt1.c decoder.c mkpath.c tssplitter_lite.c recpt1core.c recpt1ctl.c recpt1core.c -I../driver -I/usr/local/include > .deps cc -O2 -g -pthread -I../driver -I/usr/local/include -c -o recpt1.o recpt1.c cc -O2 -g -pthread -I../driver -I/usr/local/include -c -o decoder.o decoder.c cc -O2 -g -pthread -I../driver -I/usr/local/include -c -o mkpath.o mkpath.c cc -O2 -g -pthread -I../driver -I/usr/local/include -c -o tssplitter_lite.o tssplitter_lite.c cc -O2 -g -pthread -I../driver -I/usr/local/include -c -o recpt1core.o recpt1core.c cc -L/usr/local/lib -o recpt1 recpt1.o decoder.o mkpath.o tssplitter_lite.o recpt1core.o -lpthread -lm -larib25 cc -O2 -g -pthread -I../driver -I/usr/local/include -c -o recpt1ctl.o recpt1ctl.c recpt1ctl.c:86:43: warning: format specifies type 'int' but the argument has type 'key_t' (aka 'long') [-Wformat] fprintf(stderr, "Pid = %d\n", key); ~~ ^~~ %ld 1 warning generated. cc -L/usr/local/lib -o recpt1ctl recpt1ctl.o recpt1core.o -lm cc -O2 -g -pthread -I../driver -I/usr/local/include -c -o checksignal.o checksignal.c cc -L/usr/local/lib -o checksignal checksignal.o recpt1core.o -lpthread -lm $