[Tinyos-help] Problem with tossim/python: Segmentation fault
(core dumped)
preeti k
kalepreeti at gmail.com
Mon Jan 1 23:12:44 PST 2007
Hi,
I added one more flag (-shared) in PLATFORM_BUILD_FLAGS like this
PLATFORM_BUILD_FLAGS= -fpic *-shared* -W1,--enabled-auto-image-base
And the segmentation fault was gone..
-Preeti
On 1/1/07, Philip Levis <pal at cs.stanford.edu> wrote:
>
> On Dec 31, 2006, at 9:06 AM, Mohamed Ahmed wrote:
>
> > Hi,
> >
> > When I run the command
> > >>> from TOSSIM import *
> > I got the error "Segmentation fault (core dumped)".
> >
> > I also tried other options already tested by Preeti K. (according
> > to one of his previous
> > emails) and got the following outputs:
> >
> > >>> from tinyos.TOSSIM import *
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > ImportError: No module named tinyos.TOSSIM
> > >>> from tinyos.tossim import *
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > ImportError: No module named tinyos.tossim
> > >>> from tossim import *
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > ImportError: No module named tossim
>
> I have yet to be able to reproduce this error. I think it must be due
> to either incorrect compilation or a strange Cygwin conflict. The
> best way to trace this down is to run python in gdb:
>
> $ gdb /usr/bin/python
>
> and send the stack traceback to the list.
>
> Phil
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070102/91b6f337/attachment-0001.htm
More information about the Tinyos-help
mailing list