Advertisement
Guest User

Xmir build error

a guest
Oct 16th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 6.08 KB | None | 0 0
  1. gcc -DHAVE_CONFIG_H -I. -I../../../hw/xmir -I../../include   -Wdate-time -D_FORTIFY_SOURCE=2 -DPRE_RELEASE=0  -I../../../glamor -I../../../hw/xmir/dri2 -I../../../glx -I../../../hw/xfree86/common -DHAVE_DIX_CONFIG_H -pthread -I/usr/include/mirplatform -I/usr/include/mirclient -I/usr/include/mircommon -I/usr/include/mircookie -I/usr/include/libdrm -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/X11/dri -I../../../include -I../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/sync -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -I../../../dbe -I../../../present -fvisibility=hidden   -g -O2 -fdebug-prefix-map=/build/xorg-server-1.18.99.1=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -pthread -MT Xmir-xmir-thread-proxy.o -MD -MP -MF .deps/Xmir-xmir-thread-proxy.Tpo -c -o Xmir-xmir-thread-proxy.o `test -f 'xmir-thread-proxy.c' || echo '../../../hw/xmir/'`xmir-thread-proxy.c
  2. ../../../hw/xmir/xmir-thread-proxy.c: In function ‘xmir_init_thread_to_eventloop’:
  3. ../../../hw/xmir/xmir-thread-proxy.c:72:2: error: implicit declaration of function ‘AddGeneralSocket’ [-Werror=implicit-function-declaration]
  4.   AddGeneralSocket(pipefds[0]);
  5.   ^~~~~~~~~~~~~~~~
  6. ../../../hw/xmir/xmir-thread-proxy.c:72:2: warning: nested extern declaration of ‘AddGeneralSocket’ [-Wnested-externs]
  7. ../../../hw/xmir/xmir-thread-proxy.c:73:33: warning: passing argument 1 of ‘RegisterBlockAndWakeupHandlers’ from incompatible pointer type [-Wincompatible-pointer-types]
  8.   RegisterBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA,
  9.                                  ^
  10. In file included from ../../../include/privates.h:151:0,
  11.                  from ../../../include/cursor.h:53,
  12.                  from ../../../include/scrnintstr.h:53,
  13.                  from ../../../fb/fb.h:30,
  14.                  from ../../../hw/xmir/xmir.h:40,
  15.                  from ../../../hw/xmir/xmir-thread-proxy.c:41:
  16. ../../../include/dix.h:227:23: note: expected ‘ServerBlockHandlerProcPtr {aka void (*)(void *, void *)}’ but argument is of type ‘void (*)(void *, struct timeval **, void *)
  17.  extern _X_EXPORT Bool RegisterBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blockHandler,
  18.                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  19. ../../../hw/xmir/xmir-thread-proxy.c:74:12: warning: passing argument 2 of ‘RegisterBlockAndWakeupHandlers’ from incompatible pointer type [-Wincompatible-pointer-types]
  20.             xmir_wakeup_handler,
  21.             ^~~~~~~~~~~~~~~~~~~
  22. In file included from ../../../include/privates.h:151:0,
  23.                  from ../../../include/cursor.h:53,
  24.                  from ../../../include/scrnintstr.h:53,
  25.                  from ../../../fb/fb.h:30,
  26.                  from ../../../hw/xmir/xmir.h:40,
  27.                  from ../../../hw/xmir/xmir-thread-proxy.c:41:
  28. ../../../include/dix.h:227:23: note: expected ‘ServerWakeupHandlerProcPtr {aka void (*)(void *, int)}’ but argument is of type ‘void (*)(void *, int,  void *)
  29.  extern _X_EXPORT Bool RegisterBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blockHandler,
  30.                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  31. ../../../hw/xmir/xmir-thread-proxy.c: In function ‘xmir_fini_thread_to_eventloop’:
  32. ../../../hw/xmir/xmir-thread-proxy.c:81:31: warning: passing argument 1 of ‘RemoveBlockAndWakeupHandlers’ from incompatible pointer type [-Wincompatible-pointer-types]
  33.   RemoveBlockAndWakeupHandlers((BlockHandlerProcPtr)NoopDDA,
  34.                                ^
  35. In file included from ../../../include/privates.h:151:0,
  36.                  from ../../../include/cursor.h:53,
  37.                  from ../../../include/scrnintstr.h:53,
  38.                  from ../../../fb/fb.h:30,
  39.                  from ../../../hw/xmir/xmir.h:40,
  40.                  from ../../../hw/xmir/xmir-thread-proxy.c:41:
  41. ../../../include/dix.h:231:23: note: expected ‘ServerBlockHandlerProcPtr {aka void (*)(void *, void *)}’ but argument is of type ‘void (*)(void *, struct timeval **, void *)
  42.  extern _X_EXPORT void RemoveBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blockHandler,
  43.                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  44. ../../../hw/xmir/xmir-thread-proxy.c:82:10: warning: passing argument 2 of ‘RemoveBlockAndWakeupHandlers’ from incompatible pointer type [-Wincompatible-pointer-types]
  45.           xmir_wakeup_handler, NULL);
  46.           ^~~~~~~~~~~~~~~~~~~
  47. In file included from ../../../include/privates.h:151:0,
  48.                  from ../../../include/cursor.h:53,
  49.                  from ../../../include/scrnintstr.h:53,
  50.                  from ../../../fb/fb.h:30,
  51.                  from ../../../hw/xmir/xmir.h:40,
  52.                  from ../../../hw/xmir/xmir-thread-proxy.c:41:
  53. ../../../include/dix.h:231:23: note: expected ‘ServerWakeupHandlerProcPtr {aka void (*)(void *, int)}’ but argument is of type ‘void (*)(void *, int,  void *)
  54.  extern _X_EXPORT void RemoveBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blockHandler,
  55.                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  56. ../../../hw/xmir/xmir-thread-proxy.c:83:2: error: implicit declaration of function ‘RemoveGeneralSocket’ [-Werror=implicit-function-declaration]
  57.   RemoveGeneralSocket(pipefds[0]);
  58.   ^~~~~~~~~~~~~~~~~~~
  59. ../../../hw/xmir/xmir-thread-proxy.c:83:2: warning: nested extern declaration of ‘RemoveGeneralSocket’ [-Wnested-externs]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement