oof2 build

Sekcia: Konfigurácia 29.12.2007 | 10:09
Avatar chatpall   Používateľ
Potrebujem poradit. Snazim sa spojazdnit jeden program ale nedari sa:
peto@sia89:~/oof2-2.0.4$ python setup.py build_shlib
running build_shlib
running makedepend on .C files.
running makedepend on .swg files.
Testing if blas links correctly
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -Ibuild/temp.linux-i686-2.5/SRC -ISRC -c tmp5AaWur/blastest.c -o tmp5AaWur/blastest.o
gcc -pthread tmp5AaWur/blastest.o -Lbuild/temp.linux-i686-2.5/shlib -llapack -lblas -lm -o tmp5AaWur/blastest
removing 'tmp5AaWur' (and everything under it)
building 'oof2common' library
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -Ibuild/temp.linux-i686-2.5/SRC -ISRC -c ./SRC/common/ooferror.C -o build/temp.linux-i686-2.5/./SRC/common/ooferror.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from ./SRC/common/ooferror.C:21:
SRC/common/tostring.h:29:23: error: strstream.h: No such file or directory
SRC/common/tostring.h: In function ‘std::string to_string(const TYPE&)’:
SRC/common/tostring.h:32: error: ‘ostrstream’ is not a member of ‘std’
SRC/common/tostring.h:32: error: expected `;' before ‘os’
SRC/common/tostring.h:33: error: ‘os’ was not declared in this scope
error: command 'gcc' failed with exit status 1

Kazdopadne postupujem podla Readme, ale inac robim to ako cvicena opica. Nejaku radu od starsieho a skusenejsieho. Dakujem
NERUSTE TENTO UCET!!!
    • Re: oof2 build 29.12.2007 | 13:32
      Avatar Dare_devil Debian, OpenSuse  Používateľ
      Pise to tam ze potrebny subor strstream.h - ktory tostring.h potrebuje pravdepodobne vkladat neexistuje, a upozornuje to na nejake syntakticke chyby v tostring.h pred riadkami 33. neviem ti zial viac povedat
      There is no flag large enough to cover the shame of killing innocent people
      • Re: oof2 build 29.12.2007 | 13:43
        Avatar chatpall   Používateľ
        okej diky
        NERUSTE TENTO UCET!!!