Iam working with graphics.I wrote a pgogram in turbo c for graphics.I need to run on Freebsd system, so installed SDL and trying.when i give make in sdl_image folder
/usr/lib/crt1.o undefined reference to main error is giving
i tried to located crt1.c,i found 5 places,i modified all the files by adding
i
program found with main like this:
extern int main(int,char **,char **);
......
....
.....
exit(main(argc,argv,env));
here i added after commenting the extern int main line
in main(int argc,chart **,chart **)
{
}
still same error,someone help me please,iam stucked