Ubuntu Installation :: Packages Needed For Compiling Module?
May 24, 2011
A friend is running Ubuntu 10.04 on a laptop that uses the Ralink RT5390 chip for wifi which requires compiling and adding a module. My plan is to...
1. download on my 10.04 laptop whatever .dpkg packages are needed to compile a new module,
2. meet at a location that has a good wifi (just in case),
3. connect the two laptops with a cross-over Ethernet cable,
4. download and install the compiling tools + module source on her laptop, and
5. cross my fingers.
So I need to know three things:
1. Which Ubuntu packages must I download to be able to compile a new module? Is "build-essential" enough?
2. Where can I find those packages as .dpkg, so I can install from those offline files instead of fetching them from the Net?
3. To get an Ethernet connection going between the two laptops, do I need to do anything extra on her laptop besides assigning it an IP manually that is in the same range as my laptop?
View 1 Replies
ADVERTISEMENT
May 24, 2011
A friend is running Ubuntu 10.04 on a laptop that uses the Ralink RT5390 chip for wifi which requires compiling and adding a module. My plan is to...
1. download on my 10.04 laptop whatever .dpkg packages are needed to compile a new module,
2. meet at a location that has a good wifi (just in case),
3. connect the two laptops with a cross-over Ethernet cable,
4. download and install the compiling tools + module source on her laptop, I need to know three things:
1. Which Ubuntu packages must I download to be able to compile a new module? Is "build-essential" enough?
2. Where can I find those packages as .dpkg, so I can install from those offline files instead of fetching them from the Net?
3. To get an Ethernet connection going between the two laptops, do I need to do anything extra on her laptop besides assigning it an IP manually that is in the same range as my laptop?
View 1 Replies
View Related
Jan 22, 2011
Fedora 14 I recently went to install some software using the source files.When I ran the command
Code:
./configure
I got a message saying that
Code:
package gthread-2.0 not found
After searching the internet some one had the same problem. I needed to install a package called
Code:
glib2-devel
However, rather that searching the internet.
View 1 Replies
View Related
Jul 27, 2010
I'm running my newly-built minimal slackware-13.1 system and considering install X and fluxbox into it. The problem is, as a minimalist, I want just the packages that needed for X and fluxbox and no more.
View 14 Replies
View Related
Mar 19, 2011
I'm trying to set it up so that I don't have to recompile the driver for my RAID card manually every time there is a kernel upgrade.I found a thread on it, here and a help page here, and it looks like it builds the module fine, but for some reason it's not being inserted into the new kernel, or something. It's like the new kernel doesn't know it exists, even tho modprobe -l shows the newly built module exists (and is in the correct place)Here's the script that I wrote up to get the drivers set up in DKMS:
Code:
#!/bin/bash
set -e
[code]....
View 4 Replies
View Related
Jul 6, 2010
I have just started learning Device driver programming in Linux and am stuck in my first program. Its just to see init_module and cleanup_module calls to use printk and see results using dmesg. program is:
Code:
#define MODULE
#include<linux/module.h>
int init_module(void)
[code].....
View 3 Replies
View Related
May 10, 2011
Code:
yum search tomcat5
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_GB to language list
Matched: tomcat5
jakarta-commons-collections-tomcat5.i686 : Jakarta Commons Collection dependency
: for Tomcat5
struts-webapps-tomcat5.i686 : Sample struts webapps for tomcat5
tomcat5-jasper-javadoc.noarch : Javadoc generated documentation for
[Code]...
From the above what are the packages which should be installed to to get tomcat5 core installed?
View 1 Replies
View Related
Jan 4, 2011
I am trying to figure out how to compile qcserial.c kernel module from the latest kernel source file located in the 2.6.37-rc8 kernel tree. I have installed the sources for my current kernel 2.6.35-24-generic on maverick and it seems that my includes are not in the right place to make the qcserial.c file happy.
I overcame this issue by passing the -I option to gcc that points to the directories that it is looking for. I am currently getting errors while compiling and I was wondering if it is impossible to compile qcserial.c on my current kernel? I am looking to get the diagnostic port and GPS port enabled for my built-in 3G card.
I havent built modules for quite some time and that was on opensuse with the fglrx module.
View 9 Replies
View Related
Sep 25, 2015
I'm having problems to compile XIllybus kernel module. As this guide explains, [URL] ..... (on the top of page 8 of 25) I unpackaged the tar.gz file and compiled the kernel module by typing the make command in the proper path. When I compile the module with make command, I get the following error:
make -C /lib/modules/3.16.0-0.bpo.4-amd64/build SUBDIRS=/home/xillybus/module modules
make: *** /lib/modules/3.16.0-0.bpo.4-amd64/build: No such file or directory. Stop.
make: *** [default] Error 2
/lib/modules/3.16.0-0.bpo.4-amd64/build path does not exist. What does it mean? Should I have to install some kernel packet? www does not work for me.
View 3 Replies
View Related
Mar 13, 2011
I update my last kernl to 2.6.38-rc7 but when I launch VirtualBox, on stdout.The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.38-rc7) or it failed to load. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup.
View 1 Replies
View Related
Apr 3, 2011
I`m trying to compile sources of kernel module which has been written for kernel 2.6.9. There were many changes in kernel headers since then in current kernel sources. I`ve found that old /asm/system.h was moved under architecture dedicated directory /arch/*/include/asm/system.h. Anyway during sources compilation I`m having errors related to kernel sources. It looks like there is something wrong with this /asm/system.h
Code:
../asm/system.h: In function �__cmpxchg�:
../asm/system.h:248: error: expected string literal before �LOCK_PREFIX�
../asm/system.h:254: error: expected string literal before �LOCK_PREFIX�
[code]....
View 3 Replies
View Related
Sep 27, 2010
Actually, I have posted this problem here but I don�t know if is best to ask it here. The problem is that I have upgraded my OS to Slackware 13.1 64 bits, and now, I can�t compile the module RT73 from serialmonkey
There are a lot of similar tutorials explaining the steps for a succesfully installation. I had followed any of them before, and I had no problem never.
But now, I get this error:
Code:
make[1]:Entering directory "/usr/src/linux-2.6.33.4"
Building modules, stage 2
MODPOST 0 modules
make [1]: Leaving directory "/usr/src/linux-2.6.33.4"
rt73.ko failed to build!
make:*** [module] Error 1
On the other hand, in the serialmonkey page they said that the driver was included into the kernel yet, but I don�t know how can I now if I have the driver installed. The true is that my usb doesn�t work.
It�s is a USB D-Link System AirPlus G DWL-G122 Wireless Adapter (rec.C1) [Ralink RT73]
View 4 Replies
View Related
Aug 27, 2014
I'm trying to compile a Linux kernel module called hello-2.c using the command "make -C /lib/modules/$(uname -r)/build M=${PWD} modules" (without the quotes) (which I found online), and the following is the (seemingly successful) output.:
Code: Select allmake: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
However, I don't see a hello-2.ko (in the same folder or anywhere else for that matter). I'm Using Debian GNU/Linux 7.6.
Everything I am doing is within a folder/directory called "thefolder" (without the quotes) in the "/tmp" directory (without the quotes).
Why I can't see a hello-2.ko, and what to do to get it?
View 2 Replies
View Related
Nov 2, 2010
I've never compiled/built/installed any Apache module before, and I just can't seem to get it working on ArchLinux. I got the source code from here: [URL] Then I tried doing this...
Code:
apxs -c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lm -lz mod_auth_mysql.c
And I get this...
Quote:
/usr/share/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -march=x86-64 -mtune=generic -O2 -pipe -DLINU X=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/incl ude -I/usr/include/mysql -c -o mod_auth_mysql.lo mod_auth_mysql.c && touch mod_auth_mysql.slo mod_auth_mysql.c:591:2: error: expected expression before
[code]...
I would eventually like to modify the mod_auth_mysql.c source code so I can append a salt/padding to the end of the hashes (that mod_auth_mysql reads from the database), but I will be happy if I can just install the damn thing.
View 5 Replies
View Related
Apr 20, 2011
Using the rpmbuild to compile the kernel, every time the patches will be applied to the source code. So even if no changes are made to the source code and no patches are added to kernel.spec, the whole kernel will still be recompiled, wasting a lot of time
View 13 Replies
View Related
Sep 12, 2011
I am running openSUSE 11.1 with modified Kernel. While trying to run make on the downloaded driver for the RTL2831 I am getting an error message that I do not full understand. That is:
Code:
linux-2c5j:~/rtl2831-r2 # make
make -C /root/rtl2831-r2/v4l
make[1]: Entering directory `/root/rtl2831-r2/v4l'
No version yet, using 3.0.4-41-desktop
[code]...
I am not sure what is required when the error is "first use this function". How can I use the function T_DIGITAL_TV if I first have to install my driver in order to use the stick?
View 1 Replies
View Related
May 4, 2010
I'm compiling the BlueZ packages on Slackware64-13.0 and bluez.Slackbuild failed to run. I added
Code:
mkdir -p $PKG/lib/udev
immediately before
Code:
cp -a scripts/bluetooth_serial $PKG/lib/udev/bluetooth_serial || exit 1
and now the script runs.I don't know why the /lib/udev directory isn't created earlier in the build process for me, but now it builds cleanly.
View 5 Replies
View Related
Jan 24, 2010
I am in need of some more clear information about compiling and installing various applications in Slackware. I mean, i am not that new in Linux world, but i am not used to having to check for dependencies on my own and making Slackware packages myself. Things i would like to know more about and would be these:
a) is there some magical way you use to find out what dependencies a package has? I would appreciate as much information in this field as much as i can get. As now if i download source of some application i have completely no idea about what it needs from my system to function properly or where to look for this information. I think there should be more "correct way" than goggling for it...
b) I know about nice site SlackBuilds.org that it is, but lets say i want to install application A, and there is written, that application A requires application B, which requires application C, and this one needs application D. So now i have to spend good half of a day getting and compiling dependencies for one application, i mean common there has to be a quicker way to do this... at least some tool that would let me build some kind of ques that would be processed automatically or some kind of trick... So if you know some focuses under your sleeve, then please oh please do share
c) I would also like to know more about optimizing Slackware for boot time and general performance (but it's not that important, there are a lot of walls of text about this in Google world).
View 9 Replies
View Related
Apr 3, 2010
Can someone please tell me what packages are required for compiling source on Slack 13? Something is missing in my box and I get errors, I can't figure out what it is.
View 11 Replies
View Related
Jul 14, 2011
Whenever I boot up Fedora 15 on Virtual Box, I get the message " gnome 3 could not load " and I installed all the packages needed to install Guest Additions, but even when I mounted the file, the ONLY file I could find online that was VMBoxGuestAdditions.iso or something like that, I mounted it, I tried installing, but nope, it gives me an error message that it can't. I have the latest version of VirtualBox and I've been on several forums and looked at many places but I can't fix it. I also have a problem where when I boot it up it says " the system is optimized to support 32 bit but it is currently 64 bit go here and click this to fix it " or something like that. and I can't figure out how to fix it in Virtual Box.
View 1 Replies
View Related
Jul 26, 2010
when I try to install anything using the Ubuntu software centre, I get the following message Requires installation of untrusted packages The action would require the installation of packages from not authenticated sources.
View 1 Replies
View Related
Apr 30, 2010
Whenever I do sudo apt-get or use the Ubuntu Software Center, I can't download anything because a message comes up saying "Action requires installation of untrusted packages: The action would require the installation of packages from not authenticated sources." I've been trying to download GIMP and Thunderbird, so... I dunno what the problem is.
View 8 Replies
View Related
May 22, 2010
Here's a screenie of partitions where Ubuntu is currently installed:[URL]..sda1 is the partition where Windows used to reside - that's why it's flagged as 'boot'. When I nuked Windows, I just left it flagged that way as I figured that's where Grub is installed and didn't want to screw anything up.
I'm about to add a new 1TB drive for Lucid (most likely). I want to move this current drive to the second drive bay so it will become sdb 1,2,3 but keep it functional (at least until I'm convinced that Lucid will work for me). Here are my questions:
Will Lucid find the old Ubuntu install on sdb automatically and give me a choice of dual boot?
Will the old Grub legacy be overwritten? Should I remove the old 'boot' flag or leave it like it is? Do I even need a boot flag on sdb since BIOS is set to boot from sda? Any other tips before I start mucking around in a perfectly functioning system?
View 8 Replies
View Related
Nov 17, 2010
I recently upgraded from F13 to F14 using "preupgrade". This is the first time I've used preupgrade. So far, F14 is running OK. There are some leftovers from F13 and I'm wondering if this is correct.
Q1: There are 176 F13 packages remaining. [alfrugal@localhost Documents]$ rpm -qa | grep fc13 | wc -l 176 Is this OK? FWIW, after the upgrade, I ran "package-cleanup --orphans" as recommended by the "preupgrade" page on the Fedora Project wiki.
Q2: Also, my GRUB menu was correctly updated for F14, but it still contains the three entries it had for F13. Is it normal for the preupgrade process to require the user to clean up the obsolete entries from the GRUB menu?
View 2 Replies
View Related
Sep 21, 2010
How to add packages using X-Window's add/remove packages option in RHEL-5.3 as it shows only the currently installed package and and does not show any thing when we click the button "available packages" ?
View 2 Replies
View Related
Jan 12, 2010
I just got my new ubuntu 9.10 os desktop version installed into my lenovo laptop but then my WiFi is not working. Previously I had a broadcom driver which currently is not functioning with the ubuntu 9.10.
View 2 Replies
View Related
Aug 26, 2011
I'm taking a class this semester on Linux and a Fedora 13 DVD came with the book. Just now I've installed Fedora at home and started the updates. I saw a PAE entry in the updates so I went to the Terminal and typed uname -r and I see that the Fedora 13 DVD installed a PAE kernel on my machine that has only 1 GB of RAM.
Why did it do that?
Can I swap out the PAE kernel for a non-PAE kernel? (edit- I'm a Linux noob so I don't know)
Does it really matter?
After the updates I was going to try to install the proprietary Nvidia driver.
View 4 Replies
View Related
Jan 5, 2010
HOW TO INSTALL PACKAGES IN IT ,IT SHOWS SOME ERROR (Cannot install source packages) OR (No packages were given for installation.)
View 5 Replies
View Related
Mar 11, 2011
I have an old Dell Dimension L933r and would like to boost it with Debian. I wonder if that is possible in your opinion. It right now runs on Windows ME. The computer is 9 or 10 years old. I bought it years ago but have not been using it for the past couple of years. I don't know the specs of this computer unfortunately. I don't know whether it's 32 or 64 bits or what's its architecture. Can you help me locate the right iso image for this hardware? I want to install Squeeze if it's possible.
View 3 Replies
View Related
Feb 19, 2011
I am running the 64-bit version of Fedora 12 on an Intel system. I want to run a particular application that is only available in 32-bit.
How can I get the needed system libraries installed so I can run the application?
View 14 Replies
View Related