Subject: Re: heads up: more de-__Ping
To: None <current-users@NetBSD.org>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: current-users
Date: 02/10/2005 11:15:21
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Feb 7, 2005, at 21:55, Daniel Carosone wrote:

> On Mon, Feb 07, 2005 at 03:26:24PM -0500, Perry E. Metzger wrote:
>>> I can't build audio/libao with the following error.
>>
>> You might want to point that out on tech-pkg...
>>
>>> /usr/include/sys/ioctl.h:91: error: conflicting types for 
>>> `_oss_ioctl'
>>> /usr/include/soundcard.h:309: error: previous declaration of 
>>> `_oss_ioctl'
>
> Perry, both of those headers are in the base system..
>
> What is weird is that there is no mention of 'oss' in sys/ioctl.h, so
> there's some weird macro screw going on.

It looks like i'm having the same problem, with the latest emacs update 
on 2.99.15


cc -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include 
- -L/usr/pkg/lib -L/usr/local/lib  -I/usr/pkg/include 
- -I/usr/pkg/xorg/include -I/usr/include -I/usr/pkg/include/freetype2 
- -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. 
- -I/usr/pkgsrc/editors/emacs/work/emacs-21.3/src -I/usr/X11R6/include 
- -I/usr/pkg/include -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib 
- -I/usr/pkg/xorg/include -O2 -fno-zero-initialized-in-bss 
- -I/usr/pkg/include -I/usr/pkg/xorg/include -I/usr/include 
- -I/usr/pkg/include/freetype2 sound.c
In file included from sound.c:48:
/usr/include/sys/ioctl.h:91: error: conflicting types for `_oss_ioctl'
/usr/include/sys/soundcard.h:309: error: previous declaration of 
`_oss_ioctl'
gmake[1]: *** [sound.o] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/editors/emacs/work/emacs-21.3/src'
gmake: *** [src] Error 2
*** Error code 2

Antoine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCCzQ84VqmoGDE/mwRAqqHAJ9YAs/Kpu+zaZCKhHR/YqlIW9zHUwCbBwpE
iu0sUdivvO55SiaF5jEb2bk=
=ipDm
-----END PGP SIGNATURE-----