>Number:         2443
>Category:       os-linux
>Synopsis:       Won't compile past http_main.c due to mistaken __arm check in 
>include/conf.h
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Jun 14 14:40:00 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2.6-1.3.0
>Environment:
ARM Linux 2.0.33, gcc 2.7.2.2
>Description:
Compile any modern Apache (I tried 1.2.6 and 1.3.0) on ARM Linux,
the port of Linux to Acorn RISC OS machines. It compiles fine until it gets
to http_main.c, and then complains about XtOffset. (Details not supplied
because I've found a fix, but available on request.)
>How-To-Repeat:
Compiling Apache seems to be enough, but I haven't tested it on any other
systems than my own (which is a fairly standard ARM Linux system, though).
>Fix:
Yes: removing the reference to __arm in include/conf.h, line 1042
(apache 1.3.0) makes Apache compile perfectly. __arm may be a throw-back to
either Risc iX (Acorn's old port of Unix) or RiscBSD, the port of FreeBSD to
Acorn machines. Certainly, replacing the check for __arm with a check for __arm
but not whatever the Linux flag is, would make it compile happily on ARM Linux
without breaking anything else.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to