HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Desktop Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=13)
-   -   firefox not loading completely and gcc error (http://www.howtoforge.com/forums/showthread.php?t=15827)

ravihp 27th September 2007 07:51

firefox not loading completely and gcc error
 
I am new to ubuntu.As you know it has firefox inbult.I changed some settings like(privecy,etc) in mozilla firefox.
when I open any page in that some icons and background things won't load.I don't know whether it is problem occured by changing settings or firefox might not be installed properly.
sholud i reinstall firefox?If your answer is YES how to do that? Is that safe.will it affect any other package?

please help me


GCC ERROR:
my hello world program:

#include <stdio.h>
#include<conio.h>
main()
{
printf("\n Hello world \n");
getch();
}


I saved hello world program in file as new.c
when I entered command like this
gcc -o new new.c
(of course I was in a directory in which I had "new.c")I got error like

ravi@ravi-desktop:~/Desktop$ gcc -o new new.c
new.c:1:19: error: stdio.h: No such file or directory
new.c:2:18: error: conio.h: No such file or directory
new.c: In function ‘main’:
new.c:5: warning: incompatible implicit declaration of built-in function ‘printf’

how to get rid of these 2 problems?
please help

thanks,
ravi

falko 28th September 2007 18:27

Quote:

Originally Posted by ravihp
ravi@ravi-desktop:~/Desktop$ gcc -o new new.c
new.c:1:19: error: stdio.h: No such file or directory
new.c:2:18: error: conio.h: No such file or directory
new.c: In function ‘main’:
new.c:5: warning: incompatible implicit declaration of built-in function ‘printf’

Please install the packages that contain stdio.h and conio.h. Take a look here: http://www.howtoforge.com/apt_file_debian_ubuntu


All times are GMT +2. The time now is 03:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.