https://issues.apache.org/bugzilla/show_bug.cgi?id=51257

             Bug #: 51257
           Summary: Apache 2.2.19 cross-compile: ./dftables: cannot
                    execute binary file
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


When cross-compiling Apache httpd 2.2.19 "make" fails with the following error:

./dftables: ./dftables: cannot execute binary file

According to the README file in /srclib/pcre it should be possible to specify
CC_FOR_BUILD when calling the "configure" command, but even when doing so
"make" fails. 

A known workaround is to first build Apache httpd for local host and then copy
the dftables binary to the other host build folder and run "make" again.
However, since I would like to automate the build process the workaround is not
sufficient for me. 


Also, the same type of error exists with the gen_test_char binary:

/bin/sh: ./gen_test_char: cannot execute binary file

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to