build modular Xorg failed: 'EBADF' undeclared

Carlos Eduardo Rodrigues Diógenes cerdiogenes at yahoo.com.br
Mon May 15 14:35:14 PDT 2006


Hi,

I was trying to compile the modular xorg from head, but I received the
following error:

gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I../include -I../include -I../include -I../include -I../include
-DHAVE_DIX_CONFIG_H -DXFree86Server -DXFree86LOADER -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing
-D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/home/kadu/modular/include -I../include -I../include -I../Xext
-I../composite -I../damageext -I../xfixes -I../Xi -I../mi
-I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -g
-MT WaitFor.lo -MD -MP -MF .deps/WaitFor.Tpo -c WaitFor.c  -fPIC -DPIC
-o .libs/WaitFor.o
WaitFor.c: In function 'WaitForSomething':
WaitFor.c:268: error: 'EBADF' undeclared (first use in this function)
WaitFor.c:268: error: (Each undeclared identifier is reported only once
WaitFor.c:268: error: for each function it appears in.)
WaitFor.c:274: error: 'EINVAL' undeclared (first use in this function)
WaitFor.c:279: error: 'EINTR' undeclared (first use in this function)
make[1]: *** [WaitFor.lo] Error 1

Where EBADF, EINVAL and EINTR are declared?

Thanks,
-- 
Carlos Eduardo Rodrigues Diógenes




More information about the xorg mailing list