multiple definitions in system makefiles

Don Fisher (dfisher@as.arizona.edu)
Sat, 13 Sep 1997 14:45:08 -0700


I was trying to rebuild xosview using the new glibc. I have
been running into many problems with include files. For
example,

netmeter.cc includes 1) /usr/include/netinet/in.h
(glibc-2.0.5) and 2)
/usr/include/linux/if.h (linux 2.1.55).

1) in.h includes /usr/include/sys/socket.h which then
includes /usr/include/socketbits.h.

2) if.h includes /usr/include/linux/socket.h.

linux/socket.h and socketbits.h both define all of the
socket address families and protocol families.

How should this type of error be reported/fixed? Is this
the correct channel?

thanks
don

-- 
*******************************************************************
*    Don Fisher				  dfisher@as.arizona.edu  *
*    MMT Observatory			  VOICE: (520)621-7647	  *
*    University of Arizona    		  FAX:   (520)670-5740	 
*            
*    Tucson, AZ  85721                				  *              
*******************************************************************