@crispyoz Thank you for all your time and support.
Thank you for the pointers on GCC will learn about it more.
Yes I will setup the cross compilation environment.
@crispyoz Thank you for your support.
I am able to compile it now.
I tested with a small program.
There was a mismatch in the header file declared.
Now the issue is that my source code has lot of subfolders defined and each sub folder contains different header files.
Do I have to include all the Subfolders through -I command?
This becomes very much difficult.
So do you suggest me to write a Makefile for this?
Or we can do it through commandline?
and all these headers in my source code use "" for includes.
Thanks in advance.
Please provide me with some pointers, would be of great help.
Any pointers for suggested reading will be much appreciated.
I am trying to compile a source code on Onion Omega 2S+
I have installed GCC on Onion Omega (booting from external SD card)
GCC Version: gcc (OpenWrt GCC 5.4.0) 5.4.0
I am able to compile a simple hello world and other programs which have C header files in the same directory.
Now I am trying to compile a source code which has header files in multiple directories.
I used below command to compile my code.
gcc -I/root/Abc/api_lib/include -o test analyzer.c
I get the error as No Such file or directory (for header files).
But these header files are in this location "/root/Abc/api_lib/include"
I even added this directory path in PATH environment.
I still get the same error.
Could anyone help me on this??
I am new to Linux environment.
Any pointers on this will be much appreciated.
I am trying to run Asterisk on omega 2S+.
I downloaded the telephony package from open wrt by editing the distfeeds.conf file.
I am able to download and then i tried installing Asterisk13.
I am able to install and run the Asterisk on omega.
I was even able to connect to the CLI of asterisk running on omega.
I used the command asterisk -r for connecting & it's connected successfully.
Now I want to connect a sip softphone locally.
I am stuck here. Can anyone guide me how to do this.
I modified the users.conf and extensions.conf file and added the sip users.
But still i am unable to register my sip softphones.
One more thing I observed is pjsip.conf file is missing in etc/asterisk.
(do i need to create one by myself? Or is there any flags that I need to set before,I am installing the asterisk?)
I am not sure if I have missed any configuration settings.
Onion Omega 2S+
Firmware Version: 0.3.2 b233
Can anyone give me any pointers on this issue??
Any assistance on this would be much appreciated.
Looks like your connection to Community was lost, please wait while we try to reconnect.