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.

View 3 Replies


ADVERTISEMENT

Programming :: Cmake: Using Find_package(Boost) When FindBoost.cmake Is Not In The Default Location?

Feb 23, 2010

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.

[code]....

View 3 Replies View Related

Ubuntu :: Running CMake - Could Not Find ZLIB

Aug 28, 2010

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!

View 2 Replies View Related

Ubuntu :: TCSH - Running Executable After Compilation

Jun 12, 2010

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...

View 6 Replies View Related

Ubuntu :: Installing OpenCV - File Internal CMake Error

Mar 18, 2010

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.

View 3 Replies View Related

Ubuntu :: Compilation Tcl Error / Link With Tcl?

Jun 17, 2010

I am compiling a package which use Tcl and got results as follow:

/usr/bin/ld: cannont find -ltcl8.4
collect2: ld returned 1 exit status

how to link with tcl? which file to link? it is a file like libtcl.a ?

View 1 Replies View Related

OpenSUSE :: Getting A Weird Compilation Error With Malloc.h?

Aug 3, 2010

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

View 4 Replies View Related

Debian :: Bluetooth Menace - Compilation Error ?

Jan 11, 2011

I'm running debian lenny, 2.6.26.4 kernel.

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?

View 2 Replies View Related

Software :: Error: Was Not Declared In This Scope Compilation?

May 27, 2010

im getting the following compilation error when trying to compile a file under /proc using 5.5 RHEL

[code]
* procfs1.c - create a "file" in /proc
*
*/
#include <linux/module.h> /* Specifically, a module */
#include <linux/kernel.h> /* We're doing kernel work */
#include <linux/proc_fs.h> /* Necessary because we use the proc fs */
#define procfs_name "helloworld"
code....

View 3 Replies View Related

Programming :: Dereferencing Pointer Error During Compilation?

Sep 29, 2010

I have got following code from a book:

Code:
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <string.h>
#include <stdlib.h>
#define PORTNUMBER 12345

[Code]...

View 6 Replies View Related

Slackware :: Samba 4 Alpha14 Compilation Error On 64-13.1

Jan 27, 2011

I'm trying to compile Samba 4 on Slackware64.

I used tarbal version alpha14, but make fails before end of the process saying:

Code:

What I'm doing wrong from the error message?

Complete configure and make output can be foung here:
[url]
[url]

View 2 Replies View Related

Debian Configuration :: NVidia Driver : Error During The Compilation

Apr 2, 2010

I follow a french tutorial to install the nvidia pilots. So, i did :

$ su
# apt-get install module-assistant
# m-a prepare
# m-a clean nvidia-kernel
# m-a a-i -i nvidia-kernel-source

[Code]....

View 6 Replies View Related

OpenSUSE Hardware :: FGLRX/Kernel 2.6.34.7-0.3.1 - Compilation Error ?

Oct 1, 2010

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?

View 6 Replies View Related

Ubuntu :: RR1740 Driver Module Compilation Error?

Nov 3, 2010

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'

[code]....

View 9 Replies View Related

Software :: Gcc 4.4.3 Compilation Error / Amd00.linuc.elite.in?

Apr 3, 2010

i am trying to compile gcc 4.4.3 and getting errors:some of my config lig file output is :

## --------- ##
## Platform. ##
## --------- ##
hostname = amd00.linuc.elite.in
uname -m = x86_64
uname -r = 2.6.9-42.0.2.EL_lustre.1.4.7.3smp
code....

View 4 Replies View Related

Programming :: Bizarre Compilation Error / Was Not Declared In This Scope?

Feb 26, 2010

Well, either it's bizarre or I'm going crazy. Here is a student's very simple linked-list implementation.

The problem is simply that when the list class is named "link", g++ complains:

