This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
twothreads.c-error
- From: "arun%anwsi dot com at mail3 dot srivari dot net" <arun%anwsi dot com at mail3 dot srivari dot net>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 18 Jul 2002 07:38:11 -0400
- Subject: [ECOS] twothreads.c-error
- Reply-to: arun at anwsi dot com
hello friends
when i was executing the example program hello.c and twothreads.c
there was some errors
1) i edited the makefile
2) gcc -g -I/user/cvs-1.11/packages/install/include/ hello.c \
< -L/user/cvs-1.11/packages/install/lib -Ttarget.ld -nostdlib
there was an error
" collct2: ls terminated with signal 11 [segmentation fault ]"
3)but after executing "gcc -g -I/user/cvs-1.11/packages/install/include/
hello.c" alone
i got a.out file
4) but when executing "gcc -g -I/user/cvs-1.11/packages/install/include/
pthreads.c \
< -L/user/cvs-1.11/packages/install/lib -Ttarget.ld -nostdlib
i got the same "segmentation fault "
can i know the reason for this error
thanks in advance
arun.c
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss