2008年4月30日の日記の1番目の記事へのコメント

Mercurial入れてみた

今更ですが,T60にも入れてみました.ビルドするところで下記のエラーが出たので・・・

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPI
C -I/usr/local/include/python2.5 -c hgext/inotify/linux/_inotify.c -o build/temp
.linux-i686-2.5/hgext/inotify/linux/_inotify.o
hgext/inotify/linux/_inotify.c:172: error: 'IN_ONLYDIR' undeclared here (not in
a function)
hgext/inotify/linux/_inotify.c:173: error: 'IN_DONT_FOLLOW' undeclared here (not
 in a function)
hgext/inotify/linux/_inotify.c:174: error: 'IN_MASK_ADD' undeclared here (not in
 a function)
hgext/inotify/linux/_inotify.c: In function 'define_consts':
hgext/inotify/linux/_inotify.c:266: 警告: passing argument 3 of 'define_const' m
akes integer from pointer without a cast
hgext/inotify/linux/_inotify.c:267: 警告: passing argument 3 of 'define_const' m
akes integer from pointer without a cast
hgext/inotify/linux/_inotify.c:268: 警告: passing argument 3 of 'define_const' m
akes integer from pointer without a cast
error: command 'gcc' failed with exit status 1

hgext/inotify/linux/_inotify.c に以下を加えて適当に逃げ.本当は sys/inotify.h の代わりに linux/inotify.h をincludeした方がいいのかな?

#define IN_ONLYDIR              0x01000000
#define IN_DONT_FOLLOW          0x02000000
#define IN_MASK_ADD             0x20000000
#define IN_ISDIR                0x40000000
#define IN_ONESHOT              0x80000000

お名前:  メールアドレス(省略可):
メールアドレスも表示されます
ここに名前その他を書いてはいけません: ここにメールアドレスその他を書いてはいけません:

2008年4月30日の日記の1番目の記事へのコメント

中の人情報

名前:
nosuke (のすけ)
メール:
sasugaanijaのgmail.com
「の」は「@」みたいな
関連リンク:

カレンダー

2008年4月
    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 29 30      

<<先月分

翌月分>>

最新の10件のエントリ

最近の10件のコメント

過去ログ