Standalone TOP

Jaroslav Lukesh lukesh na seznam.cz
Pondělí Říjen 30 12:26:47 CET 2000


| > Dá se někde splašit top, který by jel samostatně, bez knihoven, nebo
něco
| > podobného?
| 
| prelozte si ho staticky
| 
| 				Petr Cech

Hmmm, tak jsem si stáhl top-3.4, jednak mi nejde přeložit (na RH 5.2), pak
ale se mě ./Configure nikde naptal na to, jestli ho mám přeložit staticky.
Jak se to dá "vnutit"?

Díky

             Jaroslav Lukesh, K-net
--------------------------------------------------
               http://www.k-net.cz
      Multimedia, Networking, Communications
              Windows terminals, NC
         computer hardware and software
--------------------------------------------------
             note: (Bill) Gates to Hell!

PS. takhle to vypadá:

[root na websrvr top-3.4]# make
cc -DHAVE_GETOPT -O   -c top.c -o top.o
awk -f sigconv.awk /usr/include/sys/signal.h >sigdesc.h
cc -DHAVE_GETOPT -O   -c commands.c -o commands.o
commands.c:156: field `__errno_location' declared as a function
commands.c: In function `err_string':
commands.c:215: parse error before `('
commands.c: At top level:
commands.c:225: `errp' undeclared here (not in a function)
commands.c:225: parse error before `('
commands.c:226: warning: data definition has no type or storage class
commands.c:227: parse error before `}'
commands.c:232: redefinition of `first'
commands.c:226: `first' previously defined here
commands.c:232: warning: data definition has no type or storage class
commands.c:233: parse error before `}'
commands.c:236: `string' undeclared here (not in a function)
commands.c:236: initializer element is not constant
commands.c:236: warning: data definition has no type or storage class
commands.c:239: parse error before `return'
commands.c: In function `err_compar':
commands.c:313: parse error before `('
commands.c:313: parse error before `('
commands.c:313: parse error before `)'
commands.c: In function `show_errors':
commands.c:344: parse error before `('
commands.c: In function `kill_procs':
commands.c:417: parse error before `('
commands.c:424: parse error before `('
commands.c:430: parse error before `('
commands.c: In function `renice_procs':
commands.c:492: parse error before `('
commands.c:498: parse error before `('
commands.c:502: parse error before `('
make: *** [commands.o] Error 1
[root na websrvr top-3.4]#


Další informace o konferenci Linux