Displaying 1 result from an estimated 1 matches for "bioproject".
2012 Mar 16
1
Segfault while calling fexact in C
...&p, &workspace, &mult);
printf("%d %f\n", i, p);
}
return 0;
}
I statically linked the program to libRmath, which I don't suppose has
anything to do with problem. I also dynamically linked to libRmath.so which
yielded the same problem.
nima@nima-laptop:~/BioProject/fet$ gcc -I/usr/share/R/include -lm fexact.c
/usr/lib/libRmath.a
nima@nima-laptop:~/BioProject/fet$ ./a.out
0 0.408431
1 0.408431
2 0.408431
3 0.408431
4 0.408431
....
....
4003 0.408431
4004 0.408431
4005 0.408431
Segmentation fault
Any help would be highly appreciated :)
*-- **Nima Mohammadi*...