ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Patch for building procps


From: Stuart Hughes
Subject: Re: [Ltib] Patch for building procps
Date: Tue, 28 Jun 2011 08:47:28 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10

Hi Mark,

Thanks for the patch, I'll try to get this in as soon as possible.

Regards, Stuart

On 27/06/11 16:54, Mark wrote:
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
_______________________________________________ LTIB home page: http://ltib.org Ltib mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/ltib


reply via email to

[Prev in Thread] Current Thread [Next in Thread]