Bug 60369 - src/nouveau_exa.c:142:31: error: 'CREATE_PIXMAP_USAGE_SHARED' undeclared (first use in this function)
Summary: src/nouveau_exa.c:142:31: error: 'CREATE_PIXMAP_USAGE_SHARED' undeclared (fir...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 14:52 UTC by Fabio Pedretti
Modified: 2013-02-11 13:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Fabio Pedretti 2013-02-06 14:52:16 UTC
Compiling on Ubuntu 12.04 leads to this error:

make[3]: Entering directory `/build/buildd/xserver-xorg-video-nouveau-1.0.6+git1302061522.e8f222~gd~p/build/src'
  CC     nouveau_exa.lo
../../src/nouveau_exa.c: In function 'nouveau_exa_create_pixmap':
../../src/nouveau_exa.c:142:31: error: 'CREATE_PIXMAP_USAGE_SHARED' undeclared (first use in this function)
../../src/nouveau_exa.c:142:31: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [nouveau_exa.lo] Error 1

Full log here:
https://launchpadlibrarian.net/130533746/buildlog_ubuntu-precise-i386.xserver-xorg-video-nouveau_1%3A1.0.6%2Bgit1302061522.e8f222~gd~p_FAILEDTOBUILD.txt.gz

Compiles fine on Ubuntu 12.10.
Comment 1 Dave Airlie 2013-02-07 00:49:13 UTC
just pushed a fix, try again, reopen if it has another issue, thanks for testing.
Comment 2 Fabio Pedretti 2013-02-07 08:45:21 UTC
Thanks, that one is fixed, there is another issue later on however:

  CC     drmmode_display.lo
../../src/drmmode_display.c: In function 'drmmode_set_mode_major':
../../src/drmmode_display.c:349:22: error: 'struct _rrCrtc' has no member named 'scanout_pixmap'
../../src/drmmode_display.c: In function 'drmmode_set_scanout_pixmap':
../../src/drmmode_display.c:550:23: error: 'struct _rrCrtc' has no member named 'scanout_pixmap'
../../src/drmmode_display.c:551:4: warning: implicit declaration of function 'PixmapStopDirtyTracking' [-Wimplicit-function-declaration]
../../src/drmmode_display.c:551:44: error: 'struct _rrCrtc' has no member named 'scanout_pixmap'
../../src/drmmode_display.c:566:2: warning: implicit declaration of function 'PixmapStartDirtyTracking' [-Wimplicit-function-declaration]
../../src/drmmode_display.c:546:27: warning: unused variable 'drmmode_crtc' [-Wunused-variable]
../../src/drmmode_display.c: At top level:
../../src/drmmode_display.c:582:2: error: unknown field 'set_scanout_pixmap' specified in initializer
../../src/drmmode_display.c:582:2: warning: initialization from incompatible pointer type [enabled by default]
../../src/drmmode_display.c:582:2: warning: (near initialization for 'drmmode_crtc_funcs.shadow_allocate') [enabled by default]

Full log here:
https://launchpadlibrarian.net/130610608/buildlog_ubuntu-precise-amd64.xserver-xorg-video-nouveau_1%3A1.0.6%2Bgit1302070927.61a277~gd~p_FAILEDTOBUILD.txt.gz
Comment 3 Dave Airlie 2013-02-10 23:58:59 UTC
okay try again :-)
Comment 4 Fabio Pedretti 2013-02-11 13:32:19 UTC
It's OK now, thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.