X-Spam-Check-By: sourceware.org Message-ID: <36bf289b0601080559p185bfaadlb05b3228f6ce372b@mail.gmail.com> Date: Sun, 8 Jan 2006 19:29:29 +0530 From: Vijay Kiran Kamuju To: cygwin AT cygwin DOT com Subject: Re: cygwin Digest 6 Jan 2006 16:37:18 -0000 Issue 4727 In-Reply-To: <1136565438.14880.ezmlm@cygwin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <1136565438 DOT 14880 DOT ezmlm AT cygwin DOT com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k08Dxb24023269 On 6 Jan 2006 16:37:18 -0000, cygwin-digest-help AT cygwin DOT com > cygwin and getline > 117072 by: Vijay Kiran Kamuju > 117085 by: ericblake AT comcast DOT net (Eric Blake) > 117086 by: Vijay Kiran Kamuju > 117094 by: Christopher Faylor > > Cygwin and getsubopt > 117073 by: Vijay Kiran Kamuju > 117075 by: Brian Dessent > 117093 by: Christopher Faylor > 117095 by: Chris Taylor > > ---------- Forwarded message ---------- > From: Vijay Kiran Kamuju > To: cygwin AT cygwin DOT com > Date: Fri, 6 Jan 2006 11:20:11 +0530 > Subject: cygwin and getline > Hi, > > I am using cygwin 1.18. > I am trying to compile a simple test program using the function > getline which is defined in stdio.h > I am getting symbol unreferenced errors while linking. > Is the function unimplemented. i think its unimplemented as i even > tried to find the string entry for getline function in the dlls using > the nm and strings utilities. > > Thanks and Regards, > Vijay > > > > > ---------- Forwarded message ---------- > From: ericblake AT comcast DOT net (Eric Blake) > To: Vijay Kiran Kamuju , cygwin AT cygwin DOT com > Date: Fri, 06 Jan 2006 13:08:05 +0000 > Subject: Re: cygwin and getline > > I am using cygwin 1.18. > > I am trying to compile a simple test program using the function > > getline which is defined in stdio.h > > cygwin getline does not exist in 1.5.18, but was implemented > a few days later and is available in snapshots. In the meantime, > if you don't want to use and compile against a snapshot, wait for > 1.5.19, or use a different version of getline (for example, coreutils > 5.3.0 uses the gnulib-provided replacement). > > -- > Eric Blake > > > > > ---------- Forwarded message ---------- > From: Vijay Kiran Kamuju > To: Eric Blake > Date: Fri, 6 Jan 2006 18:40:12 +0530 > Subject: Re: cygwin and getline > Hi , > > I am also facing the same problem for getsubopt function > > Thanks and Regards, > Vijay > > On 1/6/06, Eric Blake wrote: > > > I am using cygwin 1.18. > > > I am trying to compile a simple test program using the function > > > getline which is defined in stdio.h > > > > cygwin getline does not exist in 1.5.18, but was implemented > > a few days later and is available in snapshots. In the meantime, > > if you don't want to use and compile against a snapshot, wait for > > 1.5.19, or use a different version of getline (for example, coreutils > > 5.3.0 uses the gnulib-provided replacement). > > > > -- > > Eric Blake > > > > > > > ---------- Forwarded message ---------- > From: Christopher Faylor > To: cygwin AT cygwin DOT com > Date: Fri, 6 Jan 2006 11:08:43 -0500 > Subject: Re: cygwin and getline > On Fri, Jan 06, 2006 at 06:40:12PM +0530, Vijay Kiran Kamuju wrote: > >Hi , > > > >I am also facing the same problem for getsubopt function > > Ahahahaha. > > cgf > > (starting to hyperventilate and just had a narrow lightening miss) > > > > > ---------- Forwarded message ---------- > From: Vijay Kiran Kamuju > To: cygwin AT cygwin DOT com > Date: Fri, 6 Jan 2006 15:04:01 +0530 > Subject: Cygwin and getsubopt > Hi, > > I could see getsubopt declaration in the unistd.h > but in unix/linux its defined in stdlib.h > i have also noticed that cygwin1.dll does not have that function implemented. > as strings cygwin1.dll as of the 20060105 snapshot debug version did > not give any results for the string getsubopt. > Its well supported in all of the unices, i dont know how we missed on it. > Thanks, > Vijay > > > > > ---------- Forwarded message ---------- > From: Brian Dessent > To: cygwin AT cygwin DOT com > Date: Fri, 06 Jan 2006 02:44:47 -0800 > Subject: Re: Cygwin and getsubopt > Vijay Kiran Kamuju wrote: > > > I could see getsubopt declaration in the unistd.h > > but in unix/linux its defined in stdlib.h > > The definition in that header file actually comes from newlib, which > contains an implementation of the function. But, it's not listed in > cygwin.din which means it's present but not exported. > > Brian > > > > > ---------- Forwarded message ---------- > From: Christopher Faylor > To: cygwin AT cygwin DOT com > Date: Fri, 6 Jan 2006 11:07:38 -0500 > Subject: Re: Cygwin and getsubopt > On Fri, Jan 06, 2006 at 03:04:01PM +0530, Vijay Kiran Kamuju wrote: > >Hi, > > > >I could see getsubopt declaration in the unistd.h > >but in unix/linux its defined in stdlib.h > >i have also noticed that cygwin1.dll does not have that function implemented. > >as strings cygwin1.dll as of the 20060105 snapshot debug version did > >not give any results for the string getsubopt. > >Its well supported in all of the unices, i dont know how we missed on it. > > Mwuhahaha. > > *wring fingers, cackle insanely, lightening flashes in background* > > cgf > > > > > ---------- Forwarded message ---------- > From: Chris Taylor > To: cygwin AT cygwin DOT com > Date: Fri, 06 Jan 2006 16:18:07 +0000 > Subject: Re: Cygwin and getsubopt > Christopher Faylor wrote: > > On Fri, Jan 06, 2006 at 03:04:01PM +0530, Vijay Kiran Kamuju wrote: > > > >>Hi, > >> > >>I could see getsubopt declaration in the unistd.h > >>but in unix/linux its defined in stdlib.h > >>i have also noticed that cygwin1.dll does not have that function implemented. > >>as strings cygwin1.dll as of the 20060105 snapshot debug version did > >>not give any results for the string getsubopt. > >>Its well supported in all of the unices, i dont know how we missed on it. > > > > > > Mwuhahaha. > > > > *wring fingers, cackle insanely, lightening flashes in background* > > > > cgf > > > > > > *spellcheckers cringe* ? ;) > > > Vijay: you shouldn't expect something to be in cygwin just because all > the other unix derivatives you've used have it.. > Cygwin aims for POSIX compliance, and it's an ongoing project to get there.. > These things take time.. I'm sure that this applies: > http://cygwin.com/acronyms/#PTC > > > Chris > -- > > Spinning complacently in the darkness, covered and blinded by a blanket > of little lives, false security has lulled the madness of this world > into a slumber. Wake up! An eye is upon you, staring straight down and > keenly through, seeing all that you are and everything that you will > never be. Yes, an eye is upon you, an eye ready to blink. So face > forward, with arms wide open and mind reeling. Your future has > arrived... Are you ready to go? > > > Thanks all for ur HELP, so when i can i get to see cygwin 1.19 its mo.....re than 6months :(( I am sure that i will be flamed for this. Something happened to CGF, he was not like this b4 i mean 1 year back ;) :P > > Mwuhahaha. > > > > *wring fingers, cackle insanely, lightening flashes in background* > > > > cgf > Ahahahaha. > > cgf > > (starting to hyperventilate and just had a narrow lightening miss) Thanks, Vijay -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/