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 <[EMAIL PROTECTED]> 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 [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
