TUX installation

Prabha nair shrudhavishal at gmail.com
Fri Sep 18 10:38:52 UTC 2009


Hi,
  I am trying to install TUX server for my project in Grid
  I find that the patches are available for TUX only till 2.6.18.
  I tried with the latest versions of kernel 2.6.29..but it didnt work
  So I compiled the source of 2.6.18 version and patched the TUX3-2.6.18-1
and it got compiled
  I got a TUX package tux-3.2.21.tar.gz for userspace utility.
  But the problem is that when I try to do
  # make
   It leads to some many errors regarding the declaration
  Can U please help me out to how to rectify this error
  Thnx in advance

  *Error:*
ln -s tux3.h tux.h
gcc -g -fomit-frame-pointer -O2 -Wall -I. -DINTERFACE_VERSION=3
-D_LARGEFILE64_SOURCE  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-c tux.c
tux.c:51: error: expected declaration specifiers or ‘...’ before ‘tux’
tux.c:51: error: expected declaration specifiers or ‘...’ before ‘action’
tux.c:51: error: expected declaration specifiers or ‘...’ before ‘req’
tux.c:55: warning: return type defaults to ‘int’
tux.c: In function ‘_syscall2’:
tux.c:74: error: storage class specified for parameter ‘nr_threads’
tux.c:75: error: storage class specified for parameter ‘shared_buf’
tux.c:76: error: storage class specified for parameter ‘shared_idx’
tux.c:76: error: parameter ‘shared_idx’ is initialized
tux.c:78: error: storage class specified for parameter ‘max_module_idx’
tux.c:78: error: parameter ‘max_module_idx’ is initialized
tux.c:79: error: storage class specified for parameter ‘handle_events_array’
tux.c:82: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’
token
tux.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’
token
tux.c:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:117: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:260: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:274: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:324: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:341: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:358: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:363: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:376: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘{’ token
tux.c:623: error: old-style parameter declarations in prototyped function
definition
tux.c:51: error: parameter name omitted
tux.c:51: error: parameter name omitted
tux.c:51: error: parameter name omitted
tux.c:623: error: expected ‘{’ at end of input
make: *** [tux.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/tux-list/attachments/20090918/83cbfd0c/attachment.htm>


More information about the tux-list mailing list