Good day,With minor fixes (attached), I have successfully built and run 2.0.3 on AIX 4.3.2.0, gcc 2.95.3. Please review.
-- Sergey Svishchev
$NetBSD$ --- src/lib/bsys.c.orig 2006-11-21 16:13:58.000000000 +0000 +++ src/lib/bsys.c @@ -44,6 +44,10 @@ #include <grp.h> #endif +#ifdef HAVE_AIX_OS +extern "C" int initgroups(char *,int); +#endif + static pthread_mutex_t timer_mutex = PTHREAD_MUTEX_INITIALIZER; static pthread_cond_t timer = PTHREAD_COND_INITIALIZER; --- src/console/conio.c.orig 2006-11-21 20:14:47.000000000 +0000 +++ src/console/conio.c @@ -69,6 +69,9 @@ extern "C" char *tgetstr (const char*, c extern "C" char *tgoto (const char *, int, int); #elif HAVE_HPUX_OS #include <term.h> +#elif HAVE_AIX_OS +#include <curses.h> +#include <term.h> #elif defined (__digital__) && defined (__unix__) extern "C" int tgetent(void *, const char *); extern "C" int tgetnum(const char *); @@ -82,7 +85,7 @@ extern "C" char *tgoto (const char *, in /* From termios library */ -#ifdef HAVE_HPUX_OS +#if defined(HAVE_HPUX_OS) || defined(HAVE_AIX_OS) static char *BC; static char *UP; #else
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
