Antoni Sawicki - 2014-07-11

Hi,

I have successfully compiled Top 3.7 on an old SVR4 based system. When I get to run it I get following error:

Kernel: no symbol named ‘v’

I see that in m_svr4.c you have:

Static struct nlist nlst[] =

{“v”}

Debugging the code, the nlist() call completes successfully, ret=0 (meaning all symbols found)

It’s the check_nlist() function that fails. When I comment it out, top actually starts and works, except shows 0 for all cpu states and memory.

Any hints?

Much appreciated!

Antoni

 

Last edit: Antoni Sawicki 2014-07-11