[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#17450: marked as done (netinet/in.h and asm/byteorder.h have conflicting types for ntohl/htonl)



Your message dated Tue, 11 May 1999 07:15:52 -0700
with message-id <v04204e02b35dbedd995a@[206.163.71.146]>
and subject line Fixed or no longer applicable.
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 24 Jan 1998 18:56:03 +0000
Received: (qmail 2355 invoked from network); 24 Jan 1998 18:56:02 -0000
Received: from zeus.cs.hut.fi (zeus.cs.hut.fi@130.233.193.35)
  by 205.229.104.5 with SMTP; 24 Jan 1998 18:56:02 -0000
Received: from zeus.cs.hut.fi (localhost.cs.hut.fi [127.0.0.1])
	by zeus.cs.hut.fi (8.8.7/8.8.7/Debian/GNU) with ESMTP id UAA06315
	for <submit@bugs.debian.org>; Sat, 24 Jan 1998 20:57:38 +0200
Message-Id: <199801241857.UAA06315@zeus.cs.hut.fi>
From: Lars Wirzenius <liw@iki.fi>
X-No-Archive: yes
To: submit@bugs.debian.org
Subject: netinet/in.h and asm/byteorder.h have conflicting types for ntohl/htonl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 24 Jan 1998 20:57:37 +0200
Sender: liw@zeus.cs.hut.fi

Package: libc6.1-dev
Version: 2.0.6-2

The following demonstrates the problem (don't worry about the filename
little-endian.c, it's not relevant):

	$ cat little-endian.c
	#include <netinet/in.h>
	#include <asm/byteorder.h>
	
	int foo;
	$ gcc -c little-endian.c
	In file included from little-endian.c:2:
	/usr/include/asm/byteorder.h:17: conflicting types for `ntohl'
	/usr/include/netinet/in.h:198: previous declaration of `ntohl'
	/usr/include/asm/byteorder.h:19: conflicting types for `htonl'
	/usr/include/netinet/in.h:200: previous declaration of `htonl'
	[status 1]
	$ 

netinet/in.h is from libc.  asm/byteorder.h is from kernel-headers-2.0.32
(2.0.32-3); this bug might be more appropriate for that package, I
don't know. I'm using an Alpha, and haven't checked whether the problem
exists on other platforms as well.


Reply to: