Q) Copy and paste (text) of the command you run and the *error* output you get
would be helpful.
A) ./configure --prefix=$PWD/final --host=aarch64-linux --with-pcre=/usr/local/pcre/bin/pcre2-config
Q) Is "cannot run test program while cross compiling" an error message, or simply
a notification telling you that this bit won't be run?
A) error message, it can't run further
Q) Does the source code compile?
A) I'm not sure of the words. I didn't put custom or private codes in httpd as well as I'm trying building it
-----Original Message-----
From: "Antony Stone"<Antony.Stone@xxxxxxxxxxxxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>;
Cc:
Sent: 2023-02-14 (화) 21:43:00 (GMT+09:00)
Subject: Re: [users@httpd] cannot run test program while cross compiling
On Tuesday 14 February 2023 at 13:35:14, 유원석 wrote:
> Png file would be helpful
Copy and paste (text) of the command you run and the *error* output you get
would be helpful.
> As i was configurating, it shows the same message as the title.
Is "cannot run test program while cross compiling" an error message, or simply
a notification telling you that this bit won't be run?
> Namely, building issues
Does the source code compile?
Antony.
> -----Original Message-----
> From: "Antony Stone"<Antony.Stone@xxxxxxxxxxxxxxxxxxxxx>
> To: <users@xxxxxxxxxxxxxxxx>;
> Cc:
> Sent: 2023-02-14 (화) 21:28:29 (GMT+09:00)
> Subject: Re: [users@httpd] cannot run test program while cross compiling
>
> On Tuesday 14 February 2023 at 13:12:19, 유원석 wrote:
> > Hello
> > I was trying to cross-compile apache to no avail
> > How can I fix this error below?
>
> What error are you trying to fix?
>
> > apache2 branch trunk
> > install pcre-config from pcre.org
> >
> > ./configure --prefix=$PWD/final --host=aarch64-linux
> > --with-pcre=/usr/local/pcre/bin/pcre2-config CC = aarch64-gnu-linux-gcc
> > -march=armv8-a+crc+sha2+sha3 -fstack-protector-strong -D_FORTIFY_SOURCE=2
> > -Wformat -Wformat-security
> > --sysroot=/opt/drive5-linux/5.0.40.0-29154167/sysroots/aarch64-gnu-linux
> > -lcrypt -lm
--
BASIC is to computer languages what Roman numerals are to arithmetic.
Please reply to the list;
please *don't* CC me.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx