Typedef conflict for 'mode_t' trying to compile gnome-network.




I get the a number of occurances of the following error when a
ttempting to compile gnome-network:

   In file included from /usr/include/netatalk/at.h:22,
                    from /usr/include/bits/sockunion.h:25,
                    from /usr/include/sys/socket.h:37,
                    from global.h:6,
                    from talk.c:13:
   /usr/include/asm/types.h:4: conflicting types for `mode_t'
   /usr/include/sys/types.h:67: previous declaration of `mode_t'

I have glibc-2.0.109-0.990109 and glibc-devel-2.0.109-0.990109
installed from rawhide.redhat.com.

Here is line 4 of /usr/include/asm/types.h:
	typedef unsigned short umode_t;

and here is line 67 of /usr/include/sys/types.h:
	typedef __mode_t mode_t; 

Do I need to update my compiler or is there a simple tweak I can apply
the these include files?  Sorry for not seeing why these typedefs would
conflict.

	Miles

	Miles Lane
	Amazon.com
	1516 2nd Ave.
	Seattle, WA  98101
	(206)729-1362 -- Home

____________________________________________________________________
More than just email--Get your FREE Netscape WebMail account today at http://home.netscape.com/netcenter/mail



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