Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, and welcome here, at LQ.
Unfortunately dropping in an error message is not enough to help you.
Bus error most probably means there is an incompatibility somewhere amongst your libraries and executable (or just a coding issue). But without details hard to say more. https://en.wikipedia.org/wiki/Bus_error
If this happens even before the main function is called, I would suggest something is wrong with the format of the executable file. Or it calls an incorrect shared library, perhaps. strace may help you understand what happens.
what kind of app is it? how did you build it? Do you have a coredump? What os/compiler is it?
Without real answers [at least] to these questions nobody can give you any help.
Quote:
Describe the symptoms of your problem or bug carefully and clearly.
Describe the environment in which it occurs (machine, OS, application, whatever). Provide your vendor's distribution and release level (e.g.: “Fedora Core 7”, “Slackware 9.1”, etc.).
Describe the research you did to try and understand the problem before you asked the question.
Describe the diagnostic steps you took to try and pin down the problem yourself before you asked the question.
Describe any possibly relevant recent changes in your computer or software configuration.
If at all possible, provide a way to reproduce the problem in a controlled environment
Cross compiling using respective gcc and to include cpp object files including this flag but displaying a core dump when I do
It's really hard to get information out of you. Your descriptions are very vague and non-specific. The quality of the answers you get will be proportional to the quality of your question.
My vague and non-specific guess is that the respective gcc is not appropriate for that platform/architecture.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.