xscope compilation error
Alan Coopersmith
Alan.Coopersmith at Sun.COM
Mon Jan 5 12:47:57 PST 2009
Rui Tiago Cação Matos wrote:
> Hi,
>
> I got xscope from git://anongit.freedesktop.org/~alanc/xscope
That's an old tree - the master is now at:
git://anongit.freedesktop.org/xorg/app/xscope
> but it
> doesn't compile:
>
> gcc -DHAVE_CONFIG_H -I. -D_BSD_SOURCE -DHAS_FCHOWN
> -DHAS_STICKY_DIR_BIT -DUSE_XTRANS -g -O2 -MT scope.o -MD -MP -MF
> .deps/scope.Tpo -c -o scope.o scope.c
> scope.c:73: error: 'MAXHOSTNAMELEN' undeclared here (not in a function)
>
> I believe that, in Linux, the right thing to do is to #include
> <linux/param.h> but as I consistently fail at getting the autotools to
> do what I want I'm just reporting this without a patch, sorry.
Does the <sys/param.h> patch added for cygwin fix this for you?
http://cgit.freedesktop.org/xorg/app/xscope/commit/?id=eb05316a471da962eefe82c9b9a16a7590653ba7
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg
mailing list