Hi, we are still running our Director on Bacula 2 and would like to update to 5. However, we have some old AIX Boxes (4.3.3) that are still running Bacula 1.36.3 (which I compiled w/o any problems many years ago).
However, now I'm stuch with alloca :-( I tried both with gcc (3.0.1; I used gcc for the 1.36, too) and xlc (3.1). The xlc-Results were not very promising; it just fails on the first file to compile. However, gcc looks much better... until it runs into a call to alloca. While I found some workarounds for xlc (#pragma alloca and -ma) I didn't find any for gcc :-( I searched the System for alloca.h and also grepped all include-Files for alloca - but didn't find any Header that defined this function. Btw: I used ./configure --prefix=/usr/local --disable-libtool --enable-smartalloc --enable-client-only --without-openssl --disable-build-dird --disable-build-stored to configure. If someone needs the full output of configure I'll post. configure:40057: checking for _doprnt configure:40113: gcc -o conftest -g -O2 -Wall conftest.c >&5 configure:40119: $? = 0 configure:40136: result: yes configure:40152: checking for working alloca.h configure:40179: gcc -o conftest -g -O2 -Wall conftest.c >&5 conftest.c:138:20: alloca.h: No such file or directory conftest.c: In function `main': conftest.c:142: warning: implicit declaration of function `alloca' configure:40185: $? = 1 configure: failed program was: | /* confdefs.h. */ Dies anyone have a hint? Would really be nice to make the step forward to bacula 5... MTIA, Cheers! _ralf_ # make all ==>Entering directory /bacula-5.0.2/src Target "all" is up to date. ==>Entering directory /bacula-5.0.2/scripts Target "all" is up to date. ==>Entering directory /bacula-5.0.2/src/lib Compiling attr.c Compiling base64.c Compiling berrno.c Compiling bsys.c Compiling bget_msg.c Compiling bnet.c Compiling bnet_server.c bnet_server.c: In function `void bnet_thread_server(dlist*, int, workq_t*, void*(*)(void*))': bnet_server.c:100: `alloca' undeclared (first use this function) bnet_server.c:100: (Each undeclared identifier is reported only once for each function it appears in.) make: 1254-004 The error code from the last command is 1. Stop. ====== Error in /bacula-5.0.2/src/lib ====== make: 1254-004 The error code from the last command is 1. Stop. ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users