Monthly Archive: January 2014

warning: jni.h: No such file or directory 0

warning: jni.h: No such file or directory

Problem: Layer_Connections.h:2:17: warning: jni.h: No such file or directory In file included from Layer_Connections.cpp:4: Layer_Connections.h:15: error: ‘JNIEXPORT’ does not name a type Solution: jni.h is part of standard java distribution. Either you don't have...

Git guide for basic git operations 0

Git guide for basic git operations

Adding a file for a commit $> git add <filename> Removing a file from git $> git rm <filename> Remove file from the to be committed list of files $> git reset HEAD <filename> Remove...

Find out what package provides a specific file 0

Find out what package provides a specific file

For example you want to install lsb_killproc but do not want to install the whole 100mb-suite of redhat-lsb. Use this command: $> yum whatprovides */lsb_killproc You then figure out that redhat-lsb-core is the more...

error: bp cannot be used in asm here 0

error: bp cannot be used in asm here

  The odds are that you are trying to compile 32-bit assembly code in 64-bit program. The solution is to compile for 32-bit or re-write your assembly for 64-bit. To compile for 32-bit, use...