I'm confused. I fixed this problem by doing CC=cc ./configure, but I still get this error on 2.4.3: /usr/include/sys/socket.h:76: warning: empty declaration alloc.c: In function `debug_caller_loc': alloc.c:79: warning: assignment makes pointer from integer without a cast alloc.c: In function `safe_env': alloc.c:463: warning: assignment makes pointer from integer without a cast make[1]: *** [alloc.lo] Error 1 make[1]: Leaving directory `/home/juanino/amanda-2.4.3/common-src' make: *** [all-recursive] Error 1
and this error on 2.4.2p2: getfsent.o getfsent.c: In function `open_fstab': getfsent.c:154: `MNTTAB' undeclared (first use in this function) getfsent.c:154: (Each undeclared identifier is reported only once getfsent.c:154: for each function it appears in.) make[1]: *** [getfsent.lo] Error 1 make[1]: Leaving directory `/home/juanino/amanda-2.4.2p2/client-src' make: *** [all-recursive] Error 1 --- Anthony Valentine <[EMAIL PROTECTED]> wrote: > I have the development bundle installed. > Unfortunately, it doesn't > include the compiler itself. > > I've installed and gcc-2.9 which has worked fine for > me in the past, > even for compiling Amanda 2.4.2p2. > > Apparently, gcc doesn't like the output of AIX's > getconf command and is > failing due to that. Here is the apropos config.log > entry: > > configure:19787: checking for shmget > configure:19815: gcc -o conftest -q32 > -D_LARGE_FILES -qlonglong -g > -O2 -q32 -D_LARGE_FILES -qlonglong -b32 > conftest.c -lc > -lpthread -lm 1>&5 > gcc: unrecognized option `-q32' > gcc: unrecognized option `-qlonglong' > gcc: unrecognized option `-q32' > gcc: unrecognized option `-qlonglong' > cpp: -lang-c: linker input file unused since > linking not done > gcc: installation problem, cannot exec `cc1': > Permission denied > gcc: file path prefix > > `/opt/freeware/GNUPro/lib/gcc-lib/32/2.9-aix51-020209/' > never used > configure: failed program was: > #line 19792 "configure" > > > I suppose that a solution would be to get AIX's cc > installed, but the > budget it tight, especially near the end of the > year. > > Anthony > > > > On Tue, 2002-10-15 at 11:34, Jerry wrote: > > Make sure you have the bos.adt filesets > installed... I > > had already installed them for some other stuff I > was > > compiling. > > > > Jerry > > > [snip] __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com
