Hi,<br> I am trying to install TUX server for my project in Grid <br> I find that the patches are available for TUX only till 2.6.18.<br> I tried with the latest versions of kernel 2.6.29..but it didnt work<br> So I compiled the source of 2.6.18 version and patched the TUX3-2.6.18-1 and it got compiled<br>
I got a TUX package tux-3.2.21.tar.gz for userspace utility.<br> But the problem is that when I try to do <br> # make <br> It leads to some many errors regarding the declaration<br> Can U please help me out to how to rectify this error<br>
Thnx in advance<br> <br> <b>Error:</b><br>ln -s tux3.h tux.h<br>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<br>
tux.c:51: error: expected declaration specifiers or ... before tux<br>tux.c:51: error: expected declaration specifiers or ... before action<br>tux.c:51: error: expected declaration specifiers or ... before req<br>
tux.c:55: warning: return type defaults to int<br>tux.c: In function _syscall2:<br>tux.c:74: error: storage class specified for parameter nr_threads<br>tux.c:75: error: storage class specified for parameter shared_buf<br>
tux.c:76: error: storage class specified for parameter shared_idx<br>tux.c:76: error: parameter shared_idx is initialized<br>tux.c:78: error: storage class specified for parameter max_module_idx<br>tux.c:78: error: parameter max_module_idx is initialized<br>
tux.c:79: error: storage class specified for parameter handle_events_array<br>tux.c:82: error: expected =, ,, ;, asm or __attribute__ before { token<br>tux.c:91: error: expected =, ,, ;, asm or __attribute__ before { token<br>
tux.c:107: error: expected =, ,, ;, asm or __attribute__ before { token<br>tux.c:117: error: expected =, ,, ;, asm or __attribute__ before { token<br>tux.c:126: error: expected =, ,, ;, asm or __attribute__ before { token<br>
tux.c:131: error: expected =, ,, ;, asm or __attribute__ before { token<br>tux.c:159: error: expected =, ,, ;, asm or __attribute__ before { token<br>tux.c:260: error: expected =, ,, ;, asm or __attribute__ before { token<br>
tux.c:265: error: expected =, ,, ;, asm or __attribute__ before { token<br>tux.c:274: error: expected =, ,, ;, asm or __attribute__ before { token<br>tux.c:324: error: expected =, ,, ;, asm or __attribute__ before { token<br>
tux.c:341: error: expected =, ,, ;, asm or __attribute__ before { token<br>tux.c:358: error: expected =, ,, ;, asm or __attribute__ before { token<br>tux.c:363: error: expected =, ,, ;, asm or __attribute__ before { token<br>
tux.c:376: error: expected =, ,, ;, asm or __attribute__ before { token<br>tux.c:623: error: old-style parameter declarations in prototyped function definition<br>tux.c:51: error: parameter name omitted<br>tux.c:51: error: parameter name omitted<br>
tux.c:51: error: parameter name omitted<br>tux.c:623: error: expected { at end of input<br>make: *** [tux.o] Error 1<br><br> <br> <br>