http://bugs.freedesktop.org/show_bug.cgi?id=23591

           Summary: cannot build libdrm-2.4.13: libudev.h: No such file or
                    directory
           Product: DRI
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libdrm
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: pi00100...@gmail.com


I'm trying to manually build libdrm-2.4.13. I passed to the configure script
the following arguments: --prefix=/usr --build=i686-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --disable-udev. I get the following error after
having issued `make':

/bin/sh ../libtool --tag=CC   --mode=compile x86_64-unknown-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I../../libdrm-2.4.13/tests -I../libdrm  -I
../../libdrm-2.4.13/shared-core -I ../../libdrm-2.4.13/libdrm   -g -O2 -MT
drmtest.lo -MD -MP -MF .deps/drmtest.Tpo -c -o drmtest.lo
../../libdrm-2.4.13/tests/drmtest.c
libtool: compile:  x86_64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I../../libdrm-2.4.13/tests -I../libdrm -I ../../libdrm-2.4.13/shared-core -I
../../libdrm-2.4.13/libdrm -g -O2 -MT drmtest.lo -MD -MP -MF .deps/drmtest.Tpo
-c ../../libdrm-2.4.13/tests/drmtest.c  -fPIC -DPIC -o .libs/drmtest.o
../../libdrm-2.4.13/tests/drmtest.c:34:21: error: libudev.h: No such file or
directory
../../libdrm-2.4.13/tests/drmtest.c: In function 'drm_open_matching':
../../libdrm-2.4.13/tests/drmtest.c:65: warning: assignment makes pointer from
integer without a cast
../../libdrm-2.4.13/tests/drmtest.c:72: warning: assignment makes pointer from
integer without a cast
../../libdrm-2.4.13/tests/drmtest.c:75: error: expected ';' before '{' token
make[2]: *** [drmtest.lo] Error 1
make[2]: Leaving directory `/mnt/clfs/sources/libdrm-build/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/libdrm-build/tests'
make: *** [all-recursive] Error 1

I think this is a bug because the build process should not look for libudev.h
if I asked for --disable-udev.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to