LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2008, 04:14 AM   #1
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Rep: Reputation: 31
compilation problem


i am using UBUNTU....what i write simple multiplication c program and when compiled it i saw the problems like:
mul.c:1:18: error: stdio.h: No such file or directory
mul.c: In function ‘main’:
mul.c:8: warning: incompatible implicit declaration of built-in function ‘printf’
what to do now...i am new to linux...anyone please help me...
 
Old 08-16-2008, 04:29 AM   #2
B Dey
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Rep: Reputation: 0
Don't include stdio.h

For printf, Its a warning....

You can send me your full code.
 
Old 08-16-2008, 04:45 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You need to install whatever package provides stdio.h. I don't know what it's called under Ubuntu, but probably something like glibc-devel.
 
Old 08-16-2008, 06:08 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
Ubuntu : 'libc6-dev'

Regards
 
Old 08-17-2008, 01:02 PM   #5
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
hi

ya thank you for replying me...i solved my problem.......my apologies......
 
Old 08-17-2008, 01:04 PM   #6
shariefbe
Member
 
Registered: Aug 2008
Location: Tiruchirappalli, India
Distribution: UBUNTU 11.04
Posts: 368

Original Poster
Rep: Reputation: 31
device driver programming

i want to compile the device driver programming...what is the produre to include an module....what are all the things i have to do...and how to do that things....please anyone help me....
 
Old 08-18-2008, 10:12 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
Very simple, see this ( #4 )
http://www.linuxquestions.org/questi...5/#post3237765
and
http://www.captain.at/programming/kernel-2.6/

Good Luck !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation problem lamtab Linux - Newbie 5 11-12-2007 06:28 PM
C++ Compilation problem with G++ nelnel Programming 6 07-06-2005 10:58 PM
Compilation Problem jonty_11 Programming 4 03-24-2005 10:45 PM
c compilation problem edreddy Programming 5 06-02-2004 01:37 PM
Compilation problem... need help Korshun Programming 2 05-07-2002 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration