const24

linux build problem

Discussion created by const24 on Aug 1, 2009
Latest reply on Aug 3, 2009 by const24

Project build successfuly and work in winXP, but in linux i have error

In file included from /usr/local/atibrook/sdk/include/brook/brook.h:55,
                 from src/brookgenfiles/sw_atistream.cpp:8:
/usr/local/atibrook/sdk/include/brook/CPU/brt.hpp:596: warning: unused parameter ‘i’
/usr/local/atibrook/sdk/include/brook/CPU/brt.hpp:601: warning: unused parameter ‘f’
/usr/local/atibrook/sdk/include/brook/CPU/brt.hpp:623: warning: unused parameter ‘s’
/usr/local/atibrook/sdk/include/brook/CPU/brt.hpp:623: warning: unused parameter ‘idx’
/usr/local/atibrook/sdk/include/brook/CPU/brt.hpp:628: warning: unused parameter ‘index’
In file included from /usr/local/atibrook/sdk/include/brook/brook.h:57,
                 from src/brookgenfiles/sw_atistream.cpp:8:
/usr/local/atibrook/sdk/include/brook/CPU/brtintrinsic.hpp: In function ‘float imp_sign(float)’:
/usr/local/atibrook/sdk/include/brook/CPU/brtintrinsic.hpp:348: warning: dereferencing type-punned pointerwill break strict-aliasing rules
/usr/local/atibrook/sdk/include/brook/CPU/brtintrinsic.hpp: In function ‘double imp_sign(double)’:
/usr/local/atibrook/sdk/include/brook/CPU/brtintrinsic.hpp:353: warning: dereferencing type-punned pointerwill break strict-aliasing rules
In file included from src/brookgenfiles/sw_atistream.cpp:9:
src/brookgenfiles/sw_atistream_gpu.h: At global scope:
src/brookgenfiles/sw_atistream_gpu.h:5: error: no matching function for call to ‘brook::KernelDesc::technique(brook::Technique)’
/usr/local/atibrook/sdk/include/brook/KernelDesc.h:188: note: candidates are: brook::KernelDesc& brook::KernelDesc::technique(brook::Technique&
src/sw_atistream.br:5: warning: unused parameter ‘__brt_isreduce’
src/sw_atistream.br:32: warning: unused parameter ‘queryLength’
src/sw_atistream.br:32: warning: unused parameter ‘indexofg_isActual’
src/sw_atistream.br:81: warning: unused parameter ‘__brt_isreduce’
make[1]: *** [_tmp/obj/release/sw_atistream.o] Error 1
make[1]: Leaving directory `/home/const/projects/ugene1/trunk/src/plugins/smith_waterman2'
make: *** [release] Error 2

But brook's samples build and work fine.

Outcomes