General :: Including Lzo Compressor Library In Source Code?
Apr 11, 2010
I have downloaded lzo-2.00 package and have installed it linux kernel 2.6 version. Now I want to include the lzo library in the source code of linux.According to the instructions given in the package, I have copied the files (minilzo.c,minilzo.h,lzoconf.h,lzodefs.h)in the source directory(/mm),added minilzo.o to my Makefile and have included(#include minilzo.h) from my program. But when I compile the kernel,I am getting errors.
Errors:
->limits.h:No such file or directory
->assert.h:No such file or directory
Ubuntu 9.10 is the running system. I need to install a library (LibRaw-0.8.5) from source code as the version I need is not present in the repositories. So far, I managed to extract the .tar.gz, but now I have no clue how to install it and make it work with DigiKam... I tried the sudo make install stuff, but it seems I don't do it right or what
i try to compile a c code which uses SSH library,but i get this error
Code: libssh.h: No such file or directory
i searched and i found that This happens if a library used for linking is not present in the standard library directories used by gcc.
By default, gcc searches the following directories for header files:
/usr/local/include/ /usr/include/
and the following directories for libraries:
/usr/local/lib/ /usr/lib/
i update my libssh from libssh-0.4.2-1.fc13.i686 to libssh-0.4.6-1.fc13.i686, and there are files called libssh.so.4 and libssh.so.4.0.2 in /ur/lib, but i still can't compile it with this command:
I wanted to auto mount one of my drives at the startup so I installed PySDM. After that every time I login to Ubuntu every single drive is mounted with a new name, for example one of my drives was located at /media/Local Disk and now it's /media/sda6, so every link to that drive including my audio library is gone. I unchecked the 'auto-mount at startup' option in PySDM and it didn't solve anything, I even uninstall PySDM and it everything is mounted as soon as Ubuntu starts up. The funny thing is there is a 10GB recovery drive on my hard disk that was never visible in Ubuntu and I was happy with that, but now it is mounted on startup too, with the name of sda1. What should I do?
i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting
I am trying to install the tightVNC on my imac.It expects X install; I see that X11 in my utility. I think it is ok, but the instruction states to install it on /usr/bin/. Which is correct?Then I need to have ~JPEG and ~zlib to place in /usr/bin/ or inside of certain folders to use.To make sure it is ok; I put both of them in both of the indicated places. I assume it is going to work.Now, I am suppose to build and install. I am not sure how to do it with the command "xmkmf" and not sure where to run this command.I am doing all of this in terminal.
I'm running spamassassin and want to install the fuzzyocr module for it. One of the dependencies of fuzzyocr is 'giflib' but according to the fuzzyocr page, it needs to be patched before I install it, with a patch which they supply on the fuzzyocr download page. I've tried to install the patch and get the following error.
I've created a GUI for my voip software wherein i'm using the source code of linphone 3.3.2 for video and all protcol stuffs . It is like i've got my own gtk GUI instead of the linphone's glade . Hope you get the picture of what i'm doing . I would like to know how to compile the source code since because i do not know about make files and stuffs . Kindly help me solve this .
i want to see the source code of different commands .how they are working ??for ex why ls is listing all the files and directory .what code is written for ls so that it is listing like this.where the source code is kept by the os
I just tried installing mysql on my vps from source code. after untaring the source code. when i tried to configure the ./configure script. iwas not able to find it. it is not there.
I am in urgent requirement of free simulation source code for Intra-domain. Mobility Management in OMNETT++ or NS2. Where I can post queries for OMNETT++.
Can any body tell me where can i found the source code for echo command. so that i can download it such that it can help me for further studies on echo command
while installing the linux-2.6.31 source code in fedora 12 I got an error: [root@pratyush linux-2.6.31]# make install sh /home/parag/rpmbuild/SOURCES/linux-2.6.31/arch/x86/boot/install.sh 2.6.31 arch/x86/boot/bzImage System.map "/boot" /sbin/new-kernel-pkg: line 277: /sbin/mkinitrd: No such file or directory mkinitrd failed
I'm trying to get the source code of a web page from linux command line and save it to a file. I googled for it but didn't get any info. I'm not sure if wget can do this.
i was told by some members to use svn to view nagios plugins source code. i'm currently use nagios checker, i want to view the source code behind it, i want to see how the codes behind the nagios checker work.
[URL]
i've installed subversion using sudo apt-get install subversion, after that followed by this command: svn co [URL] subversion but when i issued the second command i got this:
Code:
... Setting up subversion (1.6.5dfsg-1ubuntu1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place
I vaguely remember that there is a way to store instructions for vim in my file (like tabstop width etc). I'm not speaking of settings in vimrc but of storing those settings with in the file to be edited. That way the tabstop has always the right width even if I transfer this file to another computer. However, I can't remember what the magic word is so that vim picks up those settings when loading the file.