今日のAVM
SCV(SystemC Verification. Standard)がFreeBSDでコンパイルできない。
ドキュメント通りに../configureを行うと、FreeBSDなんてサポートしてないぜ hahahaってメッセージがでる。しょうがないので、今までと同様にlinuxとだまして先に進めるも、gcc3.4なんてサポートしないよ、常識で考えてとか、strstreamが無いぜとか、shに-h なんてオプション無いよとか、いっぱい問題がある。
Configureだけじゃなくて、Makefileもちょこちょこ書き換えることでgccによるコンパイルが走ったが、それでもエラーが出る。Cソースにパッチを当てないといけないレベルなので、かなり躊躇する。
../../../src/scv/scv_init_seed.cpp: In function `long long unsigned int _scv_default_global_init_seed(long unsigned int)':
../../../src/scv/scv_init_seed.cpp:77: error: aggregate `timeval tp' has incomplete type and cannot be defined
../../../src/scv/scv_init_seed.cpp:78: error: aggregate `timezone dummy1' has incomplete type and cannot be defined
../../../src/scv/scv_init_seed.cpp:79: error: `gettimeofday' undeclared (first use this function)
../../../src/scv/scv_init_seed.cpp:79: error: (Each undeclared identifier is reorted only once for each function it appears in.)
gmake[3]: *** [scv_init_seed.o] ・ィ・鬘シ 1
gmake[2]: *** [all-recursive] ・ィ・鬘シ 1
エラーはこんな感じで、型宣言が合ってないんだと思う。
googleで探してみたら、普通にportsになっていた。使わさせていただきます。
The comments to this entry are closed.


Comments