Originally Posted by TB0ne
How can anyone help you with this? You haven't posted your program, told us what it does, given any examples, or told us what version/distro of linux you're using, and only given us a generic error message.
The short answer is "your program is broken, fix it". Without you giving any other info, that's the best anyone can tell you.
With respect to your comments quoted above I have been able to get rid of error message "segmentation fault" in my program.
Now, I am trying to use inbuilt functions for drawing circle, rectangle etc. which are there in header file <vgagl.h> and <vgl.h>. I am compiling my prog. with gcc compiler by the following command:
gcc -o exefilename filename.c -lcurses -lvgagl -lvgl
But every time it's generating an error message "vgagl.h:no such file or directory" with some other messages for undefined function of this header file. I am using Red Hat Enterprise Linux WS.Following is the sample code which I am compiling:
I have no idea about whether this header file is their or not in my distribution of Linux or I am unable to use it properly.
I don't know about the concerned Library also.
Please help me out.....