Solved

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

Posted on 2006-11-28
4
363 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

696 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