General :: Build A Glibc Version For Target Machine's Kernel?
Jan 8, 2010
AFAIK, in addition to implementing the standard C library, glibc provides wrappers for system calls, threading support, and basic application facilities. So because of that, glibc that will be used on my target system should be built based on the kernel version running on my target, right?
Based on the above, I am trying to build a glibc version for my target machine's kernel. However, I don't know to to build a glibc library for a target system and also where on the target's filesystem should be put? In which location Linux will start looking for the libraries required for a program to run (should I create an /etc/ld.so.conf file)?
View 12 Replies
ADVERTISEMENT
Feb 5, 2010
I have a server running Reh Hat Linux 7.3 with kernel 2.4.18. Can i upgrade kernel to version 2.6 and glibc to version 2.5?
View 6 Replies
View Related
Oct 20, 2010
I get the following error message trying to install dazuko on xubuntu 10.04: "headers for target kernel version could not be found" But when I run sudo apt-get install linux-headers-$(uname -r), I get the message that I already installed the headers. My current kernel is 2.6.34-020634-generic
How can I install dazuko withouth having this problem??
View 1 Replies
View Related
Aug 16, 2010
I'm trying to build the glibc-2.3.6 (with debug symbols) for a powerpc system. I need to compile this libraries with gcc 4.1.1 and binutils 2.16.1.
All my tentatives fails and I don't know how to start with the process of building.
View 2 Replies
View Related
Oct 25, 2009
I'm building a Kernel on System A to use on System B. I've followed the walkthrough on [URL], and I get the following rpms:
kernel-debuginfo-common-i686-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-firmware-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAE-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAEdebug-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAEdebug-debuginfo-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAEdebug-devel-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAE-debuginfo-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
kernel-PAE-devel-2.6.30.8-64.hymerfania_dbg.fc11.i686.rpm
What I don't get are any
kernel-headers-<version>.<arch>.rpm
Files. Don't I need them to rebuild modules and drivers on System B? Otherwise, how should I copy my new headers to System B? BTW, System B crashes when I try to build the Kernel on it, that's why I'm building debugger Kernels on System A.
View 2 Replies
View Related
Apr 2, 2010
When I compile my application, I received following error: ERROR: Source object libxml2.so has EABI version 0, but target turbine has EABI version 4. So I need a libxml2 file with ARM EABI version 4. Can I find one from the internet? or does anyone know how to create one?
View 1 Replies
View Related
Nov 13, 2010
In a chroot einvironment i am trying to compile gcc but is says that i need a newer version of glibc, but i have the newest version of it. i think somehow it trys to use the older glibc from the ubuntu install im makeing it on.
View 1 Replies
View Related
Apr 6, 2011
I am trying to install ns2.1b5 on fedora and I am getting the following error:
No rule to make target `VERSION', needed by `gen/version.c'
View 2 Replies
View Related
Mar 22, 2011
I am using Fedora 8. I tried to install ns 2.31. But error came as " No rule to make target "VERSION" needed by gen/version.c".
View 2 Replies
View Related
Jun 11, 2010
Suppose you have glibc 2.5 compiled with kernel headers 2.6.18. Is it safe to run this glibc with Linux kernel 2.6.32? Is it safe to run this glibc with Linux kernel 2.6.9?
View 1 Replies
View Related
May 11, 2010
Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :
[Code]...
View 19 Replies
View Related
Feb 16, 2011
looking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not met: In order to build transmission 2.21.I need libeventnew version of transmission,I need to build libevent-dev >= 2.0.10 and installed first.But I can't get any information about building development files for libevent.
View 1 Replies
View Related
Jun 13, 2011
OS : Oracle Enter Prise Linux 6 (equivalent to RedHat)
I am in process to install oracle 10g on said OS.My process fails and after digging up , I came to know that some of the oracle libraries are compiled on 32-bit architecture and it require glibc-32 bit . also it require for gcc-32 bit.
Now i have downloaded all the required rpm for gcc-32bit . when I try to install glibc and its dependencies , it gives me error that newer version already exist.
How can I install , Gcc-32bit(libgc, libstd-i386 etc) in parallel or standalone?
View 3 Replies
View Related
Apr 5, 2011
how to find what glibc version I have? Our software vendor needs this info so they can send us the right run time.
View 3 Replies
View Related
Mar 31, 2009
I'm new to the yum installation route and am looking forward to getting some experience using it, however, I am working to build a Nagios server through yum and have run into difficulties meeting the dependencies. (I'd previously installed from source on a different server though I'd been warned is a bad thing so I am trying to make nice and go this route but have run into snags right off...) The dependency hurdle I'm trying to overcome is getting to GLIBC2_4 from my version of 2.3.
I've read through a number of posts where people have had issues getting glib updated or gcc installed correctly. This is pretty much a new installation of CentOS (VM cloned off an earlier install that was taken just after going through the GUI setup). As far as I have gotten is 'yum update' which updated the kernel and openssl.
View 2 Replies
View Related
Apr 4, 2010
This questions pertains mainly to building a brand new GNU toolchain on one machine for deployment on fs of another machine that has no toolchain installed. I understand the machine on which GNU toolchain is going to be built as the 'build' machine. I understand the machine on which GNU toolchain is going to be deployed as the 'host' machine. I understand the machine on which the code generated by the new GNU toolchain is going to be run as the 'target' machine.
Q1.) Is there a fixed 'rule', 'matrix' or 'table' somewhere which tells me exactly which versions of 'binutils' and 'libc' are required by a particular version of GCC? I.e. something along the lines of:
- gcc ver.'k' can be built using gcc ver.'m'(or later) with binutils ver.'i' and libc ver. 'j'
- gcc ver.'k' will operate with binutils ver.'t' and libc ver.'r'(or later)
Is there some 'rule of thumb' / 'heuristics' giving me the above version requirements for the building and operating GCC, or is this information somehow implied or derived systematically. Where can I find more about the above?
Q2) I assume that the libraries have no dependencies on any underlying software other than the system calls provided by the kernel. Furthermore it appears that the libraries are not too sensitive about the kernel version they run on (I found this out from experience). Therefore I could build the libraries on some build machine and place them on the bare naked newly set up host file system without regard to any other prerequisite SW components?
Q3) During operation, do GCC and its various components place system calls directly to the kernel or via library calls (or both)? In other words I am trying to understand conceptually if GCC requires 'Glibc' for its own operation or not?
Q4) During operation, do the 'binutils' components place system calls directly to the kernel or via library calls (or both)? In other words I am trying to understand conceptually if the 'binutils' require 'Glibc' for their operation or not? ( Of course it is clear to me that when GCC is operating it will need libraries and headers to resolve object references in the target code it produces, but that would be a >different< question).
View 5 Replies
View Related
Nov 27, 2010
I am trying to compile the kernel version 2.6.20-15 on my Linux 10.10 with 2.6.35-22 kernel. Additionally, this is my assignment.After I download kernel, extract it and create a new .config file for the new kernel I am trying to command;make-kpkg clean fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers.after the second command I get an error an it says "nothing to be done" but I expect to have some .deb files for the new kernel. In addition this I have added a new system call to the kernel 2.6.20-15.
View 1 Replies
View Related
May 17, 2011
I will like to build a Linux Kernel, how easy is it to build one?
View 9 Replies
View Related
Jun 29, 2010
We are working on 2.6.28. We have a requirement that we should boot using a non compressed kernel image. how can I build a non compressed kernel?
View 1 Replies
View Related
Jun 27, 2010
I'm building the 2.6.34 kernel and I notice some interesting options, which you may want to consider including in the build, if you are building it:
Code:
Code:
View 3 Replies
View Related
Mar 11, 2011
How to build uimage from my kernel linux-2.6.10_mvl401 ,then need to port on my arm PXA 300 through TFTP . What all steps I require to do.In which configuration file i should make changes for ethernet for boot
View 6 Replies
View Related
Jun 29, 2010
I'd like to create a tar file on my machine to distribute software to other machines which are all alike (including, usernames, groupnames, etc). I need to create certain files and directories with specific owners on the target machine. In order to do that, I use
Code:
tar --create --owner=someone --group=somegroup --file package.tar files. However, for this to work, someone must be in my /etc/passwd and somegroup must be in my /etc/group. Is there a way to fake this so I don't have to create a bunch of users only for that purpose?
View 3 Replies
View Related
Apr 29, 2010
I use ltib for mpc8272ads. How to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y'?
View 3 Replies
View Related
Mar 30, 2010
I have just started to work with BeagleBoard and built the Linux kernel (version 2.6.30.5) and download to the board and it start. I have also connected to the board over serial to Putty terminal.
Now I want to connect to the Beagle Board using USB instead of serial and I am looking for some info on how to do this.
My goal would be to connect to board over USB and then be able to:
* Download my own binary files/programs from PC over USB to BeagleBoard
* Communicate over USB instead of UART/Putty to get log and execute commands
Question:
How do I build the Linux kernel with USB support, meaning what settings should be ticked in menuconfig? Or is it already included?
How do I enable USB OTG in menu config?
I assume I would need some driver on my PC with Windows XP to connect to my BeagleBoard over USB. Were can I find this USB driver?
View 1 Replies
View Related
Oct 26, 2010
I've been working to get gcc up and running on a new install of Fedora 13. glibc-devel had dependencies upon installation where it required glibc and glibc-common, both 2.12.1-3. No problem, found both at rpm dot pbone dot net. However, when I try to install the following circular dependency results... it doesn't matter the order of install.
Code:
[root AT localhost gcc_install]# rpm -ivh glibc-common-2.12.1-3.x86_64 .rpm
error: Failed dependencies:
glibc = 2.12.1-3 is needed by glibc-common-2.12.1-3.x86_64
[code]....
View 5 Replies
View Related
Apr 29, 2010
how to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y' I use ltib for mpc8272ads
View 1 Replies
View Related
Aug 4, 2011
Since new kernel 3.0 update I cannot rebuild vmware modules
Quote:
sudo vmware-modconfig --console --install-all Unable to initialize kernel module configuration
how to do that. Where do I insert the "CONFIG_LOCALVERSION" line.
Quote:
Same here. This seems to be due to the kernel version being "3.0" instead of "3.0.0". Recompiling the Kernel (and all modules based on it, e.g. nvidia) with
CONFIG_LOCALVERSION=".0-ARCH" allows me to compile the modules and run VMware.
View 4 Replies
View Related
Jun 24, 2011
I notice that these two packages contain the same files and uninstalling glibc-i18n doesn't uninstall the internationalization files, because they are also in the glibc package. Is this a mistake or is this normal or is there a reason for it ? I just made my own glibc package to fix this, but was wondering why this is the way it is...
View 7 Replies
View Related
Feb 10, 2010
I am running Slackware64-current(multi-lib) and I have stumbled across something that I don't fully understand.I have read that the kernel-headers should not be updated as glibc is compiled against them and therefore requires that set of kernel headers. Recently the kernel version has been bumped a couple of times but glibc has stayed the same.Should glibc be re-compiled each time there is a kernel update?
Perhaps someone can explain, in very simple terms, the relationship between the kernel, the kernel headers, the kernel modules and glibc.
View 14 Replies
View Related
Apr 12, 2011
I have installed Zimbra 6.0.1 and updated to Zimbra 7.1.0, the problem is that it needs the glibc-2.10 to start one of its services. I tried everything but i'dont get to update the glibc.
View 1 Replies
View Related