Software :: Armadillo Compilation - Getting Error After Running Cmake
Feb 2, 2011
When trying to compile Armadillo on a computer cluster I get the following error after running "cmake ." (works OK) and "make":
/usr/bin/ld: /share/apps/opt_intel/lib/libblas.a(dgemm.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/share/apps/opt_intel/lib/libblas.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libarmadillo.so.1.0.2] Error 1
make[1]: *** [CMakeFiles/armadillo.dir/all] Error 2
make: *** [all] Error 2
Cmake says it has successfully found BLAS, but there is still a linking problem.
I am attempting to compile some code on a cluster where I do not have root access (and is missing many of the libraries I want), and hence have had to create local builds of the boost and opencv libraries (i.e. in /home/username/usr/local). In particular, my cmake depends on:
Code:
find_package(boost)
which my normal development machine finds in:
Code:
/usr/share/cmake-2.6/Modules/FindBoost.cmake
On the cluster I have a version of FindBoost.cmake at:
Code:
/home/username/cmake_modules
How can I tell CMake to look for FindBoost.cmake in that directory, since neither the cmake file, nor the boost install is in the standard location? I've modified the FindBoost.cmake file to make it search in the locally installed boost libraries.
I'm trying to install .tar.bz2 app. When I run cmake I get this error message: Code: -- Found KDE 4.4 include dir: /usr/include -- Found KDE 4.4 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE): Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindZLIB.cmake:39 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:15 (find_package) Configuring incomplete, errors occurred!
I'm new with linux, and I'm wondering why in order to run executable after compilation I have to type >"./executableName" I want it to type it just like >"executableName" (with no "./") I don't know if this matters but I'm using tcsh for my shell...
I am trying to install opencv on ubuntu. I have been following the directions exactly as given in the readme, and all goes well until I enter sudo make install, and get this error:
CMake Error at cmake_install.cmake:61 (FILE): file Internal CMake error when trying to open file: /home/iochinome/workspace/trunk/opencv/release/install_manifest.txt for writing.
I am getting a weird compilation error with malloc.h/usr/include/malloc.h:86: error: expected ')' before '__size'This is what the code looks like inside malloc.hextern void *(*__morecore) __MALLOC_PMT ((ptrdiff_t __size))When I did some googling, it was stating that ptrdiff_t was not defined; but, it is.#define __malloc_ptrdiff_t ptrdiff_t
I get the error "could not open obex://some_long_MAC_address...please do something..." when I try to browse my samsung using bluetooth.
My phone's service list indicates all but one service item(modem) are present. I can send stuff to it but not the other way round. Someone told me that debian distros have bluetooth problems.
Also, when compiling kernel 2.6.36.5 and 2.6.37-etc, I get the undisputed error concerning the 'lguest' feature. How do I turn it off?
I've been reading about a temporary solution to the kernel/Fglrx issue caused by the last kernel update, but I haven't read about any permanent solution to this issue. Anyone know anything about a permanent solution (new kernel update?, new Fglrx driver?) to this compilation error?
running the latest ubuntu 10.10 desktop i386i followed this guide for reference when building the updated driversall paths and references have been updated to reflect my version of the driveroriginal error during compilation:
DKMS make.log for rr174x-2.4 for kernel 2.6.35-22-generic (i686) Wed Nov 3 01:28:03 EDT 2010 make: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
I'm simply trying to compile a vanilla kernel from Kernel.org, I've done it before, however "make menuconfig" returns an error after I've made my changes to the config file.
Code:
Why is make returning that error? I am using a 64-bit kernel.
I upgraded to 10.10 this morning and VMWare v7.1.2 (build 30145 failed to compile the necessary modules for it to startup. I found a patch that others have had success with here:[URL]
Code: make[1]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic' CC [M] /tmp/vmware-root/modules/vsock-only/linux/af_vsock.o
We are using LPC3250 ARM9 and LTIB for building the Linux 2.6.27.8 We have written some code to access GPIO and was working earlier with opensuse 9.0 We now have fedora 11 32 bit 2.6.30.10-105.2.23.fc11.i686.PAE When we make the program we get following errors we are using GCC3.4.5
I am compiling the code has hash_map getting following error
Code: typedef std::hash_map<uint32_t, CTM_ContextData> contexts_map_t; Compilation Error: /vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:77: error: ISO C++ forbids declaration of 'hash_map' with no type /vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:77: error: typedef name may not be a nested-name-specifier /vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:77: error: expected ';' before '<' token /vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:78: error: 'contexts_map_t' was not declared in this scope /vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:78: error: template argument 1 is invalid /vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:78: error: template argument 2 is invalid /vobs/ims_hss1/ctm/inc/CTM_DidMemContextManager.h:85: error: 'contexts_map_t' does not name a type
whenever i am trying to compile a c++ program i am getting the following error sample.cpp:1: fatal error: iostream.h: No such file or directory compilation terminated
Ya. I'm compiling a program and keep coming across this issue. It worked fine in like 9.04 or 9.10 something like that the last version before I upgraded to 10.04 lucid lynx. Issue is it's unable to find "lboost_date_time-gcc42-mt" full error is:
Code: /usr/bin/ld: cannot find -lboost_date_time-gcc42-mt collect2: ld returned 1 exit status make: *** [*********] Error 1
Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.
This is probably an easy question but somehow I couldn't manage it to work.. I was testing the C++ WT library and I have a CMakeLists.txt file as below:
I'm trying to install Kicad from source but cmake gives me an error:"- Check for installed OpenGL -- not foundCMake Error at CMakeModules/CheckFindPackageResult.cmake:6 (message): OpenGL was not found - it is required to build Kicad "I have an Nvidia video card with the proprietary drivers installed.I also have glut, (glutg3) installed.I don't understand why cmake can't find OpenGL.