You are not logged in. Please login or register.
Active topics Unanswered topics
Welcome to the wolfSSL Forums!
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
References
Stable Releases - download stable product releases.
Development Branch - latest development branch on GitHub.
wolfSSL Manual - wolfSSL (formerly CyaSSL) product manual and API reference.
Search options
Issue solved:
in my configuration ./configure working fine with params:
./configure CC=/opt/pi-tools/bin/arm-linux-gnueabihf-gcc --host=arm-linux
I found other way but also with error....
After starts ./configure without CC="" param from terminal.
the ./configure creates many conftest.c files with different content, but when I starts:
./configure CC=/usr/rpi/bin/arm-linux-gnueabihf-gcc
config.log:
configure:4408: error: in `/home/vsevolod/yassl/cyassl-3.2.0':
configure:4410: error: cannot run C compiled programs.
chrisc wrote:Hi,
Can you also verify that you are cross compiling correctly, and that you are using "--host=" instead of "--target="? You can reference section 2.6 of the CyaSSL Manual for a simple description of how to cross compile.
http://www.yassl.com/yaSSL/Docs-cyassl- … yassl.html
Thanks,
Chris
chrisc wrote:Hi,
This looks like a problem with the compiler setup, as the configure system thinks that the compiler doesn't work. Have you checked with someone from Freescale about this, or asked on their forums?
I would recommend starting with a simple "Hello World" application, and see if you can compile that using the cross compiler in question. After that works, you could move to trying to cross compile CyaSSL.
Best Regards,
Chris
Hello chrisc, thank you for replay.
I can build application "hello world" on the compiler. I had build Yassl.so lib successful from Makefile or from NetBeanse with the gcc compiler, but I need build Cyassl through the ./configure tool.
May give me advice? How to run ./configure --host= ..... CC=...
My "gcc" placed in "/opt/pi-tools/arm-linux-gnueabihf/bin/gcc".
I have used ./configure line from terminal:
sudo ./configure CC=/opt/pi-tools/arm-linux-gnueabihf/bin/gcc
The compiler which I used just coping from .zip file without any installation.
Thank you.
I got the same problem. I using "Cross Compile" way to build CyaSSL for raspberry-PI board.
I have got log:
======================================================
vsevolod@vsevolod-VirtualBox:~/yassl_rpi$ ./compile.sh
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... /opt/pi-tools/arm-linux-gnueabihf/bin/gcc
checking whether the C compiler works... no
configure: error: in `/home/vsevolod/yassl_rpi':
configure: error: C compiler cannot create executables
See `config.log' for more details
=======================================
Any idea how to solve it?
Posts found: 4
Generated in 0.038 seconds (95% PHP - 5% DB) with 4 queries