[Top] [All Lists]

RE: top and SMP

To: Geert Uytterhoeven <>
Subject: RE: top and SMP
From: "Maciej W. Rozycki" <>
Date: Mon, 4 Jul 2005 13:05:03 +0100 (BST)
Cc: Bryan Althouse <>, "'Linux/MIPS Development'" <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
On Sat, 2 Jul 2005, Geert Uytterhoeven wrote:

> > Looks like I am running procps version 2.0.7.  The latest is 3.2.5, so I am
> > a bit out of date.  I would like to upgrade, but I am having trouble cross
> > compiling the latest.  I get this error:
> >     Proc/ undefined reference to '__ctype_b'
> Is the version of glibc your cross-toolchain links against the same as the
> version of glibc on the target?
> Last time I saw that one was when trying to run `old' (i.e. dynamically linked
> against an older glibc) binaries on a system with a new glibc.

 This is strange -- while there are such problems with static libraries 
(archives) consisting of objects built using headers of glibc 2.2.x when 
used for linking against static glibc 2.3.x, there should be none with 
shared objects.  That '__ctype_b' reference should get resolved using a 
versioned symbol that is still available for run-time linking from shared 
libc.  Perhaps that libproc has been built incorrectly, without a 
reference to libc?  Or there is a problem with binutils...

 Anyway, rebuilding libproc should fix the problem -- make sure `gcc' is 
used for creating shared libproc rather than `ld' (I hope its Makefiles do 
not use any wild shared library hackery).


<Prev in Thread] Current Thread [Next in Thread>