[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] Patch for building procps
From: |
Mark |
Subject: |
[Ltib] Patch for building procps |
Date: |
Mon, 27 Jun 2011 16:54:51 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.34.8-0.2-desktop; KDE/4.4.4; x86_64; ; ) |
Hello
The procps package was building successfully on one of my machines, but was
failing to build on another machine, reporting errors similar to the
following:
display.c:(.text+0x290): undefined reference to `readtask'
display.c:(.text+0x2b4): undefined reference to `readtask'
ps/display.o: In function `want_this_proc_pcpu':
display.c:(.text+0x3ac): undefined reference to `Hertz'
ps/display.o: In function `signal_handler':
display.c:(.text+0x3d0): undefined reference to `signal_number_to_name'
display.c:(.text+0x404): undefined reference to `procps_version'
.
<snip>
This is apparently related to the order in which files are included when
processing the 'include */module.mk' line in the Makefile. When 'ps/module.mk'
is included before 'proc/module.mk' the build fails. See
http://lists.gnu.org/archive/html/bug-make/2010-07/msg00153.html
The attached patches are as follows:
procps-3.2.7-makefile.patch - changes the Makefile to include the files in the
desired order.
procps-spec-makefile.patch - updates the spec file to apply the above patch.
Regards
Mark
procps-3.2.7-makefile.patch
Description: Text Data
procps-spec-makefile.patch
Description: Text Data
- [Ltib] Patch for building procps,
Mark <=