Hi Luis, If you can't get the old STP working I'd recommend using the upstream version of STP, which is maintained and actually accepts patches!
https://github.com/stp/stp It works fine with KLEE but you need a relatively new version of CMake and static boost libraries so you might need to install these. Thanks, Dan. On 26 November 2013 11:46, Urmas Repinski <urri...@hotmail.com> wrote: > Hi Luis. > > I had reached several errors during my klee installation, and, fortunately, > i have script, that allows to install klee on 64-bit Linux Mint 13 OS with > no errors, attaching script to the letter. > > During step 3 i had made following modifications: > > STP="stp" > # change revision number to 1180 on 64 bit system, 940 on 32 bit system > # --with-fpic configure option is required on 64 bit machines > > echo " Package $STP" > svn co -r 1180 > https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp > $INSTALLDIR/$STP > (cd $INSTALLDIR/$STP; ./scripts/configure --with-fpic ; make > OPTIMIZE=-O2 CFLAGS_M32= install ; ulimit -s unlimited ) > > I used revision 1190 of STP instead of 940 for 64 bit machine, used > CFLAGS_M32=install flag for make, used flag --with-fpic for configure. > > Hope this helps. > > Urmas. > > > ________________________________ > Date: Mon, 25 Nov 2013 15:52:37 -0700 > From: lumi.marti...@gmail.com > To: klee-...@keeda.stanford.edu > Subject: [klee-dev] Problems compiling KLEE/STP > > > Hi guys, > I'm having trouble compiling STP as instructed by > http://ccadar.github.io/klee/GetStarted.html > (step 3) > > I am running in a Ubuntu 12.04 LTS Linux 64-bit machine. > > After failing to build with my default toolchain GCC 4.6.3, I installed > version 3.4.6 of gcc, gcc-base, g++, cpp, libstdc++6 via: > $ wget http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/*.deb > (I put each separately) > $ sudo dpkg -i *.deb > > I didn't update binutils nor make. > > I ran... > $ ./scripts/configure --with-prefix=/home/(myname)/stp > --with-cryptominisat2, and... > $ make CC=gcc-3.4 CXX=g++-3.4 OPTIMIZE=-O2 CFLAGS_M32= > > But still I get lots of warnings and an error that I print below: > > In file included from Gaussian.h:32, > from Logger.cpp:36: > PackedMatrix.h: In member function `MINISAT::PackedRow > MINISAT::PackedMatrix::iterator::operator*()': > PackedRow.h:224: error: `MINISAT::PackedRow::PackedRow(uint32_t, uint64_t*)' > is private > PackedMatrix.h:141: error: within this context > Logger.cpp: In member function `void > MINISAT::Logger::end(MINISAT::Logger::finish_type)': > Logger.cpp:375: warning: cast to pointer from integer of different size > make[2]: *** [Logger.o] Error 1 > make[2]: Leaving directory > `/home/(myname)/llvm-2.9/stp/src/sat/cryptominisat2' > make[1]: *** [cryptominisat2] Error 2 > make[1]: Leaving directory `/home/(myname)/llvm-2.9/stp/src/sat' > make: *** [all] Error 2 > > Any ideas of what this error is and how to resolve it? > > Help is truly appreciated. > > Thanks, > Luis > > > _______________________________________________ klee-dev mailing list > klee-dev@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/klee-dev _______________________________________________ klee-dev mailing list klee-dev@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/klee-dev