hns - 日記自動生成システム - Version 2.19.9

先月 2014年02月 来月
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 28
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2014年02月28日(金) 旧暦 [n年日記] [更新:"2014/03/02 20:11:47"]

#1 [Cygwin] Cygwin and Network drive

RAM disk:

最近は RAM disk を使っている。特に何が良いか、ということもなく、試している状況。
Cygwin で RAM disk へ cvs co (9分)
RAM disk Performance
で、この場合に、(例えば) G: にマウントされ、cygwin からは /cygdrive/g で見える。これは ssh で他の計算機から入った時にも同じ。

Network Drive:

同じように(だと思いたいが) Samba でマウントした状態で、 フォルダにマウスを持って行き、右クリックすると、 「ネットワークドライブ割当」が出て、これで例えば Z: で見えるようになる。
しかし、である。この Z: は、Cygin Terminal の窓からは /cygdrive/z で見える のに、他の計算機から ssh で入った窓では
makoto@m08 
$ ls /cygdrive/ c d e f g $ export LANG=C makoto@m08
$ ls /cygdrive/z ls: cannot access /cygdrive/z: No such file or directory makoto@m08
$
と見えない。これは何故か。見えるようにする方法はあるのか。

冗談のような解決方法:

  • Cygwin installer から util -> screen を入れる
  • Cygwin Terminal で screen を起動
  • ssh から入った窓で screen -x

#2 [cygwin][pkgsrc] textproc/libxslt

cd ../libexslt && /usr/pkg/bin/gmake libexslt.la

gmake[3]: Entering directory
'/cygdrive/g/WRKOBJDIR/textproc/libxslt/work/libxslt-1.1.28/libexslt'

  CCLD   libexslt.la

*** Warning: This system can not link to static lib archive
    /cygdrive/g/WRKOBJDIR/textproc/libxslt/work/.buildlink/lib/libgcrypt.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system can not link to static lib archive
    /cygdrive/g/WRKOBJDIR/textproc/libxslt/work/.buildlink/lib/libgpg-error.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system can not link to static lib archive
    /cygdrive/g/WRKOBJDIR/textproc/libxslt/work/.buildlink/lib/libgpg-error.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
.libs/crypto.o:crypto.c:(.text+0x116): undefined reference to `gcry_check_version'
.libs/crypto.o:crypto.c:(.text+0x116): relocation truncated to
fit: R_X86_64_PC32 against undefined symbol
`gcry_check_version'

.libs/crypto.o:crypto.c:(.text+0x486): undefined reference to `gcry_cipher_open'
.libs/crypto.o:crypto.c:(.text+0x486): relocation truncated to
fit: R_X86_64_PC32 against undefined symbol `gcry_cipher_open'

misc/screen:

m08@makoto 15:51:01/140228(..misc/screen)% bmake
=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> Skipping vulnerability checks.
WARNING: No /var/db/pkgdbdir/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkgdbdir fetch-pkg-vulnerabilities'.
===> Building for screen-4.0.3nb5
...
gcc -c -I. -I.    -O -I/usr/pkg/include/ncurses screen.c
In file included from screen.c:241:0:
extern.h:149:14: error: conflicting types for 'execvpe'
 extern void  execvpe __P((char *, char **, char **));
              ^
In file included from /usr/include/sys/types.h:20:0,
                 from screen.c:33:
/usr/include/sys/unistd.h:57:9: note: previous declaration of 'execvpe' was here
 int     _EXFUN(execvpe, (const char *__file, char * const __argv[], char * const __envp[] ));
         ^
*** Error code 1

Stop.
bmake: stopped in /cygdrive/g/WRKOBJDIR/misc/screen/work/screen-4.0.3
*** Error code 1

/usr/include/sys/unistd.h:54:9: note: expected 'char * const*'
but argument is of type 'const char **'
 int     _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] ));
         ^

window.c:1421:31: warning: assignment discards 'const'
  qualifier from pointer target type [enabled by default]
    for (i = 1; (shargs[i + 1] = args[i]) != NULL; ++i)
                               ^

window.c:1423:4: warning: passing argument 3 of 'execve' from
  incompatible pointer type [enabled by default]
    execve(DefaultShell, shargs, env);
    ^
In file included from /usr/include/sys/types.h:20:0,
                 from window.c:24:

/usr/include/sys/unistd.h:54:9: note: expected 'char * const*'
  but argument is of type 'const char **'
 int     _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] ));
         ^
*** Error code 1

Stop.
bmake: stopped in /cygdrive/g/WRKOBJDIR/misc/screen/work/screen-4.0.3
*** Error code 1



最近の日記
2024年07月03日
kicad oddity
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)