Hi,

I'm new and trying to build TigerVNC v1.0.90 on Snow Leopard 10.6.6, and
encountered this error:



~/tigervnc-1.0.90# unix/build-xorg build -version 7.4 \
--host x86_64-apple-darwin NASM=/opt/local/bin/nasm  LDFLAGS='-L/opt/local/lib'
...
...
...
======================
building libdrm
======================
Making install in libdrm
Making install in .
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. \
-I../shared-core -g -O2 -MT xf86drm.lo -MD -MP -MF .deps/xf86drm.Tpo -c \
-o xf86drm.lo xf86drm.c gcc -DHAVE_CONFIG_H -I. -I../shared-core -g -O2 -MT \
xf86drm.lo -MD -MP -MF 
.deps/xf86drm.Tpo -c xf86drm.c  -fno-common -DPIC -o .libs/xf86drm.o
xf86drm.c: In function 'drmCommandRead':
xf86drm.c:2311: error: 'DRM_IOC_READ' undeclared (first use in this function)
xf86drm.c:2311: error: (Each undeclared identifier is reported only once
xf86drm.c:2311: error: for each function it appears in.)
xf86drm.c: In function 'drmCommandWrite':
xf86drm.c:2340: error: 'DRM_IOC_WRITE' undeclared (first use in this function)
xf86drm.c: In function 'drmCommandWriteRead':
xf86drm.c:2369: error: 'DRM_IOC_READ' undeclared (first use in this function)
xf86drm.c:2369: error: 'DRM_IOC_WRITE' undeclared (first use in this function)
make[2]: *** [xf86drm.lo] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

Here's my system info:

# gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# uname -varnm
Darwin xxx.yyy.com 10.7.1 Darwin Kernel Version 10.7.1: Mon Jan 31 14:55:53 
PST 2011; root:xnu-1504.10.48~4/RELEASE_X86_64 x86_64


I've MacPorts installed on my system and need to install these packages before
building TigerVNC:

# port install xorg-libXent
# port install nasm

Any idea on what set of header files I might be missing?  

--- Jeffrey


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to