Ubuntu Forums Archive Viewer

Compiling problem

Archived thread 102364 from Packaging and Compiling Programs. Markdown source: Packaging_and_Compiling_Programs/thread_102364_Compiling_problem.md

Original URL About this archive
#1

I hope I made thread in the right place...I have a problem compiling my c programmes. I have installed gcc compiler in console with the command apt-get install gcc and everything worked fine.But when I try to compile a c file it returns me that it doesn't recognises the *.h files even though I searched them and I found them in my system for example stdio.h library is located in /usr/lib/perl/5.8.7/CORE/nostdio.h (this is the result returned by 'locate' command). So there must be a problem with the linker. What can I do to fix it?Thanx!

#2

Do u install libc6-dev package?

#3

Do u install libc6-dev package? I don't thing so but how can I do it?I'm new in linux and I will need some more help...

#4

I don't thing so but how can I do it?I'm new in linux and I will need some more help...

apt-get update apt-get install libc6-dev

#5

Thanks a lot!That helped!I search for this in net generally and I also installed a builter and now eveything works just fine!Thanks for your time! :D :p