Solved

Always a compiling error with my Unix AIX!! Please help..

Posted on 2006-11-28
4
356 Views
Last Modified: 2013-12-06
Everytime I compile Apache 1.3.37 and type "make", it gives me error:

In file included from /usr/include/sys/pri.h:29,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:52,
                 from /usr/include/pthread.h:43,
                 from http_main.c:633:
/usr/include/sys/proc.h:203: parse error before "crid_t"
/usr/include/sys/proc.h:212: parse error before "p_class"
/usr/include/sys/proc.h:355: parse error before '}' token
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.
====================
This is driving me nuts. I've tried installing patches to my Unix AIX 4.3.3 but I was already up to date. I tried gcc version 3.0.4 and 3.4.3, but still no luck. Anybody know of this error and what it means? Thanks in advance for all the help.
0
Comment
Question by:bemara57
4 Comments
 
LVL 6

Accepted Solution

by:
JJSmith earned 500 total points
ID: 18041017

The error is not related to apache, it is your system include files (proc.h) - This has been and gone and come again with various versions of gcc.

I know that gcc 2.95.2 was stable, but that was a long long time ago - but how old is 4.3.3 ;-). If you can get 2.95.2 - try it, the problem definately lies with your gcc.

You might want to look at:

http://www-03.ibm.com/servers/aix/products/aixos/linux/ezinstall.html

for the latest versions of gcc.

If you do replace or upgrade gcc, then after running configure, run make distclean before using the compiler.

Cheers
JJ

0
 
LVL 3

Expert Comment

by:DineshJolania
ID: 18299656
I  Think  you should have gcc version  which matches AIX 4.3.3
proc.h  contains the structure of  /proc file system.
Its the gcc which is the culprit.

Thanks
DInesh
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded‚Ķ
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now