Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache Web Server 2.4.56 with Openssl 3.1 on AIX 7.1 (xlC) |
|
Author |
|
Joey
Joined: 27 Oct 2020 Posts: 7 Location: Czech Republic
|
Posted: Thu 06 Apr '23 14:55 Post subject: Apache Web Server 2.4.56 with Openssl 3.1 on AIX 7.1 (xlC) |
|
|
Hello colleagues,
I have previously built Apache Web Server 2.4.56 with Openssl 1.1.1t on AIX 7.1 using gcc version 6.3.0.
Currently we are pushed to stop using gcc compiler on AIX due to several reasons.
I have a licensed xlC compiler version: 16.1.0
I currently reached the stage of "make" and facing the following errors using xlC compiler:
--------------
"util.c", line 3201.53: 1506-277 (S) Syntax error: possible missing ';' or ','?
"util.c", line 3204.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"util.c", line 3201.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for _Thread_local.
"util.c", line 3216.41: 1506-045 (S) Undeclared identifier pool.
"util.c", line 3218.17: 1506-045 (S) Undeclared identifier func.
"util.c", line 3219.17: 1506-045 (S) Undeclared identifier data.
"util.c", line 3220.30: 1506-045 (S) Undeclared identifier thread.
"util.c", line 3220.38: 1506-045 (S) Undeclared identifier attr.
"util.c", line 3220.44: 1506-045 (S) Undeclared identifier thread_start.
"util.c", line 3261.5: 1506-045 (S) Undeclared identifier current_thread.
"util.c", line 3269.5: 1506-045 (S) Undeclared identifier current_thread.
"util.c", line 3276.12: 1506-045 (S) Undeclared identifier current_thread.
make[2]: *** [/tmp/build_apache_24/httpd-2.4.56/build/rules.mk:206: util.lo] Error 1
make[2]: Leaving directory '/tmp/build_apache_24/httpd-2.4.56/server'
make[1]: *** [/tmp/build_apache_24/httpd-2.4.56/build/rules.mk:75: all-recursive] Error 1
make[1]: Leaving directory '/tmp/build_apache_24/httpd-2.4.56/server'
make: *** [/tmp/build_apache_24/httpd-2.4.56/build/rules.mk:75: all-recursive] Error 1
======================================
I suspect the issue is with the xlC compiler.
Did anyone have any experience with this?
Thank you |
|
Back to top |
|
tangent Moderator
Joined: 16 Aug 2020 Posts: 260 Location: UK
|
Posted: Fri 07 Apr '23 23:21 Post subject: |
|
|
Your first compiler error for util.c thows up the following IBM support page - https://www.ibm.com/support/pages/ccn3277-syntax-error-possible-missing-or. It might be worth playing with the compiler NOMARGINS and NOSEQ options to see if this has any effect.
Years ago I was tasked to build Apache with an old licensed copy of an IBM compiler for AIX, and struggled with its vagaries, to the point where I challenged why we couldn't just use gcc, as a globally accepted free software compiler under the GNU General Public License. The cost implications won out in the end; you might want to push back using a similar argument. |
|
Back to top |
|
covener
Joined: 23 Nov 2008 Posts: 54
|
Posted: Sat 08 Apr '23 0:57 Post subject: |
|
|
Are you using CC=xlc_r ? |
|
Back to top |
|
|
|
|
|
|