xscope compilation error

Rui Tiago Cação Matos tiagomatos at gmail.com
Sun Jan 4 17:01:20 PST 2009


Hi,

I got xscope from git://anongit.freedesktop.org/~alanc/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.

Rui



More information about the xorg mailing list