2012/9/1 Anatoly Shtalinberg <[email protected]>: > Hello. Hi!
> ./configure - all is ok > make - fail > > > > $ make > make -C src all > make[1]: Entering directory `/usr/local/src/ocaml-soundtouch-0.1.7/src' > make[2]: Entering directory `/usr/local/src/ocaml-soundtouch-0.1.7/src' > ocamldep soundtouch.mli > ._bcdi/soundtouch.di > ocamldep soundtouch.ml > ._d/soundtouch.d > make[2]: Leaving directory `/usr/local/src/ocaml-soundtouch-0.1.7/src' > make[2]: Entering directory `/usr/local/src/ocaml-soundtouch-0.1.7/src' > g++ -c -DPIC -fPIC -I/usr/local/include/soundtouch -fPIC -Wall > -DCAML_NAME_SPACE \ > -I'/usr/local/lib/ocaml' \ > soundtouch_stubs.cc -o soundtouch_stubs.o > ar rcs libsoundtouch_stubs.a soundtouch_stubs.o > ocamlc.opt -c soundtouch.mli > ocamlc.opt -c soundtouch.ml > ocamlmklib -L/usr/local/lib \ > -o soundtouch_stubs soundtouch_stubs.o > -lSoundTouch -lstdc++ \ > > /usr/bin/ld: /usr/local/lib/libSoundTouch.a(SoundTouch.o): relocation > R_X86_64_32S against `a local symbol' can not be used when making a > shared object; recompile with -fPIC > /usr/local/lib/libSoundTouch.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make[2]: *** [dllsoundtouch_stubs.so] Error 2 > make[2]: Leaving directory `/usr/local/src/ocaml-soundtouch-0.1.7/src' > make[1]: *** [byte-code-library] Error 2 > make[1]: Leaving directory `/usr/local/src/ocaml-soundtouch-0.1.7/src' > make: *** [all] Error 2 > > > > installed on Centos > soundtouch x86_64 1.3.1-1.el5.rf > rpmforge 63 k > soundtouch-devel x86_64 1.3.1-1.el5.rf > rpmforge 46 k > > > > what is a problem ? -fPIC compilation flag needs to be added. You seem to be compiling a rather old version of ocaml-soundtouch, Changes are high that this is fixed in the latest version (0.1.7). Meanwhile, if you really want to compile this version, you should try: CFLAGS="-fPIC" ./configure make Romain ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
