lkml.org 
[lkml]   [1997]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateSun, 14 Sep 1997 02:23:11 -0400
FromFrank Sweetser <>
Subjectmultiple definitions in system makefiles
==> Regarding multiple definitions in system makefiles; Don Fisher <dfisher@as.arizona.edu> adds:

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

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

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

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

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

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

This should be reported to whoever maintains those particular programs.
From what I understand, part of the goals of glibc is to allow programs to
not need to include kernel headers. Try editing the files to remove any
comments to linux/*.h includes.
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.res.wpi.net RedHat Linux 2.0.31pre9 i486 | at public servers
Woody: How are you today, Mr. Peterson?
Norm: Never been better, Woody. ... Just once I'd like to be better.
-- Cheers, Chambers vs. Malone
\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2010