From: Trenton Tuggle (tuggle@indy)
Date: 07/06/93


From: tuggle@indy (Trenton Tuggle)
Subject: bugs in inc-4.4, net2 etc...
Date: Wed, 7 Jul 1993 04:36:38 GMT

Hey,

I've had the pl10 kernel for a while now. It's nice.

So I decided to setup net & get new gcc & libs. The net setup won't work,
but let me leave that for later, cause I think the following possible error
might be more intresting...

In the inc-4.4 stuff we're told to like usual, link the include/linux
directories & all to the /usr/src/linux stuff. But there's a little-known
conflict there! When compiling some wierd network stuff, gcc (new one)
complains about two incompatable type definitions for IPPROTO_* stuff:
enum { IPPROTO_IP, IPPROTO_TCP, IPPROTO_UDP , etc...

The duplication is between /usr/include/linux/in.h and
                        /usr/include/netinet/in.h
The program included both, whic have the duplicate definition.

Intrestingly enough, the enum definition was in fact the same (it should
be!) so I just #ifdef'd one out... I don't have time to really play with
it. It compiled fine then. It was ifconfig.c in net-010.

Now, my network problem in the first place, which was causing me to
try and complie all these: I can't set my hostname! Man, I have no
idea what the deal is, I installed it all almost per-faq, but when I
try to set the hostname, it always (ALWAYS) says "unknown host: "

Of course that's cause the gethostbyname() is returning NULL. Now
why would it do something like that? I've got my hosts file, & all.
Hey, I'm not a bad net admin, but I don't know enough about linux
to say what the deal is! So hey, if someone out there could lend me
a few words of wisdom, I'd really appreciate it! My hostname has been
(none) for WAY too long! Even though It'll be a long time before I
get slip running on both ends, I'd like to get my linux box thinking
it's someone, anyone!

Thanks,

Trent
  _________________ tuggle@ist.ucf.edu
   /rent /uggle Institute for Simulation & Training
                            University of Central Florida, Orlando
  [home] (407)695-3497 [work] (407)658-5073