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