[Pound Mailing List] Help Configuring Pound to Cross Compile for uClinux with OpenSSL support and Thread support frm OpenSSL

"Warren Perdue" <wperdue-V3Zkrsg/[email protected]> Fri, 21 Apr 2017 12:16:19 -0400
Newsgroups gmane.comp.web.pound.general
Organization Valcom, Inc.
Message-ID <[email protected]>
Hey everyone,

 

Sorry I have been gone a while. We had a huge change in software and
hardware and upgraded to all new versions of firmware and now I am having
problems configuring Pound for uClinux 0.9.4. Would you all be able to help
me. I am in the source bf-2012R1.env environment and had no problem running
the configure before. So I was wondering if you all could help me with this.
It is setup for Cross Compiling because I just configured and built OpenSSL
1.1.0e and several other CGIs. Below are the commands and the results I get.
I am trying to configure Pound to run on uClinux 0.9.4 and use OpenSSL
1.1.0e with thread support so that I can limit the amount of threads Pound
allows along with secure communications with encryption and load balancing.

 

<uClinux-New> Pound-2.7$ ./configure 

checking for gcc... bfin-uclinux-gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables... 

checking whether we are cross compiling... configure: error: in
`/home/warren/Desktop/signuClinux/Pound-2.7':

configure: error: cannot run C compiled programs.

If you meant to cross compile, use `--host'.

See `config.log' for more details

 

 

Pound-2.7$ ./configure --with-ssl=/lib/libssl/openssl-1.1.0e/

checking for gcc... bfin-uclinux-gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables... 

checking whether we are cross compiling... configure: error: in
`/home/warren/Desktop/signuClinux/Pound-2.7':

configure: error: cannot run C compiled programs.

If you meant to cross compile, use `--host'.

See `config.log' for more details

 

<uClinux-New> Pound-2.7$ CC=bfin-uclinux-gcc ./configure
--with-ssl=/lib/libssl/openssl-1.1.0e/

checking for gcc... bfin-uclinux-gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables... 

checking whether we are cross compiling... configure: error: in
`/home/warren/Desktop/signuClinux/Pound-2.7':

configure: error: cannot run C compiled programs.

If you meant to cross compile, use `--host'.

See `config.log' for more details

 

<uClinux-New> Pound-2.7$ CROSS_COMPILE=bfin-uclinux-gcc ./configure
--with-ssl=/lib/libssl/openssl-1.1.0e/

checking for gcc... bfin-uclinux-gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables... 

checking whether we are cross compiling... configure: error: in
`/home/warren/Desktop/signuClinux/Pound-2.7':

configure: error: cannot run C compiled programs.

If you meant to cross compile, use `--host'.

See `config.log' for more details

 

What am I doing wrong?

 

Warren