* Re: header files missing
2011-12-12 14:38 ` ratheesh kannoth
@ 2011-12-12 14:59 ` Javier Martinez Canillas
2011-12-12 15:01 ` Jonathan Isom
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: Javier Martinez Canillas @ 2011-12-12 14:59 UTC (permalink / raw)
To: ratheesh kannoth
Cc: Jean-Marc Simohand, linux-newbie,
linux-c-programming@vger.kernel.org
On Mon, Dec 12, 2011 at 3:38 PM, ratheesh kannoth
<ratheesh.ksz@gmail.com> wrote:
> On Mon, Dec 12, 2011 at 8:04 PM, Jean-Marc Simohand
> <jeanmarc.simohand@maxim-ic.com> wrote:
>>
>> Hi Ratheesh,
>> did you install the "build-essential package" ?
>>
>> sudo apt-get install build-essential
>>
>
> i don't have apt-get or yum. its a custom compiled kernel.
>
I think you are mixing concepts here. stdio.h and others are ANSI C
user-space library headers. These comes with a C library like glibc.
The kernel has nothing to do about it. Unless you want to compile
user-space applications that use kernel headers.
Best regards,
--
Javier Martínez Canillas
(+34) 682 39 81 69
Barcelona, Spain
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: header files missing
2011-12-12 14:38 ` ratheesh kannoth
2011-12-12 14:59 ` Javier Martinez Canillas
@ 2011-12-12 15:01 ` Jonathan Isom
2011-12-12 15:04 ` Renjith Gopinadhan
2011-12-12 15:03 ` Jean-Marc Simohand
2011-12-14 15:20 ` Yichao Yu
3 siblings, 1 reply; 11+ messages in thread
From: Jonathan Isom @ 2011-12-12 15:01 UTC (permalink / raw)
To: ratheesh kannoth
Cc: Jean-Marc Simohand, linux-newbie,
linux-c-programming@vger.kernel.org
On Mon, Dec 12, 2011 at 8:38 AM, ratheesh kannoth
<ratheesh.ksz@gmail.com> wrote:
> On Mon, Dec 12, 2011 at 8:04 PM, Jean-Marc Simohand
> <jeanmarc.simohand@maxim-ic.com> wrote:
>>
>> Hi Ratheesh,
>> did you install the "build-essential package" ?
>>
>> sudo apt-get install build-essential
>>
>
> i don't have apt-get or yum. its a custom compiled kernel.
Hi
What distro are you running? those header are part glibc & glibc-dev
on many distros.
Later
Jonathan
>> --
>> Best Regards,
>> Jean-Marc Simohand
>> Sr. MTS Applications
>> Maxim Integrated Products
>> ZI Athelia IV - Le Forum, Bat A
>> Quartier Roumagoua
>> 13600 La Ciotat - France
>> Phone +33 (0)4.42.98.18.25
>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: header files missing
2011-12-12 15:01 ` Jonathan Isom
@ 2011-12-12 15:04 ` Renjith Gopinadhan
2011-12-14 13:18 ` Glynn Clements
0 siblings, 1 reply; 11+ messages in thread
From: Renjith Gopinadhan @ 2011-12-12 15:04 UTC (permalink / raw)
To: Jonathan Isom, ratheesh kannoth
Cc: Jean-Marc Simohand, linux-newbie,
linux-c-programming@vger.kernel.org
Surely, he has glibc installed, but the issue is that anything to do with the PATH variable or anyother environment variable settings?
-----Original Message-----
From: linux-newbie-owner@vger.kernel.org [mailto:linux-newbie-owner@vger.kernel.org] On Behalf Of Jonathan Isom
Sent: 12 December 2011 15:01
To: ratheesh kannoth
Cc: Jean-Marc Simohand; linux-newbie; linux-c-programming@vger.kernel.org
Subject: Re: header files missing
On Mon, Dec 12, 2011 at 8:38 AM, ratheesh kannoth <ratheesh.ksz@gmail.com> wrote:
> On Mon, Dec 12, 2011 at 8:04 PM, Jean-Marc Simohand
> <jeanmarc.simohand@maxim-ic.com> wrote:
>>
>> Hi Ratheesh,
>> did you install the "build-essential package" ?
>>
>> sudo apt-get install build-essential
>>
>
> i don't have apt-get or yum. its a custom compiled kernel.
Hi
What distro are you running? those header are part glibc & glibc-dev on many distros.
Later
Jonathan
>> --
>> Best Regards,
>> Jean-Marc Simohand
>> Sr. MTS Applications
>> Maxim Integrated Products
>> ZI Athelia IV - Le Forum, Bat A
>> Quartier Roumagoua
>> 13600 La Ciotat - France
>> Phone +33 (0)4.42.98.18.25
>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-c-programming" in the body of a message to
> majordomo@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Privacy & Confidentiality Notice
-------------------------------------------------
This message and any attachments contain privileged and confidential information that is intended solely for the person(s) to whom it is addressed. If you are not an intended recipient you must not: read; copy; distribute; discuss; take any action in or make any reliance upon the contents of this message; nor open or read any attachment. If you have received this message in error, please notify us as soon as possible on the following telephone number and destroy this message including any attachments. Thank you.
-------------------------------------------------
Wolfson Microelectronics plc
Tel: +44 (0)131 272 7000
Fax: +44 (0)131 272 7001
Web: www.wolfsonmicro.com
Registered in Scotland
Company number SC089839
Registered office:
Westfield House, 26 Westfield Road, Edinburgh, EH11 2QB, UK
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: header files missing
2011-12-12 15:04 ` Renjith Gopinadhan
@ 2011-12-14 13:18 ` Glynn Clements
2011-12-14 14:14 ` Aniruddha Bhattacharyya
0 siblings, 1 reply; 11+ messages in thread
From: Glynn Clements @ 2011-12-14 13:18 UTC (permalink / raw)
To: linux-c-programming
Renjith Gopinadhan wrote:
> Surely, he has glibc installed, but the issue is that anything to do
> with the PATH variable or anyother environment variable settings?
Most distros split libraries into runtime and development packages.
Shared libraries are in the runtime package, headers are in the
development package.
He'll certainly have the runtime package for glibc, but he won't
necessarily have the development package.
--
Glynn Clements <glynn@gclements.plus.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: header files missing
2011-12-14 13:18 ` Glynn Clements
@ 2011-12-14 14:14 ` Aniruddha Bhattacharyya
2011-12-14 15:15 ` Yichao Yu
0 siblings, 1 reply; 11+ messages in thread
From: Aniruddha Bhattacharyya @ 2011-12-14 14:14 UTC (permalink / raw)
To: Glynn Clements; +Cc: linux-c-programming
Some might use dlopen() and dlsym() in case of runtime library
On Wed, Dec 14, 2011 at 6:48 PM, Glynn Clements
<glynn@gclements.plus.com> wrote:
>
>
> Renjith Gopinadhan wrote:
>
> > Surely, he has glibc installed, but the issue is that anything to do
> > with the PATH variable or anyother environment variable settings?
>
> Most distros split libraries into runtime and development packages.
> Shared libraries are in the runtime package, headers are in the
> development package.
>
> He'll certainly have the runtime package for glibc, but he won't
> necessarily have the development package.
>
> --
> Glynn Clements <glynn@gclements.plus.com>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: header files missing
2011-12-14 14:14 ` Aniruddha Bhattacharyya
@ 2011-12-14 15:15 ` Yichao Yu
0 siblings, 0 replies; 11+ messages in thread
From: Yichao Yu @ 2011-12-14 15:15 UTC (permalink / raw)
To: Aniruddha Bhattacharyya; +Cc: Glynn Clements, linux-c-programming
On Wed, Dec 14, 2011 at 9:14 AM, Aniruddha Bhattacharyya
<aniruddha.aot@gmail.com> wrote:
> Some might use dlopen() and dlsym() in case of runtime library
I suppose the "runtime" here just means shared libraries that is
loaded by dynamic linker (not sth like plugins) instead of those
headers which are not necessary at "runtime". So dlopen() and dlsym()
are not necessary (and probably not possible for glibc).
>
> On Wed, Dec 14, 2011 at 6:48 PM, Glynn Clements
> <glynn@gclements.plus.com> wrote:
>>
>>
>> Renjith Gopinadhan wrote:
>>
>> > Surely, he has glibc installed, but the issue is that anything to do
>> > with the PATH variable or anyother environment variable settings?
>>
>> Most distros split libraries into runtime and development packages.
>> Shared libraries are in the runtime package, headers are in the
>> development package.
>>
>> He'll certainly have the runtime package for glibc, but he won't
>> necessarily have the development package.
>>
>> --
>> Glynn Clements <glynn@gclements.plus.com>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: header files missing
2011-12-12 14:38 ` ratheesh kannoth
2011-12-12 14:59 ` Javier Martinez Canillas
2011-12-12 15:01 ` Jonathan Isom
@ 2011-12-12 15:03 ` Jean-Marc Simohand
2011-12-14 15:20 ` Yichao Yu
3 siblings, 0 replies; 11+ messages in thread
From: Jean-Marc Simohand @ 2011-12-12 15:03 UTC (permalink / raw)
To: ratheesh kannoth; +Cc: linux-newbie, linux-c-programming@vger.kernel.org
Le 12/12/2011 15:38, ratheesh kannoth a écrit :
> On Mon, Dec 12, 2011 at 8:04 PM, Jean-Marc Simohand
> <jeanmarc.simohand@maxim-ic.com> wrote:
>>
>> Hi Ratheesh,
>> did you install the "build-essential package" ?
>>
>> sudo apt-get install build-essential
>>
>
> i don't have apt-get or yum. its a custom compiled kernel.
>
>> --
>> Best Regards,
>> Jean-Marc Simohand
>> Sr. MTS Applications
>> Maxim Integrated Products
>> ZI Athelia IV - Le Forum, Bat A
>> Quartier Roumagoua
>> 13600 La Ciotat - France
>> Phone +33 (0)4.42.98.18.25
>>
>>
Ok,
If your custom kernel is on an embedded target you can use ucLibc. If
you are runing on a host (a PC) you can download Libc6.
But there is a but... these headers are for userland not for kernel dev.
for the kernel dev, download you kernel headers it's something like
linux-headers.2.6.xx-yy
Note: for embedded systems you can use buildroot which will help you to
download & install all that you need.
--
Best Regards,
Jean-Marc Simohand
Sr. MTS Applications
Maxim Integrated Products
ZI Athelia IV - Le Forum, Bat A
Quartier Roumagoua
13600 La Ciotat - France
Phone +33 (0)4.42.98.18.25
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: header files missing
2011-12-12 14:38 ` ratheesh kannoth
` (2 preceding siblings ...)
2011-12-12 15:03 ` Jean-Marc Simohand
@ 2011-12-14 15:20 ` Yichao Yu
3 siblings, 0 replies; 11+ messages in thread
From: Yichao Yu @ 2011-12-14 15:20 UTC (permalink / raw)
To: ratheesh kannoth
Cc: Jean-Marc Simohand, linux-newbie,
linux-c-programming@vger.kernel.org
On Mon, Dec 12, 2011 at 9:38 AM, ratheesh kannoth
<ratheesh.ksz@gmail.com> wrote:
> On Mon, Dec 12, 2011 at 8:04 PM, Jean-Marc Simohand
> <jeanmarc.simohand@maxim-ic.com> wrote:
>>
>> Hi Ratheesh,
>> did you install the "build-essential package" ?
>>
>> sudo apt-get install build-essential
>>
>
> i don't have apt-get or yum. its a custom compiled kernel.
Do you mean u r using LFS system? but in that way you should have
header files installed along with binaries (if you just ./configure &&
make && make install)
Otherwise you should have a package manager (Don't know any "real"
distro that don't have it.)
Are you sure you don't have the header file or the compiler cannot
find it? How did you install glibc?
>
>> --
>> Best Regards,
>> Jean-Marc Simohand
>> Sr. MTS Applications
>> Maxim Integrated Products
>> ZI Athelia IV - Le Forum, Bat A
>> Quartier Roumagoua
>> 13600 La Ciotat - France
>> Phone +33 (0)4.42.98.18.25
>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread