Ubuntu :: Old Kernel Compile Errors Resurface
Mar 2, 2010
I un-installed all packages that I downloaded and removed all references to the attempted kernel and I thought it was over. Today I tried to install xubuntu-desktop and the install exits with a dpkg errros that refers to that old custom kernel attempt. I run dpkg as instructed (see below):
[code]...
I cannot run apt-get until I try to figure out where this error is.
View 1 Replies
ADVERTISEMENT
Nov 29, 2010
i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file
View 4 Replies
View Related
May 29, 2011
I am trying to compile OpenCV 2.0 with ffmpeg (with x264) support on my Ubuntu 11.04 64-bit machine. (Since I want to use the binaries provided by other developers, I have to use opencv 2.0 version)
I followed the guide from: [URL] to compile x264 and ffmpeg manually, and succeeded.
Then I followed the guide in the INSTALL file provided by the OpenCV 2.0 package. I use CMake to configure and generate them, and use "make" command to try compiling. However, I got the following error report, which haunted me for almost half a week.
Code:
Linking CXX static library ../../lib/libhighgui_pch_dephelp.a
[ 71%] Built target highgui_pch_dephelp
Scanning dependencies of target pch_Generate_highgui
[ 71%] Generating _highgui.h
[ 71%] [COLOR="rgb(65, 105, 225)"]Generating
[Code].....
View 7 Replies
View Related
Aug 19, 2011
I have played around with Fedora for a few years and recently switched to Ubuntu. I am installing VMWare Workstation version 7.1.0 from a retail packaged CD. When I attempt to install VMWare Workstation and VMWare Player I get the following error:
Aug 15 16:24:54.826: app-3078788800| Your GCC version: 4.5
Aug 15 16:24:54.837: app-3078788800| Your GCC version: 4.5
Aug 15 16:24:54.889: app-3078788800| Trying to find a suitable PBM set for kernel 2.6.38-10-generic.
Aug 15 16:24:54.895: app-3078788800| Trying to find a suitable PBM set for kernel 2.6.38-10-generic.....
Aug 15 16:24:56.163: app-3078788800| Failed to compile module vmmon!
I tried installing the patch for kernal 2.6.38-8 found here - [URL] - but it did not resolve the issue. Is there a patch for kernal 2.6.38-10?
I also found this posting for the same problem: [URL]. I followed the following instructions as advised in the post . . .
sudo apt-get update
sudo apt-get install make
sudo apt-get install gcc
Then enter:
uname -r
My kernel was: 2.6.38-10-generic
sudo apt-get install build-essential linux-headers-2.6.38-10-generic
Now run the vmware-install.pl script.
Everything ran without error. However, I continue to get the same error. Another post suggested uninstalliung and reinstalling the software, but this had no affect either. Another post suggested that after running the above update to them run the /usr/bin/vmware-config.pl script. However I do not seem to have the vmware-config.pl in my /usr/bin directory. I checked the various VMWARE directories in /etc and the /tmp/vmware-root directories but no vmware-config.pl
View 2 Replies
View Related
Nov 1, 2010
I have a machine with X-Fi Titanium sound card. Im getting the following errors when trying to compile the driver.
[Code]...
View 3 Replies
View Related
Jan 31, 2010
I've been trying to compile and install different terminal emulators:Eterm, aterm, and libAfterImage for urxvt.
I've been getting all these errors, and it seems odd to me. I did some fiddling awhile back enabling KMS with my radeon, install custom packages for xf86-ati, mesa, and libdrm. Could that or some other fiddling have broken these dependencies?
Here is an excerpt, with the full error log attached and here:url
Code:
In file included from libungif/../xwrap.h:5,
from libungif/../asim_afterbase.h:23,
from libungif/../afterbase.h:36,
from libungif/gif_hash.h:24,
from libungif/gif_lib_private.h:5,
code....
View 1 Replies
View Related
Mar 1, 2011
As part of an assignment, our class was given a small set of c++ classes which are compiled using a makefile. As part of the assignment, I have created a namespace and saved in it a .cpp file. The functions, constants and typedefs from the namespace are now used in one of the original files, and so I added an <#include MyFile.cpp> to the file I modified, in addition to a using MyNamespace;
When I try to use the original makefile, the compiler gives a lot of errors about multiple definitions of every function in the namespace. What do I need to do to resolve this? Do I need to change the makefile or one of the files themselves? I am new to Linux programming and makesfiles.
View 2 Replies
View Related
May 15, 2010
I'm trying to compile ardour 2.8.7 from source and the compile got past the dependencies and everything else fine but it stopped at one point with these errors
[code]...
I have no experience compiling python. I would not like to install from a package as the one with ubuntu is wrongly compiled and so are many others which are hosted I have heard the only way to make the problems with packaged versions stop is by compiling ardour yourself so I would still like to go ahead with it.
View 6 Replies
View Related
Jan 24, 2009
I am new to CENTOS (5.2) and more importantly new to linux. Any time I try to gcc compile something, it always throws random errors. I yum installed development-tools which is what I have seen other threads suggest but that did not solve the issue. I still get the same errors. I cannot find a common error among the many things I have attempted to compile.
Here is my most recent file for an example made when trying to compile up-imapproxy :
gcc -g -O2 -I. -I./include -c -o src/icc.o src/icc.c
gcc -g -O2 -I. -I./include -c -o src/main.o src/main.c
src/main.c: In function "int main(int, char**)":
src/main.c:618: error: invalid conversion from *void* to *void* (*)(void*)
src/main.c:618: error: initializing argument 3 of int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)
src/main.c:646: error: invalid conversion from int* to socklen_t*
src/main.c:646: error: initializing argument 3 of int accept(int, sockaddr*,socklen_t*)
src/main.c:675: error: invalid conversion from void* to void* (*)(void*)
src/main.c:675: error: initializing argument 3 of int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)
make: *** [src/main.o] Error 1
View 3 Replies
View Related
Apr 21, 2010
Trying to install virtualbox in F12 but fails when recompiling kernel module. Output of vbox-install log is:
Attempting to install using DKMS
removing old DKMS module vboxdrv version 3.1.6
Deleting module version: 3.1.6
completely from the DKMS tree.
Creating symlink /var/lib/dkms/vboxdrv/3.1.6/source ->
/usr/src/vboxdrv-3.1.6
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.32.11-99.fc12.i686.PAE cannot be found
at
/lib/modules/2.6.32.11-99.fc12.i686.PAE/build or /lib/modules/2.6.32.11-99.fc12.
code....
View 6 Replies
View Related
Jun 8, 2010
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
configure: warning: flex versions supported for regeneration of the Zend/PHP parsers:
[code]....
View 4 Replies
View Related
Jun 10, 2010
First, I'm trying to cross compile mono 2.6.4 so that it will run on Freescale Embedded Linux for a PowerPC CPU. My host machine is running Fedora 13 on an x86. Freescale provides a copy of the Linux Target Image Builder (LTIB) that has been pre-configured for the particular board I'm using, and LTIB seems to be able to help with the cross compilation of other stuff--you can add in your own packages to be built and included in your newly-built Linux image.
Mono depends on pkg-config and glib-2, so I have selected them in the LTIB package selection config. I've also added a new package for mono that builds mono-2.6.4 from the source tar (after the other deps have also been built).
I'm having a problem getting the glib-2.24.0 package libraries created. Basically they appear to build and link ok, but then libtool runs and errors out claiming it has a syntax error! (numerous wths followed...)
Here is LTIB's temporary build script for only the glib2 package:
Code:
Here is the output when building the glib2 package (configure + make):
Code:
Build path taken because: directory build, build key set, no prebuilt rpm,
View 7 Replies
View Related
Oct 21, 2010
It seems with the newer linux headers, two functions changed their names slightly and caused a crash when attempting to build the Asus-provided USB-N13 drivers.
I'm still in the middle of getting the device to work, but actually compiling the driver was a major problem for me and others I've seen that complained of the breakage in 10.10.
Here's the fix:
Within the include/os/rt_linux.h and os/linux/rt_usb_util.c files, the usb_buffer_alloc and usb_buffer_free functions are part of an internal macro. These functions do not exist anymore and are replaced by the usb_alloc_coherent and usb_free_coherent respectively. Input parameters did not change, just the names.
The macro is defined in rt_linux.h and the functions are used in a symbol export within rt_usb_util.c. Simply renaming the functions should allow it to build.
As I said, I'm still in the process of getting the wireless to work, just wanted to let everyone know of the quick fix.
This issue will probably be addressed with a macro fix somewhere eventually.
#define usb_alloc_coherent(a, b, c, d) usb_buffer_alloc(a, b, c, d)
#define usb_free_coherent(a, b, c, d) usb_buffer_free(a, b, c, d)
View 3 Replies
View Related
Feb 24, 2010
I want to compile a custom kernel, because I need a path for a device. Here is what I've done:
Code:
$ cd /media/work/temp/
$ apt-get build-dep --no-install-recommends linux-image-$(uname -r)
$ apt-get source linux-image-$(uname -r)
$ cd linux-2.6.31
[Code].....
View 1 Replies
View Related
Apr 13, 2010
Has anyone successfully compiled Symantec AV Autoprotect against the current Ubuntu Kernel?
I am using the kernel 2.6.24-27-generic. I'm following these instructions for Symantec Autoprotect: http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2009081214270148
and when I run the "build.sh" I receive the error message code...
Is there another option or really what am I doing wrong?
View 2 Replies
View Related
Oct 28, 2010
I'm using xubuntu 10.10 on usb, and i compile a new kernel but just i cannot access it. If I used harddisk instead of usb, simply, i can select my new kernel version in grub screen. However, there is no grub when booting from usb. So i cannot any selection.how can i reach the new kernel, when using xubuntu on usb?
View 2 Replies
View Related
Aug 16, 2011
I am new to Linux Kernel. I want to disable branch prediction in kernel and recompile for my research purpose. Can anyone point me to clear instructions on where i can find the kernel config file in ubuntu and steps to recompile the updated kernel
View 1 Replies
View Related
Jan 5, 2010
I'm testing ubuntu karmic koala and would like to try it with the 2.6.33 kernel. Do I have to compile my own or is there one available somewhere?
View 4 Replies
View Related
Jan 15, 2010
I upgraded to Ubuntu 10.04 2.6.32-10-generic today. After a succesful update that fixed a couple of nagging problems on my laptop (nice work guys) I started VMware Workstation. I got the expected "Before you can run VMware, several modules must be compiled..."
The compile errors out and points to the setup log. I have searched and found several very similar posts all relating to build-essential or kernel-headers not being installed. I have verified both are installed and up to date.
Here's the important part of the log:
Code:
Jan 15 17:39:16.079: app-139708855981824| Trying to find a suitable PBM set for kernel 2.6.32-10-generic.
Jan 15 17:39:16.080: app-139708855981824| Building module vmmon.
[Code]....
View 4 Replies
View Related
Feb 23, 2010
I'm trying to build kernel 2.6.33-rc8 according to the documentation here: [URL] , but at a late stage in the compilation, I'm encountering the following error:
Code:
/usr/bin/make -f ./debian/rules debian/stamp/binary/pre-linux-image-2.6.33-rc8-custom
make[1]: Entering directory `/root/src/linux-2.6.33-rc8'
====== making target debian/stamp/install/linux-image-2.6.33-rc8-custom [new prereqs: ]======
This is kernel package version 11.015.
[Code].....
View 7 Replies
View Related
May 28, 2010
I've about 5.5GB of free space....whenever I try to compile the kernel my system runs out of space...says zero bytes remaining maybe I din't configure it that well I cant exactly figure out which drivers/modules I need in order to obtain a working kernel.
View 8 Replies
View Related
Aug 5, 2010
Trying to compile Kernel 2.6.35 on Ubuntu 9.10 (2.6.31-14-generic).
got: The UTS Release version in include/linux/version.h""
does not match current version:
"2.6.35-xxx"
Please correct this
make[1]:***[debian/stamp/install/linux-image-2.6.35-xxx] Error 2
make[1]:***leaving directory `/usr/src/linux-2.6.35'
make:*** [kernel_image] Error 2
Can any one tell me what should I do? Is this Ok for using the compiled vmlinux image?where can I find the correstponding initrd file if this kernal compile is Ok?
View 1 Replies
View Related
Oct 14, 2010
I wanna compile tha kernel which is old one.how to do that.
View 8 Replies
View Related
Apr 29, 2011
I compiled kernel-2.6.32-71.24.1 on 32-bit rhel6, but there is no kvm.ko. what if I want to use kvm on 32-bit rhel6.
Steps to Reproduce:
1. install kernel-2.6.32-71.24.1.el6.src.rpm
2. rpmbuild -ba kernel.spec
3. find /root/rpmbuild/BUILD/kernel-2.6.32-71.24.1.el6/linux-2.6.32-71.24.1.el6.i686/-name kvm.ko
Actual results:
not found kvm.ko
View 1 Replies
View Related
Feb 22, 2010
I just got my hands on a IBM Thinkpad T40 with a broken M$ WinXP. I used one of my old Kubuntu Intrepid LiveCDs. When I entered Virtual Console 1, I discovered that the kernel spams my session with errors, forcing me to use KDE Konsole. Later, I discovered that the LiveCD does not install due to read errors, and decided to install LFS. LFS still has that problem, which prevents me from directly booting into it (I don't have X yet, and I can't do a lot on the console with my display getting spammed),
[code]...
View 2 Replies
View Related
Mar 5, 2010
I get the error
Code:
make[1]: Leaving directory `/usr/src/linux-2.6.33'
test ! -e scripts/package/builddeb || mv -f scripts/package/builddeb scripts/package/builddeb.kpkg-dist
[code]....
View 9 Replies
View Related
Apr 5, 2011
How can I install or compile this driver in ubuntu kernel.
View 5 Replies
View Related
Dec 16, 2010
Trying to compile the 2.6.36.2 kernel. Its not the first kernel I've compiled, but I've run into a problem I've not come accross before.
While compiling I get this error.
[Code]....
Looks like the headers sys/eventfd.h and linux/virtio_rng.h haven't been selected in my .config file. I just copied my old config from the last kernel I built. This was a while ago (2.6.30), but I thought I'd give it a go anyway.
what config option they are under or what I can do to get rid of this error?
View 2 Replies
View Related
Dec 11, 2010
Recently i downloaded the stable version of kernel from kernel.org then i extract the tarball to /usr/src path , then after i complile the kernel for fuse and ext4 modulescommand which i use is mention below
[root@localhost linux-2.6.36.1]# make menuconfig
[root@localhost linux-2.6.36.1]# make
[root@localhost linux-2.6.36.1]# make modules
[code]...
View 2 Replies
View Related
May 24, 2010
I want to boot into a new kernel like 2.6.34 over the default 2.6.18 RH/centos kernel. i know you cant copy the .config file and use it since there are so many changes so what is the best way to compile the kernel and get the right settings?
View 1 Replies
View Related