public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] hello world app SEG faults with Linux synth target
@ 2009-07-21  6:30 Mandeep Sandhu
  2009-07-21  7:30 ` Sergei Gavrikov
  2009-07-21  7:46 ` [ECOS] " John Dallaway
  0 siblings, 2 replies; 32+ messages in thread
From: Mandeep Sandhu @ 2009-07-21  6:30 UTC (permalink / raw)
  To: ecos-discuss

Hi All,

My hello world app crashes with seg fault when I try to run it. Here's the o/p:

mandeep@mindstorm:~/ecos/ecos-3.0/examples$ ./hello
Segmentation fault
mandeep@mindstorm:~/ecos/ecos-3.0/examples$ strace ./hello
execve("./hello", ["./hello"], [/* 41 vars */]) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
mandeep@mindstorm:~/ecos/ecos-3.0/examples$

Any clues how to fix this?

How does the hello world app make use of the ecosynth app?

On the doc page () it says:

"...I/O facilities are provided through an I/O auxiliary process, ecosynth, that
gets spawned by the eCos application during startup"

My ecosynth is installed at:
/usr/local/libexec/ecos/hal/synth/arch/v3_0/

I added this to my PATH env, but that didn't help at all.

Should this be statically linked to my app while compiling? If so, I'll have
to modify my Makefile. I used "build_Makefile" in my repos examples dir
to generate the Makefile (i later just altered the target names in the generic
Makefile).

Thanks,
-mandeep

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2009-07-23 13:35 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-21  6:30 [ECOS] hello world app SEG faults with Linux synth target Mandeep Sandhu
2009-07-21  7:30 ` Sergei Gavrikov
     [not found]   ` <b18c5f790907210111k3a4643adg80003969e2bf0520@mail.gmail.com>
2009-07-21  8:43     ` Sergei Gavrikov
2009-07-21  9:05       ` Sergei Gavrikov
2009-07-21 11:00         ` Mandeep Sandhu
2009-07-21 11:18           ` Sergei Gavrikov
     [not found]             ` <b18c5f790907210442q59e83781lf138151b37244a53@mail.gmail.com>
2009-07-21 12:29               ` Sergei Gavrikov
2009-07-21 14:01                 ` Mandeep Sandhu
2009-07-21 14:11                   ` Sergei Gavrikov
2009-07-22  8:55                 ` Mandeep Sandhu
2009-07-22 10:45                   ` Sergei Gavrikov
2009-07-22 10:54                     ` Mandeep Sandhu
2009-07-22 14:05                       ` Mandeep Sandhu
2009-07-22 14:10                         ` Sergei Gavrikov
2009-07-23  8:04                           ` Mandeep Sandhu
2009-07-23  8:20                             ` Sergei Gavrikov
2009-07-23  9:36                               ` Mandeep Sandhu
2009-07-23  9:46                                 ` Sergei Gavrikov
2009-07-23 10:34                                   ` Mandeep Sandhu
2009-07-23 11:03                                     ` Mandeep Sandhu
2009-07-23 11:11                                       ` Sergei Gavrikov
2009-07-23 11:21                                         ` Sergei Gavrikov
2009-07-23 11:39                                           ` Mandeep Sandhu
2009-07-23 11:45                                             ` Sergei Gavrikov
2009-07-23 13:18                                               ` Mandeep Sandhu
2009-07-23 13:35                                                 ` Sergei Gavrikov
2009-07-21  9:29       ` Sergei Gavrikov
2009-07-21 10:51         ` Mandeep Sandhu
2009-07-21  7:46 ` [ECOS] " John Dallaway
2009-07-21  8:10   ` Mandeep Sandhu
2009-07-21  9:41     ` John Dallaway
2009-07-21 10:50       ` Mandeep Sandhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).