afs on linux ppc

Emmanuele Salvati emmanuele.salvati at gmail.com
Wed Nov 30 19:28:28 CET 2005


hello,

thank you, i tried installing 0.41 (using the same flags when i configured) and now it gives me a different error:

.. -I../include -I/usr/heimdal/include -Wall -Wmissing-prototypes
-Wpointer-arith -Wbad-function-cast -Wmissing-declarations
-Wnested-externs -g -Wall -Wmissing-prototypes -Wpointer-arith
-Wmissing-declarations -Wnested-externs -c rxk_serv.c -o rxk_serv.o
rxk_serv.c: In function 'server_CreateChallenge':
rxk_serv.c:142: error: syntax error before 'des_cblock'
rxk_serv.c:142: warning: no semicolon at end of struct or union
rxk_serv.c:130: warning: unused variable 'cdat'
rxk_serv.c:129: warning: unused variable 'obj'
rxk_serv.c:143: warning: control reaches end of non-void function
rxk_serv.c: At top level:
rxk_serv.c:143: warning: type defaults to 'int' in declaration of 'u'
rxk_serv.c:143: warning: data definition has no type or storage class
rxk_serv.c:144: error: syntax error before '&' token
rxk_serv.c:144: warning: type defaults to 'int' in declaration of 'des_random_key'
rxk_serv.c:144: warning: data definition has no type or storage class
rxk_serv.c:145: error: syntax error before '->' token
make[1]: *** [rxk_serv.lo] Error 1
make[1]: Leaving directory `/usr/src/arla-0.41-RC4/rxkad'
make: *** [all-recursive] Error 1


any idea?
thanx again,
                       
emmanuele
2005/11/30, Harald Barth <haba at pdc.kth.se>:
> i am trying to install arla-0.4 on ubuntu linux ppc on an ibook G4.I guess you mean 0.40.> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../lib/roken> -I../lib/roken -I../include -I../include -I../include -I../include   -Wall
> -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast> -Wmissing-declarations -Wnested-externs -g  -Wall -Wmissing-prototypes> -Wpointer-arith -Wmissing-declarations -Wnested-externs  -c rxperf.c
> rxperf.c:82: error: static declaration of '__progname' follows non-static> declaration> ../lib/roken/err.h:45: error: previous declaration of '__progname' was here> rxperf.c: In function 'do_client':
> rxperf.c:693: warning: pointer targets in passing argument 3 of 'readfile'> differ in signedness> make[1]: *** [rxperf.o] Error 1> make[1]: Leaving directory `/usr/src/arla-0.40/rx'> make: *** [all-recursive] Error 1
Arla 0.40 has rxperf.c version 1.24. Later versions of rxperf.c havethat bug fixed. You can either    Modify the makefile to ignore rxperf.c (it is only used in the rxperf    program which is not essential)
    Use Arla 0.41 which has this fixed and was released any day now    (there is a ftp://ftp.stacken.kth.se/pub/arla/snap/arla-0.41-RC4.tar.gz
)    Remove the faulty declaration and replace all __progname with "rxperf".> and... is it possible to install arla on this machine?The combination Linux and PPC is not very usual, but it should work (with
standard LWP). 0.41 should even work with pthreads instead of LWP. I builtmy 0.41-RC1 (on x86) last week with the following options:./configure            --with-krb5=/usr/heimdal-0.7.1 \ # where my krb5 lives
            --with-krb4=no                
\ # krb4 is so last century            --with-sys=/usr/src/linux      \
# where kernel tree lives            --disable-linux-syscall        \
# my heimdal is new and uses /proc            --with-pthreads                \
# the newer threads libraryAnd I don't see any reason why it should not work on your system. (Atleast not yet ;-) For cache file system I recommend ext2, I don't knowwhat Ubuntu ships as default. There have been problems with reiserfs
and xfs in the past. Ext3 works but your arla cache is invalidated atevery reboot anyway, so you don't need the extra log.Harald.




More information about the Arla-drinkers mailing list