[Nouveau] [Bug 76376] New: mesa does not build after nouveau loader changes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 19 19:18:28 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76376

          Priority: medium
            Bug ID: 76376
          Assignee: nouveau at lists.freedesktop.org
           Summary: mesa does not build after nouveau loader changes
          Severity: normal
    Classification: Unclassified
                OS: OpenBSD
          Reporter: jsg at openbsd.org
          Hardware: Other
            Status: NEW
           Version: git
         Component: Drivers/DRI/nouveau
           Product: Mesa

After commit 51989817e6767d8ef469708c69d7ce38b87e9b6e mesa does not build here
when configured with

--with-gallium-drivers=r300,r600,swrast \
--with-dri-drivers=i915,i965,r200,radeon,swrast \

libtool: compile:  gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"10.2.0-devel\" "-DPACKAGE_STRING=\"Mesa 10.2.0-devel\""
"-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\""
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.2.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DYYTEXT_POINTER=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1
-DHAVE_PTHREAD=1 -I. -DDEBUG -DUSE_X86_64_ASM -DHAVE_DLOPEN
-DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS
-DHAVE_MINCORE -I../../include -fvisibility=hidden -I/usr/X11R6/include
-I/usr/include/dev/pci/drm -I/usr/local/include -I/usr/local/include/libelf -g
-O2 -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -g -O0 -MT
libloader_la-pci_id_driver_map.lo -MD -MP -MF
.deps/libloader_la-pci_id_driver_map.Tpo -c pci_id_driver_map.c  -fPIC -DPIC -o
.libs/libloader_la-pci_id_driver_map.o
pci_id_driver_map.c:29:25: error: nouveau_drm.h: No such file or directory
pci_id_driver_map.c: In function 'nouveau_chipset':
pci_id_driver_map.c:34: error: variable 'gp' has initializer but incomplete
type
pci_id_driver_map.c:34: error: 'NOUVEAU_GETPARAM_CHIPSET_ID' undeclared (first
use in this function)
pci_id_driver_map.c:34: error: (Each undeclared identifier is reported only
once
pci_id_driver_map.c:34: error: for each function it appears in.)
pci_id_driver_map.c:34: warning: excess elements in struct initializer
pci_id_driver_map.c:34: warning: (near initialization for 'gp')
pci_id_driver_map.c:34: warning: excess elements in struct initializer
pci_id_driver_map.c:34: warning: (near initialization for 'gp')
pci_id_driver_map.c:34: error: storage size of 'gp' isn't known
pci_id_driver_map.c:37: error: 'DRM_NOUVEAU_GETPARAM' undeclared (first use in
this function)
pci_id_driver_map.c:34: warning: unused variable 'gp'
pci_id_driver_map.c:42: warning: control reaches end of non-void function
Makefile:512: recipe for target 'libloader_la-pci_id_driver_map.lo' failed

nouveau headers should not be included unless nouveau is being built.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140320/994cd5e4/attachment-0001.html>


More information about the Nouveau mailing list