Hi Everyone Thank you for all your help but the problem has not been solved completely so let me tell you the problem in detail.
I am trying to compile a program located at:
http://www.cs.princeton.edu/~minlanyu/embed.tar.gz
To compile it i have to execute the following commands:
1. make all (to compile)
2. ./embed (to run)
When i run the first command make all i get the following error:
rm -f *.o *~ embed
gcc -Wall -g -mcmodel=medium -c util.c
util.c:1: error: code model ‘medium’ not supported in the 32 bit mode
make: *** [util.o] Error 1
So what i did was that commented the -mcmodel=medium portion on a new line. After this when i run the command make all my output is as follows:
rm -f *.o *~ embed
gcc -Wall -g -c util.c
gcc -Wall -g -c embed.c
gcc -Wall -g -o embed util.o embed.o -lm
This creates an executable file embed
So now i write ./embed but now i get the following error:
Segmentation Fault
Is this error because i am running Linux in VMWare or there is any other reason?
Pls do reply early.
Your help is highly appreciated.
Best Regards