>-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Eva Bordeaux >Sent: Tuesday, February 03, 2004 4:40 PM >To: [EMAIL PROTECTED] >Subject: Segmentation fault (core dumped) > >Hello, I try to run my program on Windows machine using Cygwin. > >$ make clean all >gcc -c -o codon.o codon.ccreate_codon.c >gcc -c -o linkcurve.o linkcurve.c >subpart.c: In function `part_extractor_closed': >subpart.c:179: warning: passing arg 2 of `strcat' makes pointer from integer >wit >hout a cast >gcc -c -o suppress.o suppress.c >gcc -c -o feature_match.o feature_match.c >gcc -c -o ListDir.o ListDir.c >gcc main.o create_codon.o codon.o io.o k_smooth.o linkcurve.o lowe.o >matrix.o p >rematch.o subpart.o suppress.o feature_match.o ListDir.o -lm -o getmatch > >$ ./getmatch Query.raw 250 250 r rs >check point 10 is fine >Segmentation fault (core dumped)
Try this: make clean all CC="gcc -g" gdb --args ./getmatch Query.raw 250 250 r rs (gdb) run .. program runs and crashes (gdb) bt Then give the results to whoever wrote the program, or try to fix it yourself. HTH > >When I run this on Unix machine at the lab in University , it works without >any problem. >What can be wrong? Maybe I didn't install all needed parts of compiler? When >I installed Cygwin, I pick Base and all Devel categories. >Any idea how to fix this is appreciated. >Eva -- Rafael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/