diary/Kojima/2009-12-03
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[diary/Kojima]]
・学研の「科学」/「学習」が休刊
[[することになった:http://www.gakken.co.jp/news/hd/200912...
小学館の「小学5/6年生」も休刊するそうなので、少子化の流れ...
毎月、学研のおばちゃんが届けてくれる「科学」をワクワクし...
今から思えば、文字通り子供だましだっただろうけど、酸とア...
最近だとゲームボーイとかの学習ソフトの方がマルチメディア...
個人的には、スパコンに予算を付けるよりも、こっちを支援す...
#comment
・libuuid
最近のPlamoでは、libuuidがe2fsprogs由来の libuuid.so.1 系...
どうも Linux用のソフトウェアの多くは e2fsprogs 由来...
ただ、configure スクリプトとかで libuuid の存在のみをチェ...
それが e2fsprogs 由来か OSSP uuid 由来かまではチェックし...
リンク時に uuid_generate() が無い、などというエラーになる...
気になったので少し追いかけてみたところ、OSSP uuid では /u...
/* workaround conflicts with system headers */
#define uuid_t __vendor_uuid_t
#define uuid_create __vendor_uuid_create
#define uuid_compare __vendor_uuid_compare
#include <sys/types.h>
#include <unistd.h>
#undef uuid_t
#undef uuid_create
#undef uuid_compare
みたいな定義をして、uuid_t の定義はシステム提供のインクル...
uuid_t を定義している部分がないので、/usr/include/uuid.h ...
一方、e2fsprogs 由来の libuuid では /usr/include/uuid/uui...
#include <sys/types.h>
#ifndef _WIN32
#include <sys/time.h>
#endif
#include <time.h>
typedef unsigned char uuid_t[16];
のような形で uuid_t を明示的に定義している。
OSSP uuid でも configure 時に --with-dce を指定して DCE(D...
/usr/include/uuid_dce.ht というヘッダファイルを作って、そ...
/* DCE 1.1 uuid_t type */
typedef struct {
#if 0
/* stricter but unportable version */
uuid_uint32_t time_low;
uuid_uint16_t time_mid;
uuid_uint16_t time_hi_and_version;
uuid_uint8_t clock_seq_hi_and_reserved;
uuid_uint8_t clock_seq_low;
uuid_uint8_t node[6];
#else
/* sufficient and portable version */
unsigned char data[16];
#endif
} uuid_t;
typedef uuid_t *uuid_p_t;
みたいな定義をしているので、どうも OSSP uuid は、デフォル...
システム側に uuid_t の定義があるものと考えているけど、標...
うまく噛みあってない感じ。
手元でビルドしているパッケージはたいてい e2fsprogs 由来の...
パッケージに組み合わせるか、static link してしまうくらい...
#comment
終了行:
[[diary/Kojima]]
・学研の「科学」/「学習」が休刊
[[することになった:http://www.gakken.co.jp/news/hd/200912...
小学館の「小学5/6年生」も休刊するそうなので、少子化の流れ...
毎月、学研のおばちゃんが届けてくれる「科学」をワクワクし...
今から思えば、文字通り子供だましだっただろうけど、酸とア...
最近だとゲームボーイとかの学習ソフトの方がマルチメディア...
個人的には、スパコンに予算を付けるよりも、こっちを支援す...
#comment
・libuuid
最近のPlamoでは、libuuidがe2fsprogs由来の libuuid.so.1 系...
どうも Linux用のソフトウェアの多くは e2fsprogs 由来...
ただ、configure スクリプトとかで libuuid の存在のみをチェ...
それが e2fsprogs 由来か OSSP uuid 由来かまではチェックし...
リンク時に uuid_generate() が無い、などというエラーになる...
気になったので少し追いかけてみたところ、OSSP uuid では /u...
/* workaround conflicts with system headers */
#define uuid_t __vendor_uuid_t
#define uuid_create __vendor_uuid_create
#define uuid_compare __vendor_uuid_compare
#include <sys/types.h>
#include <unistd.h>
#undef uuid_t
#undef uuid_create
#undef uuid_compare
みたいな定義をして、uuid_t の定義はシステム提供のインクル...
uuid_t を定義している部分がないので、/usr/include/uuid.h ...
一方、e2fsprogs 由来の libuuid では /usr/include/uuid/uui...
#include <sys/types.h>
#ifndef _WIN32
#include <sys/time.h>
#endif
#include <time.h>
typedef unsigned char uuid_t[16];
のような形で uuid_t を明示的に定義している。
OSSP uuid でも configure 時に --with-dce を指定して DCE(D...
/usr/include/uuid_dce.ht というヘッダファイルを作って、そ...
/* DCE 1.1 uuid_t type */
typedef struct {
#if 0
/* stricter but unportable version */
uuid_uint32_t time_low;
uuid_uint16_t time_mid;
uuid_uint16_t time_hi_and_version;
uuid_uint8_t clock_seq_hi_and_reserved;
uuid_uint8_t clock_seq_low;
uuid_uint8_t node[6];
#else
/* sufficient and portable version */
unsigned char data[16];
#endif
} uuid_t;
typedef uuid_t *uuid_p_t;
みたいな定義をしているので、どうも OSSP uuid は、デフォル...
システム側に uuid_t の定義があるものと考えているけど、標...
うまく噛みあってない感じ。
手元でビルドしているパッケージはたいてい e2fsprogs 由来の...
パッケージに組み合わせるか、static link してしまうくらい...
#comment
ページ名: