Amanda-Users

Compiling on Mandrake Problem

2003-01-02 19:28:15
Subject: Compiling on Mandrake Problem
From: "Michael Kopach" <kopam AT augustana.ab DOT ca>
To: <amanda-users AT amanda DOT org>
Date: Thu, 02 Jan 2003 16:56:23 -0700
I am using amanda 2.4.2p2 and trying to compile a client version on
Mandrake 8.1. However, I get the following errors/messages:

Making all in config
make[1]: Entering directory `/usr/local/src/amanda-2.4.2p2/config'
make[1]: Leaving directory `/usr/local/src/amanda-2.4.2p2/config'
Making all in common-src
make[1]: Entering directory `/usr/local/src/amanda-2.4.2p2/common-src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../config -I./../regex-src  -D_FILE_OFFSET_BITS=64    
-D_FILE_OFFSET_BITS=64 -g -O2   -c alloc.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src
-D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -g -O2 -c alloc.c -o
alloc.o
In file included from /usr/include/sys/types.h:30,
                 from amanda.h:59,
                 from alloc.c:33:
/usr/include/bits/types.h:98: parse error before `__FD_SETSIZE'
In file included from amanda.h:59,
                 from alloc.c:33:
/usr/include/sys/types.h:122: parse error before `key_t'
/usr/include/sys/types.h:122: warning: data definition has no type or
storage class
In file included from /usr/include/sys/types.h:215,
                 from amanda.h:59,
                 from alloc.c:33:
/usr/include/sys/select.h:71: `__FD_SETSIZE' undeclared here (not in a
function)
/usr/include/sys/select.h:71: size of array `__fds_bits' has
non-integer type
In file included from /usr/include/sys/ipc.h:29,
                 from amanda.h:148,
                 from alloc.c:33:
/usr/include/bits/ipc.h:45: parse error before `__key_t'
/usr/include/bits/ipc.h:45: warning: no semicolon at end of struct or
union
/usr/include/bits/ipc.h:56: parse error before `}'
In file included from amanda.h:148,
                 from alloc.c:33:
/usr/include/sys/ipc.h:54: parse error before `ftok'
/usr/include/sys/ipc.h:54: warning: data definition has no type or
storage class
In file included from /usr/include/sys/shm.h:31,
                 from amanda.h:149,
                 from alloc.c:33:
/usr/include/bits/shm.h:45: field `shm_perm' has incomplete type
/usr/include/bits/shm.h:58: confused by earlier errors, bailing out
make[1]: *** [alloc.lo] Error 1
make[1]: Leaving directory `/usr/local/src/amanda-2.4.2p2/common-src'
make: *** [all-recursive] Error 1

I'm wondering if I've missed a setting or something. Does anyone have
any suggestions?

Thanks in advance ... Mike

<Prev in Thread] Current Thread [Next in Thread>
  • Compiling on Mandrake Problem, Michael Kopach <=