2012-03-06 53 views
0

我需要閃電++運行第三方庫,但我不能編譯它。 ./configure命令運行良好,並設置Makefile文件,但是當我使其產生以下錯誤:錯誤安裝閃電++ ++

In file included from ../blitz/array/funcs.h:29:0, 
       from ../blitz/array/newet.h:29, 
       from ../blitz/array/et.h:27, 
       from ../blitz/array-impl.h:2515, 
       from ../blitz/array.h:32, 
       from ../src/globals.cpp:13: 
../blitz/funcs.h: In static member function 'static blitz::Fn_abs<long int>::T_numtype blitz::Fn_abs<long int>::apply(blitz::Fn_abs<long int>::T_numtype1)': 
../blitz/funcs.h:530:14: error: 'labs' is not a member of 'std' 
../blitz/funcs.h:530:14: note: suggested alternative: 
/usr/include/stdlib.h:772:17: note: 'labs' 
make[1]: *** [globals.lo] Error 1 

我遵循的指示,我不明白爲什麼會這樣。我使用的是Ubuntu 11.10和閃電0.9。另外,我嘗試了gcc 4.4和4.6。請在解決方法上幫助noob。

回答