login
Header Space

 
 

problem w/ lib4.4 (header files)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Friday, June 11, 1993 - 2:34 am

Short: 

  lib4.4's <netinet/in.h> defines an enumeration and then includes
pl10's <linux/in.h> which redefines the SAME enumeration which causes
compiler to barf at me.  What did I do wrong?

======================================================================
Long(er):

I've been out of the linux scene for all of may and noticed i needed
to upgrade a few things so I followed the following course of action.

Started with:  linux-0.99pl7, lib4.3.3, gcc2.3.3, libg++2.3
  (all worked fine for over a month)

acquired and installed according to release notes:
libg++-2.3.tar.z  ( I later realized I already had this )
inc-4.4.tar.z
inc-4.3.3-4.4.tar.z
image-4.4.tar.z

I then tried to compile something that included <netinet/in.h> and
discovered that it needed <linux/in.h>, which I didn't have (running
pl7).  So after some digging I discovered that it was there in pl10 so
I now have pl10 (official release not alpha).  Now here comes the
conflict both <netinet/in.h> and <linux/in.h> have:


I have commented out the enumeration statement in <netinet/in.h> but I
can't believe that this is the solution.  So what have I done wrong
here?  

thanks ahead of time for the help.

--
Eric Gustafson                                     egustafs@gem.valpo.edu
Computer Engineering                                Phone: (219) 464-5883
Valparaiso University
** Warning ** Planet is 97% full please remove unneeded inhabitants !!
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
problem w/ lib4.4 (header files), Eric Gustafson, (Fri Jun 11, 2:34 am)
speck-geostationary