vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Jurjen Oskam wrote: > On the AIX Toolbox for Linux applications, you can download gcc for AIX. > There are two versions provided; one for AIX 4.3.3 and one for AIX 5.1. > > Will the 5.1 version work on 5.2? FWIW, Apache 2.0.47 won't compile with the AIX 5.1 gcc RPM installed on AIX 5.2: /bin/sh /home/trawick/httpd-2.0.47/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -I../include -I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo In file included from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:38, from /usr/include/sched.h:52, from /usr/include/pthread.h:44, from ../include/apr_portable.h:85, from apr_snprintf.c:65: /usr/include/sys/proc.h:730: parse error before `1UL' /usr/include/sys/proc.h:730: stray '\' in program In file included from /usr/include/pthread.h:44, from ../include/apr_portable.h:85, from apr_snprintf.c:65: /usr/include/sched.h:66: parse error before `}' /usr/include/sched.h:71: warning: `struct sched_param' declared inside parameter list /usr/include/sched.h:71: warning: its scope is only this definition or declaration, which is probably not what you want. /usr/include/sched.h:74: warning: `struct sched_param' declared inside parameter list /usr/include/sched.h:75: warning: `struct sched_param' declared inside parameter list In file included from ../include/apr_portable.h:85, from apr_snprintf.c:65: /usr/include/pthread.h:261: warning: `struct sched_param' declared inside parameter list /usr/include/pthread.h:265: warning: `struct sched_param' declared inside parameter list /usr/include/pthread.h:300: warning: `struct sched_param' declared inside parameter list /usr/include/pthread.h:305: warning: `struct sched_param' declared inside parameter list make: 1254-004 The error code from the last command is 1. This is the typical sort of junk that comes when anybody's gcc header files aren't prepared for the local system. But I'm surprised this happened with the RPM because it runs fixincludes at install-time. I haven't debugged this to see exactly what mismatch there is, so take this just as a warning that some big packages might not build properly. |