This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

install problem: alloca @ AIX4.1



After removing the line:
     extern char *strrchr ();
from  egcs-970910/texinfo/util/install-info.c.NEW

I now get the following:

 Configuring for a rs6000-ibm-aix4.1.4.0 host.
 Created "Makefile" in /tmp_mnt/home/seg/yotam/build/AIX/egcs/egcs-970910
 Links are now set up to build a native compiler for rs6000-ibm-aix4.1.4.0
 ....


xlc  -DIN_GCC      -DHAVE_CONFIG_H     -I. -I. -I./config  \
  -c `echo ./alloca.c | sed 's,^\./,,'`
"alloca.c", line 171.1: 1506-343 (S) 
   Redeclaration of alloca differs from previous declaration
   on line 47 of "./config/rs6000/xm-rs6000.h".
"alloca.c", line 171.1: 1506-050 (I) 
   Return type "void*" in redeclaration is not compatible 
   with the previous return type "char*".
make[5]: *** [alloca.o] Error 1
make[5]: Leaving directory `/tmp_mnt/home/seg/yotam/build/AIX/egcs/egcs-970910/gcc'
make[4]: *** [all-gcc] Error 2

-- yotam


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]