Telecnatron Forum

Discuss and comment on telecnatron.com articles and related topics.

Welcome! [Log In] [Register]
Praneet
Re: Cross Compiling For OpenWRT On Linux
December 12, 2018 02:37PM
Hi, Thanks for really helpful and insightful information. I have been trying to cross compile Bluez 5.37 on OpenWRT platform using toolchain-arm_cortex-a7_gcc-5.2.0_uClibc-1.0.14_eabi. I have successfully compiled and executed bluetoothctl, hcitool, hcidump, rfcomm and various other programs using Makefile configurations. However, I am facing issue while compiling the agent program present in client directory(https://github.com/Vudentz/BlueZ/tree/master/client). The agent functionality is useful for auto pairing and connecting without any interruption from OpenWRT system. Can you please help me with the options in bluez makefile (https://github.com/openwrt/packages/blob/8d07e5b8252fb5b9b4c954a4cad169ab10c9e82c/utils/bluez/Makefile) for generating the agent executable. Thanks in advance for the information.
Bill Park
Re: Cross Compiling For OpenWRT On Linux
December 12, 2018 02:38PM
I think I've followed your instructions. I have no problem creating a helloworld for a router and having it run on the router. When I try to run a Makefile, objects get created but the linker returns: error adding symbols: File in wrong format for each object. What should I look at?

Thank you.
polibtesi
Re: Cross Compiling For OpenWRT On Linux
December 12, 2018 02:39PM
Thanks! I found it helpful. Zdenek
Chris
Re: Cross Compiling For OpenWRT On Linux
December 12, 2018 02:39PM
I am wondering why I always get a 'Segmentation Fault' when I run the compiled file on the router?
Andres
Re: Cross Compiling For OpenWRT On Linux
December 12, 2018 02:39PM
Hello, I am having a little problem cross-compiling a library called dns_sd which is part of avahi, can I reach you by email? I could pay you a little bit if you are able winking smiley
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: