Re: apr for mod_webapp make problem
... but make gets error in system.h with error messages: /usr/include/asm/system.h: In function '__xchg': /usr/include/asm/system.h:67: '__u32 undeclared /usr/include/asm/system.h:67: parse error before 'ptr' /usr/include/asm/system.h:90: parse error before 'ptr' make[2]: *** [apr_atomic.lo] Error 1 Try compiling withOUT the -ansi flag.
Re: apr for mod_webapp make problem
did not spot -ansi flag anywhere in compiler flags. but did put in CPPFLAGS in rules.mk to see what would happen and go same error messages. so that wasn't it. i tried to use the precompiled mod_webapp.so at http://www.tuxosaur.org/downloads/mod_webapp.zip but that just give Segmentation fault (11) in apache. it doesn't look too good for apache-tomcat connectivity on s/390. i did same mod_webapp on intel linux with no problem. - Original Message - From: Rick Troth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 16, 2002 1:57 PM Subject: Re: apr for mod_webapp make problem ... but make gets error in system.h with error messages: /usr/include/asm/system.h: In function '__xchg': /usr/include/asm/system.h:67: '__u32 undeclared /usr/include/asm/system.h:67: parse error before 'ptr' /usr/include/asm/system.h:90: parse error before 'ptr' make[2]: *** [apr_atomic.lo] Error 1 Try compiling withOUT the -ansi flag.
Re: apr for mod_webapp make problem
did not spot -ansi flag anywhere in compiler flags. You might be tripping over something different. What I specifically thought it might be is in linux/types.h there is a section that reads something like #if defined(__GNUC__) !defined(__STRICT_ANSI__) typedef __u64 uint64_t; typedef __u64 u_int64_t; typedef __s64 int64_t; #endif I don't understand the reasoning behind this, but it looks like if 1) GNU C is not indicated, -or- if 2) ANSI C is indicated, then __u64 doesn't get typedef'ed. I hope this helps.
Re: apr for mod_webapp make problem
Don't use mod-webapp. Use mod_jk, it will give you better results. -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED]]On Behalf Of Vincent Gazzillo Sent: Tuesday, April 16, 2002 3:53 PM To: [EMAIL PROTECTED] Subject: Re: apr for mod_webapp make problem did not spot -ansi flag anywhere in compiler flags. but did put in CPPFLAGS in rules.mk to see what would happen and go same error messages. so that wasn't it. i tried to use the precompiled mod_webapp.so at http://www.tuxosaur.org/downloads/mod_webapp.zip but that just give Segmentation fault (11) in apache. it doesn't look too good for apache-tomcat connectivity on s/390. i did same mod_webapp on intel linux with no problem. - Original Message - From: Rick Troth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 16, 2002 1:57 PM Subject: Re: apr for mod_webapp make problem ... but make gets error in system.h with error messages: /usr/include/asm/system.h: In function '__xchg': /usr/include/asm/system.h:67: '__u32 undeclared /usr/include/asm/system.h:67: parse error before 'ptr' /usr/include/asm/system.h:90: parse error before 'ptr' make[2]: *** [apr_atomic.lo] Error 1 Try compiling withOUT the -ansi flag.
Re: apr for mod_webapp make problem
That mod_webapp.zip was built on a 2.2 kernel and probably that may have caused the segfault. It works on our system with Suse 7.0, 2.2 kernel. Samy Rengasamy. -Original Message- From: Vincent Gazzillo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 3:53 PM To: [EMAIL PROTECTED] Subject: Re: apr for mod_webapp make problem did not spot -ansi flag anywhere in compiler flags. but did put in CPPFLAGS in rules.mk to see what would happen and go same error messages. so that wasn't it. i tried to use the precompiled mod_webapp.so at http://www.tuxosaur.org/downloads/mod_webapp.zip but that just give Segmentation fault (11) in apache. it doesn't look too good for apache-tomcat connectivity on s/390. i did same mod_webapp on intel linux with no problem. - Original Message - From: Rick Troth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 16, 2002 1:57 PM Subject: Re: apr for mod_webapp make problem ... but make gets error in system.h with error messages: /usr/include/asm/system.h: In function '__xchg': /usr/include/asm/system.h:67: '__u32 undeclared /usr/include/asm/system.h:67: parse error before 'ptr' /usr/include/asm/system.h:90: parse error before 'ptr' make[2]: *** [apr_atomic.lo] Error 1 Try compiling withOUT the -ansi flag.
Re: apr for mod_webapp make problem
What I specifically thought it might be is in linux/types.h there is a section that reads something like #if defined(__GNUC__) !defined(__STRICT_ANSI__) typedef __u64 uint64_t; typedef __u64 u_int64_t; typedef __s64 int64_t; #endif I don't understand the reasoning behind this, but it looks like if 1) GNU C is not indicated, -or- if 2) ANSI C is indicated, then __u64 doesn't get typedef'ed. The types in question can't be exposed to user space in a strict posix/ansi compliant environment. __GNUC__ is one of the things defined when you ask the compiler to use the GNU extensions, and __STRICT_ANSI__ is one of the symbols coming out when you want to be exactly correct. So its basically if its gnu stuff and I'm not a language lawyer..
Re: apr for mod_webapp make problem
i'm running SuSe 7.0 Linux 2.2.16 and getting the same error as Vincent stated. Not sure where the -ansi flag is invoked. Thanks -Original Message- From: Rick Troth [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 1:57 PM To: [EMAIL PROTECTED] Subject: Re: apr for mod_webapp make problem ... but make gets error in system.h with error messages: /usr/include/asm/system.h: In function '__xchg': /usr/include/asm/system.h:67: '__u32 undeclared /usr/include/asm/system.h:67: parse error before 'ptr' /usr/include/asm/system.h:90: parse error before 'ptr' make[2]: *** [apr_atomic.lo] Error 1 Try compiling withOUT the -ansi flag.