General :: Error While Compiling Binutils 2.15.92 Package?
Feb 11, 2011
I am trying to compile binutils 2.15.92 package on RHEL 5.4, which is required with gcc 3.4.6 version. I have already installed gcc 3.4.6 on /opt/gcc.
I have given the --prefix as /opt/binutils during compilation. I have all flex, bison and m4 packages installed.
I am getting following error during compilation..
Code:
root/binutils/binutils-2.15.92.0.2/binutils/bucomm.c:425: warning: the use of `mktemp' is dangerous, better use `mkstemp'
ar.o: In function `mri_emul':
ar.c:(.text+0x9f2): undefined reference to `yyparse'
I'm trying to port binutils to a new architecture. I have changed and created necessary files for this. The configure commad run succusfuly. but when I tried to run make I find probems. the error msg is:
Where is the best path to install all files of package when compiling?
For example - I want to install ProFTPd, so there's an option
--prefix=/usr/local/proftpd
, which means, that all files after compilation (including binary and configuration files) will be stored here. As you know, all packages, which are installed via package system (like zypper on SuSE or apt on Ubuntu) usually stores its configuration files in /etc/ and binary files in /sbin/ and also stores a link in my $PATH, so i can run in just by typing proftpd (without /sbin).
The huge advantage of packages installed via package system, i think, is easy uninstall process. I'd like to be able to uninstall compiled packages also easy.
I think i could be able to create some batch file, which I'll be able to use like this:
uninstall --package=proftpd
And my script will find all proftpd files in usuall paths (/etc, /sbin) and remove it using rm.
Is there any best practices, where to store all these files, or are there any (dis)advantages of my first example (--prefix=/usr/local/proftpd)?
I really don't think, that it's nice to have 2 paths with configuration files and binary files, but maybe I'm misunderstanding the basic principals of Linux... :-)
I have ubuntu 8.10. In this I could find the binutils, gcc are installed. But when ever I try to know that glibc, glibc-linuxthreads are installed are not. It showing that no package is found. For that I have downloaded glibc-2.3.3.tar.gz, glibc-linuxthreads-2.3.3.tar.gz.I want to install these two package.i dont know where to install as am novice to linux.
I am using Fedora 11 (2.6.30.10-105.2.23.fc11.i686.PAE). I got a patch for tpm_tis.c which a module to get my itpm working. And, for this I thought to customise the existing kernel and install new one.
So, I followed the foolowing steps:
In 'make menuconfig' , I have disabled Kernel debugging in the Kernel hacking section.
Then changed EXTRAVERSION to something like .test in Makefile
I'm currently using Fedora 12 with kernel 2.6.31.9 and I was trying to upgrade to 2.6.32.2. These are the steps I followed. After rebooting and choosing this kernel from the Grub menu, I'm just greeted with a black screen with a blinking cursor and it won't proceed beyond that.
These are the commands I issued. I received an error on the first make modules about the mismatch. I then ran CONFIG_DEBUG_SECTION_MISMATCH=y and once finished I ran make modules again and it completed successfully.
Code: Downloaded kernel package 2.6.32.2 from www.kernel.org untar archive make menuconfig (no changes made, saved config file) make
New to this kernel stuff But not too new to C/C++. I'm trying to compile the linux kernel on a PC, that is running Windows XP 32 bit, using Cygwin. I keep getting the error saying:
I've been around the block with this problem and don't know what else to check to compile source for gpsbabel-1.4.2. Other posts on this forum mentioning the same error with no resolution on this specifically. I have looked at the following:
1. The Makefile looks like this for the part compiling with expat options:
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.
These days, I tried to compile my own kernel. Now, it seems work. However, when the kernel is booting, I always get the error message like below: acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed It looks that something is wrong with my acpi subsystem's configuration. But no matter How I reconfig it, this message still occurs. My distribution is UBUNTU 10.04 LTS original kernel with the distribution is 2.6.32 My own kernel is 2.6.35
I have problem with compiling server... I finish ./configure without any problem, and now, when I write make, I see that: Quote: Makefile:360: *** missing separator. Stop. I read something, and know, that error shows when there are problem with spaces. And I should use there a tab. On line 360 I have:
Code: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/account.Po@am__quote@ I try to change this one space inside to tab, but that doesnt work for me... Terminal always show error in the same line.
I'm compiling a project that uses boost libraries (1.45.0) for a MIPS target, and when trying to compile with bjam I get the following error:
Code: libboost_system-mt.a(error_code.o): In function `(anonymous namespace)::generic_error_category::message(int) const': error_code.cpp:(.text+0x55c): undefined reference to `__glibc_strerror_r' collect2: ld returned 1 exit status
i ve been trying to compile rtorrent from source and while configuring i run to this: Code: checking for OPENSSL. configure: error: Package requirements (openssl) were not met: No package 'openssl' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables OPENSSL_CFLAGS and OPENSSL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. i tried to install openssl and than i came up to this:
Code: [kuba@Kuba-fedora uget-1.8.0]$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executable .....
Configure: error: Package requirements (libnotify) were not met: No package 'libnotify' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS and LIBNOTIFY_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. But I have the newest version of libnotify.
Fedora 14 I recently went to install some software using the source files. When I ran the command ./configure I got a message saying that No package gthread-2.0 not found After searching the internet some one had the same problem. I needed to install a package called glib2-devel However, rather that searching the internet. Is there any yum command that can give me that information?
Pretty much self explanatory:This morning I went into the update manager, and found a bunch of RPM package-management stuff such as rpm, alien, compiling tools, etc. What is up with this?I suspect they are setting the scenery for some big press release saying they now support RPM packages in Ubuntu too. Any ideas? (or better, inside info from someone who knows)
How do I know which binutils I needs to instal? I have linux Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64.there are many binutils available at gnu.org in "software" in "binutils".I am not able to identify which for my machine.
oprofile-0.9.6-i486-2.txz links to libbfd-2.20.51.0.8.20100412.so ; binutils-2.20.51.0.11-i486-1.txz has libbfd-2.20.51.0.11.20100810.so. These are all the current packages as of this minute. Linking the new libbfd to the older seems to work.
I am try to compile and install the as31 program development for the 80c51, but I am getting an error during compiling cannot find "gtk/gtk.h" I downloaded it from /www.pjrc.com/tech/8051/.I send an email to "paul@pjrc.com", he toll me to install gtk1.2-dev indicating that, On Ubuntu, the command is: "apt-get install libgtk1.2-dev"it still produces the error. I am using an HP laptop zv6000 running Fedora 14 and appears that gtk2 and gtk3 is installed This is the result:
[Vinny@HP1 ~]$ apt-get install libgtk1.2-dev bash: apt-get: command not found... Install package 'apt' to provide command 'apt-get'? [N/y]
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).
I am following this guide to installing eclipse via terminal command-line on Linux. However, this seems to be happening lately with all the packages I try to install..I checked the Synaptic Package Manager and reloaded and rebooted the computer, but to no avail.
i have a problem in synpatic package manger(ubuntu 10.04)i get the following errorCode:E: Syntax error /etc/apt/apt.conf.d/11cache:2: Extra junk at end of file
I'm trying to install adobe flash player on wheezy (7.4). I've downloaded the package since adobe thinks apt works in a browser (it doesn't on my laptop). Anyway, I've tried installing the adobe flash player package via gdebi and it complains binutils is not installed. fine, I go to synaptic to find binutils and synaptic cannot find it. I'm not even sure why it is not installed. How to get binutils?
Here is my sources.list:
Code: Select all# # deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official i386 NETINST Binary-1 20131215-03:38]/ wheezy main # deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official i386 NETINST Binary-1 20131215-03:38]/ wheezy main
# deb http://ftp.us.debian.org/debian/ wheezy main # deb-src http://ftp.us.debian.org/debian/ wheezy main
My system is a fc 12 using a 2.6.33.1 kernel from kernel.org ... i've prefer compile by myself to get a minimal kernel ( i got a old p4 a 1,6ghz 2gb ram) but i got fedora kernels from updates too I am trying to compile a kernel from www.kernel.org, linux-2.6.33.2 full .. i made the same with 2.6.33.1 and all ok I got kernels from fedora distro (kernel-devel and kernel-headers installed) and kernel.org I dont know why about directory paths and files ... why make finds it? ... i think that linux-2.6.33.2.bz2 include all needed how to configure the install path ? ... if i am using /usr/src/kernels/linux-2.6.33.2 and all bzip2 extracted into it ... i can't see "configure" tool I am trying to compile kernel 2.6.33.2 (without problems 2.6.33.1), but i got the following message :