From: Mahesh Neelakanta (mahesh@cybernet.cse.fau.edu)
Date: 05/25/93


From: mahesh@cybernet.cse.fau.edu (Mahesh Neelakanta)
Subject: Re: GCC 2.4 headerfile problem
Date: Tue, 25 May 1993 21:36:28 GMT

In article <mr2C7LHHx.LxM@netcom.com> mr2@netcom.com (Jongyoon Lee) writes:
>I just upgrade my gcc from 2.3.3 to 2.4 with 486 optimized libraries.
>First of all, my ncftp+term which was compiled with DLL jump 4.3
>coredumps. Okay, so there are few incompatibilities.

I've been having this problem when I switched to 4.4 libs. The problem
lies in ncftp...there are two variables called "cin" and "cout" that
should be declared static in ftp.c but are not and thus are conflicting
with a variable with a similar name in the system libs. You can see this
conflict if you compile ncftp with -g. I changed the declaration to
static and ncftp stopped crashing.

>I looked at netinet/in.h, and it indeed wants to include linux/in.h
>which doesn't exist. I'm using kernel 0.99pl9, and maybe that's the
>problem. The release note indicates that I should use 0.99pl9 + ALPHA
>diff or pl10. But pl10 hasn't even come out yet.
>So where do I get that ALPHA diff for pl10??

I've been looking out for it too :-). You can substitute a previous in.h
from an older libc to temporarily get ncftp working..that's what I did.

mahesh
==============================================================================
  Metro Link Incorporated. 2213 W. McNab Rd. Pompano Beach, Florida 33069
 X11.5 and OSF/Motif for QNX, SVR3, SVR4.[012], SCO, Linux, UnixWare, LynxOS,
                  AT&T, Venix, ISC, Solaris, Pyramid, SunOS
 Voice: +1.305.970.7353 Fax: +1.305.970.7351 Email: mahesh@metrolink.com
==============================================================================