Solved

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

Posted on 2006-11-28
4
362 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

726 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