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
|