Code:
testlink.cc: In function int main():
testlink.cc:5: error: expected `;' before l
code....

View 5 Replies View Related

Debian Multimedia :: Mozilla-js Error During Gnome-shell Compilation?

Nov 27, 2010

I'm having this checking for mozilla-js >= 1.9.2 ... configure: error: mozilla-js >= 1.9.2 is required Error during phase configure of gjs: Error running ./autogen.sh --prefix /home/kornicameister/gnome-shell/install --libdir '/home/kornicameister/gnome-shell/install/lib64' --disable-static --disable-gtk-doc *** [16/32]

View 1 Replies View Related

Ubuntu :: Make Menuconfig Returns An Error In Kernel Compilation

Jul 12, 2010

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.

View 2 Replies View Related

Ubuntu Installation :: VMWare Vsock Module Compilation Error?

Oct 14, 2010

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

[code]....

View 2 Replies View Related

Red Hat / Fedora :: Make Error During Compilation Of Tinyproxy 1.8.1 Missing Packages?

Mar 13, 2010

Linux mirage 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:10:27 EDT 2009 i686 i686 i386 GNU/Linux

I'm trying to compile tinyproxy for two days now on Redhat and can't seem to figure out whats missing here. The make bombs at:

Code: make[3]: Entering directory
GEN tinyproxy.conf.5
a2x: ERROR: xmllint --nonet --noout --valid /backup/builds/tinyproxy-1.8.1/docs/man5/tinyproxy.conf.xml returned non-zero exit status 4

[Code].....

View 4 Replies View Related

Red Hat / Fedora :: Compilation Error In Module With ARM9 For IO - Invalid Option `64'

Dec 13, 2010

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

#make -C /lib/modules/`uname -r`/build M=`pwd` modules
make -C /home/shekhar/lpc3250/ltib/rpm/BUILD/linux-2.6.27.8 M=`pwd` modules
make[1]: Entering directory
`/home/shekhar/lpc3250/ltib/rpm/BUILD/linux-2.6.27.8'
CC [M] /home/shekhar/samsung_lcd/gpio/char.o
cc1: error: invalid option `64'

[code]....

View 1 Replies View Related

Software :: Error: Agent.h: No Such File Or Directory Compilation Terminated

Feb 22, 2011

i try to compile my SD_APP.cc but i encountered a error, how do i resolve this?

In file included from SD_APP.cc:1: SD_APP_HDR.h:6: fatal error: agent.h: No such file or directory compilation terminated.

View 3 Replies View Related

Software :: Hash Map Compilation Error - Template Argument Invalid

Feb 10, 2011

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

View 2 Replies View Related

Ubuntu :: Fatal Error: Iostream.h: No Such File Or Directory Compilation Terminated While Compiling C++ Code

Dec 9, 2010

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

View 1 Replies View Related

Programming :: Perl Compilation Error "Cannot Locate Unicode/String.pm In @INC"

Mar 9, 2010

I get an error when typing perl build.pl: Code: Cannot locate Unicode/String.pm in @INC

View 11 Replies View Related

Ubuntu :: Compilation Error "lboost_date_time-gcc42-mt"?

Jun 18, 2010

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

View 1 Replies View Related

Ubuntu :: Mysql 5.5.6-rc Error During 'make' Part Of Compilation Of Mysql V5.5.6rc?

Sep 26, 2010

getting foll error during 'make' part of compilation of mysql v5.5.6rc

Code:
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
code....

View 9 Replies View Related

Debian :: Running Same Process Multiple Times(from Another Account) / An Instance Of Newsbeuter Is Already Running Error?

Aug 6, 2010

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.

View 1 Replies View Related

Programming :: How To Set RPATH In CMake

Jun 2, 2010

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:

Code:
ADD_EXECUTABLE(heloooo.wt
hello.C
)
SET(CMAKE_SKIP_BUILD_RPATH FALSE)

[Code]....

What am i doing wrong, I don't want to use the LD_LIBRARY_PATH, but to get the executable find the library with rpath when run?

View 7 Replies View Related

Ubuntu :: CMake Can't Find OpenGL?

Oct 4, 2010

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.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved