Amanda-Users

Compiling Amanda on AIX 5.1

2003-11-10 09:51:05
Subject: Compiling Amanda on AIX 5.1
From: "Peter Johnston" <peter.johnston AT edina.co DOT uk>
To: <amanda-users AT amanda DOT org>
Date: Mon, 10 Nov 2003 14:47:50 -0000

Hi

I'm trying to compile amanda 2.4.4p1 on AIX 5.1 using gcc 2.95.

Unfortunately, it doesn't compile.  The following is the output that I get.

gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -q32 -D_LARGE_FILES -qlonglong -q32 -D_LARGE_FILES -qlonglong -g -O2 -c alloc.c -Wp,-MD,.deps/alloc.TPlo  -DPIC

gcc: unrecognized option `-q32'
gcc: unrecognized option `-qlonglong'
gcc: unrecognized option `-q32'
gcc: unrecognized option `-qlonglong'
In file included from alloc.c:33:
amanda.h:1005: conflicting types for `sendto'
/usr/include/sys/socket.h:439: previous declaration of `sendto'
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Can anyone help and tell me what is going wrong?  I've also tried using gcc 3.3, but that was actually worse - I got lots of varargs.h errors in addition to the ones above.

Thanks,
Peter

--
Peter Johnston
Systems Consultant                      Tel: 0131 624 6624
Edina Software Ltd                       Fax: 0131 624 6625

---  Disclaimer  ---

Unless otherwise agreed expressly in writing by a Director of Edina Software, this communication is to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it has been sent. If you have reason to believe that you are not the intended recipient of this communication, please contact the sender immediately.

<Prev in Thread] Current Thread [Next in Thread>
  • Compiling Amanda on AIX 5.1, Peter Johnston <=