On Tue, Aug 24, 2010 at 6:43 AM, Huang, FrankR <[email protected]> wrote: >> * Change all the Xfree, Xcalloc, Xmalloc calls to use the standard C >> equivalents (reason: being obsoleted starting with X server 1.9). > What does this mean? What part work we need to do?
See the attached build log when building Geode 2.11.9 against Xserver 1.9.0 for details. Martin-Éric
make all-recursive make[1]: Entering directory `/tmp/xserver-xorg-video-geode-2.11.9' Making all in src make[2]: Entering directory `/tmp/xserver-xorg-video-geode-2.11.9/src' CC geode_driver.lo CC geode_common.lo CC geode_dcon.lo geode_dcon.c: In function 'DCONDPMSSet': geode_dcon.c:83: warning: ignoring return value of 'write', declared with attribute warn_unused_result CC geode_ddc.lo CC geode_msr.lo CC gx_driver.lo gx_driver.c: In function 'GXPreInit': gx_driver.c:450: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) gx_driver.c: In function 'GXCloseScreen': gx_driver.c:963: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_driver.c:964: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_driver.c:969: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_driver.c:975: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_driver.c: In function 'GXScreenInit': gx_driver.c:1262: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) gx_driver.c:1265: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) gx_driver.c: In function 'GeodeFreeRec': gx_driver.c:1538: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) CC gx_accel.lo CC gx_cursor.lo CC gx_video.lo gx_video.c: In function 'GXInitVideo': gx_video.c:185: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) gx_video.c:201: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_video.c: In function 'GXSetupImageVideo': gx_video.c:377: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) gx_video.c: In function 'GXAllocateSurface': gx_video.c:1406: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) gx_video.c:1409: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) gx_video.c:1410: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_video.c:1414: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) gx_video.c:1415: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_video.c:1416: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_video.c: In function 'GXFreeSurface': gx_video.c:1455: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_video.c:1456: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_video.c:1457: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) gx_video.c: In function 'GXInitOffscreenImages': gx_video.c:1545: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) CC gx_regacc.lo CC gx_rotate.lo CC gx_randr.lo gx_randr.c: In function 'GXRandRInit': gx_randr.c:347: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) gx_randr.c:352: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) CC durango.lo CC panel.lo CC lx_driver.lo lx_driver.c: In function 'LXPreInit': lx_driver.c:316: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) lx_driver.c: In function 'LXCloseScreen': lx_driver.c:701: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) CC lx_cursor.lo CC lx_memory.lo lx_memory.c: In function 'GeodeFreeOffscreen': lx_memory.c:72: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) lx_memory.c: In function 'GeodeAllocRemainder': lx_memory.c:86: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) lx_memory.c:98: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) lx_memory.c: In function 'GeodeAllocOffscreen': lx_memory.c:128: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) lx_memory.c:152: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) lx_memory.c: In function 'GeodeCloseOffscreen': lx_memory.c:310: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) CC lx_panel.lo CC lx_output.lo lx_output.c: In function 'lx_output_destroy': lx_output.c:245: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) CC lx_display.lo CC lx_video.lo lx_video.c: In function 'LXSetupImageVideo': lx_video.c:680: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225) lx_video.c: In function 'LXAllocateSurface': lx_video.c:825: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) lx_video.c:827: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) lx_video.c:829: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) lx_video.c:847: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) lx_video.c:850: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) lx_video.c: In function 'LXFreeSurface': lx_video.c:884: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) lx_video.c:885: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) lx_video.c:886: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) lx_video.c: In function 'LXInitOffscreenImages': lx_video.c:911: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) lx_video.c: In function 'LXInitVideo': lx_video.c:960: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) lx_video.c:976: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) CC lx_exa.lo CC cimarron.lo CCLD geode_drv.la CC z4l.lo z4l.c: In function 'Z4lNewEncoding': z4l.c:963: warning: 'Xrealloc' is deprecated (declared at /usr/include/xorg/os.h:229) z4l.c: In function 'Z4lAddEncoding': z4l.c:1032: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) z4l.c: In function 'Z4lNewImage': z4l.c:1058: warning: 'Xrealloc' is deprecated (declared at /usr/include/xorg/os.h:229) z4l.c: In function 'Z4lNewAttribute': z4l.c:1084: warning: 'Xrealloc' is deprecated (declared at /usr/include/xorg/os.h:229) z4l.c: In function 'Z4lAddAttribute': z4l.c:1130: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) z4l.c: In function 'Z4lNewAdaptor': z4l.c:1152: warning: 'Xrealloc' is deprecated (declared at /usr/include/xorg/os.h:229) z4l.c:1161: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) z4l.c: In function 'Z4lInit': z4l.c:1562: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221) z4l.c:1671: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234) CCLD ztv_drv.la make[2]: Leaving directory `/tmp/xserver-xorg-video-geode-2.11.9/src' make[2]: Entering directory `/tmp/xserver-xorg-video-geode-2.11.9' make[2]: Leaving directory `/tmp/xserver-xorg-video-geode-2.11.9' make[1]: Leaving directory `/tmp/xserver-xorg-video-geode-2.11.9'
_______________________________________________ Linux-geode mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-geode
