Advertisement
BSDG33KCLUB

compton error message using -lrt on openbsd 5.5

Mar 5th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.23 KB | None | 0 0
  1. โ””โ”€โ”€ ~/compton ยปsudo gmake CC=egcc
  2. egcc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-19-g44faf1a-2014-02-26\"" -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -Wall -I/usr/local/include -I/usr/X11R6/include -I/usr/include/dev/pci/drm -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -c src/compton.c
  3. In file included from src/compton.h:10:0,
  4. from src/compton.c:11:
  5. src/common.h: In function 'print_timestamp':
  6. src/common.h:1332:3: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' [-Wformat=]
  7. printf("[ %5ld.%02ld ] ", diff.tv_sec, diff.tv_usec / 10000);
  8. ^
  9. In file included from src/compton.c:11:0:
  10. src/compton.h: In function 'set_tgt_clip':
  11. src/compton.h:687:3: warning: enumeration value 'NUM_BKEND' not handled in switch [-Wswitch]
  12. switch (ps->o.backend) {
  13. ^
  14. src/compton.c: In function 'win_paint_win':
  15. src/compton.c:1645:5: warning: enumeration value 'NUM_BKEND' not handled in switch [-Wswitch]
  16. switch (ps->o.backend) {
  17. ^
  18. src/compton.c: In function 'init_filters':
  19. src/compton.c:6247:5: warning: enumeration value 'NUM_BKEND' not handled in switch [-Wswitch]
  20. switch (ps->o.backend) {
  21. ^
  22. src/compton.c: At top level:
  23. src/compton.c:2571:1: warning: 'win_upd_run' defined but not used [-Wunused-function]
  24. win_upd_run(session_t *ps, win *w, win_upd_t *pupd) {
  25. ^
  26. egcc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-19-g44faf1a-2014-02-26\"" -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -Wall -I/usr/local/include -I/usr/X11R6/include -I/usr/include/dev/pci/drm -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -c src/opengl.c
  27. In file included from src/opengl.h:11:0,
  28. from src/opengl.c:11:
  29. src/common.h: In function 'print_timestamp':
  30. src/common.h:1332:3: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' [-Wformat=]
  31. printf("[ %5ld.%02ld ] ", diff.tv_sec, diff.tv_usec / 10000);
  32. ^
  33. src/opengl.c: At top level:
  34. src/opengl.c:1426:1: warning: 'glx_render_color' defined but not used [-Wunused-function]
  35. glx_render_color(session_t *ps, int dx, int dy, int width, int height, int z,
  36. ^
  37. src/opengl.c:1464:1: warning: 'glx_render_dots' defined but not used [-Wunused-function]
  38. glx_render_dots(session_t *ps, int dx, int dy, int width, int height, int z,
  39. ^
  40. egcc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-19-g44faf1a-2014-02-26\"" -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -Wall -I/usr/local/include -I/usr/X11R6/include -I/usr/include/dev/pci/drm -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -c src/dbus.c
  41. In file included from src/dbus.h:11:0,
  42. from src/dbus.c:11:
  43. src/common.h: In function 'print_timestamp':
  44. src/common.h:1332:3: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' [-Wformat=]
  45. printf("[ %5ld.%02ld ] ", diff.tv_sec, diff.tv_usec / 10000);
  46. ^
  47. egcc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-19-g44faf1a-2014-02-26\"" -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -Wall -I/usr/local/include -I/usr/X11R6/include -I/usr/include/dev/pci/drm -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -c src/c2.c
  48. In file included from src/c2.h:11:0,
  49. from src/c2.c:11:
  50. src/common.h: In function 'print_timestamp':
  51. src/common.h:1332:3: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' [-Wformat=]
  52. printf("[ %5ld.%02ld ] ", diff.tv_sec, diff.tv_usec / 10000);
  53. ^
  54. egcc -std=c99 -DCONFIG_XINERAMA -DCONFIG_LIBCONFIG -DCONFIG_REGEX_PCRE -DCONFIG_REGEX_PCRE_JIT -DCONFIG_VSYNC_DRM -DCONFIG_VSYNC_OPENGL -DCONFIG_VSYNC_OPENGL_GLSL -DCONFIG_VSYNC_OPENGL_FBO -DCONFIG_VSYNC_OPENGL_VBO -DCONFIG_DBUS -DCONFIG_C2 -DCOMPTON_VERSION="\"git-v0.1_beta2-19-g44faf1a-2014-02-26\"" -Wl,-O1 -Wl,--as-needed -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -Wall -o compton compton.o opengl.o dbus.o c2.o -lGL -lm -lrt -L/usr/local/lib -Wl,-R/usr/local/lib -lpcre -L/usr/X11R6/lib -L/usr/local/lib -lXcomposite -lXdamage -lXfixes -lXrender -lX11 -lXext -lXrandr -lXinerama -lconfig -ldbus-1
  55. /usr/bin/ld: cannot find -lrt
  56. collect2: error: ld returned 1 exit status
  57. Makefile:118: recipe for target 'compton' failed
  58. gmake: *** [compton] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement