Two issues I need some perspective on...

A) What should I do about warnings regarding an absence of file locking....
    Could this create run-time problems and be a hindrance to success?


checking disk device prefixes... /dev/ - /dev/r
checking whether posix fcntl locking works... no
checking whether flock locking works... no
checking whether lockf locking works... no
checking whether lnlock locking works... no
configure: warning: *** No working file locking capability found!
configure: warning: *** Be VERY VERY careful.





B) When I compile on OSF/1 v5.1 (or DEC ALPHA, or Tru64), I get an
    error about ruserok being declared twice...
    I am using a gnu make 3.79 and gcc 3.0.3.
    Can I comment out the ruserok declaration in amanda.h with no
        adverse effects?

    Uhm: Note to maintainers... the .3beta builds on source forge
         fail worse on the Alphas compared to this trivial ruserok
         issue on the 2.4.2p2 build.


jfk@host> gcc -v
Reading specs from 
/usr/local_cci/gcc-3.0.3/lib/gcc-lib/alphaev67-dec-osf5.1/3.0.3/specs
Configured with: ../gcc-3.0.3/configure 
--prefix=/usr/local_cci/gcc-3.0.3 --enable-languages=c,c++,f77
Thread model: single
gcc version 3.0.3



jfk@host> ./configure                                   \
         --without-server                                \
         --prefix=/usr/local/amanda-2.4.2p2          \
         --with-user=amanda                              \
         --with-group=operator                           \
         --with-tmpdir=/tmp/amanda                       \
         --with-debugging                                \
         --with-debug-days=1

.
.
.
.
creating server-src/Makefile
creating server-src/amstatus.pl
creating tape-src/Makefile
creating config/Makefile
creating Makefile
creating config/config.h



jfk@host> make

Making all in config
make[1]: Entering directory `/net/Admin/Build/amanda-2.4.2p2/config'
make[1]: Leaving directory `/net/Admin/Build/amanda-2.4.2p2/config'
Making all in common-src
make[1]: Entering directory `/net/Admin/Build/amanda-2.4.2p2/common-src'
/usr/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../config -I./../regex-src    -g -O2   -c alloc.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -g -O2 -c 
alloc.c -o alloc.o
In file included from alloc.c:33:
amanda.h:947: conflicting types for `ruserok'
/usr/local/gcc-3.0.3/lib/gcc-lib/alphaev67-dec-osf5.1/3.0.3/include/unistd.h:714: 
previous declaration of `ruserok'
make[1]: *** [alloc.lo] Error 1
make[1]: Leaving directory `/net/Admin/Build/amanda-2.4.2p2/common-src'
make: *** [all-recursive] Error 1


Reply via email to