NoPaste

Automake

von inne
SNIPPET_DESC:
/usr/bin/ld: ...: undefined reference to ...
SNIPPET_CREATION_TIME:
13.11.2021 03:43:10
SNIPPET_PRUNE_TIME:
13.12.2021 03:43:10

SNIPPET_TEXT:
  1. $ sh autogen.sh
  2. autoreconf: Entering directory `.'
  3. autoreconf: configure.ac: not using Gettext
  4. autoreconf: running: aclocal --force
  5. autoreconf: configure.ac: tracing
  6. autoreconf: configure.ac: not using Libtool
  7. autoreconf: running: /usr/bin/autoconf --force
  8. autoreconf: running: /usr/bin/autoheader --force
  9. autoreconf: running: automake --add-missing --copy --force-missing
  10. autoreconf: running: ./config.status --recheck
  11. running CONFIG_SHELL=/bin/bash /bin/bash ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking build_alias=x86_64-linux-gnu CFLAGS=-g -O2 -ffile-prefix-map=/srv/local/nas/Projekte/own/gcptr=. -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-Wl,-z,relro CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 PKG_CONFIG_PATH=/home/user/.local/lib/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/: --no-create --no-recursion
  12. checking for a BSD-compatible install... /usr/bin/install -c
  13. checking whether build environment is sane... yes
  14. checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  15. checking for gawk... gawk
  16. checking whether make sets $(MAKE)... yes
  17. checking whether make supports nested variables... yes
  18. checking for gcc... gcc
  19. checking whether the C compiler works... yes
  20. checking for C compiler default output file name... a.out
  21. checking for suffix of executables...
  22. checking whether we are cross compiling... no
  23. checking for suffix of object files... o
  24. checking whether we are using the GNU C compiler... yes
  25. checking whether gcc accepts -g... yes
  26. checking for gcc option to accept ISO C89... none needed
  27. checking whether gcc understands -c and -o together... yes
  28. checking whether make supports the include directive... yes (GNU style)
  29. checking dependency style of gcc... none
  30. checking for gawk... (cached) gawk
  31. checking how to run the C preprocessor... gcc -E
  32. checking for pkg-config... /usr/bin/pkg-config
  33. checking pkg-config is at least version 0.9.0... yes
  34. checking for glib-2.0... yes
  35. checking for gtk+-3.0... yes
  36. checking for X... libraries , headers
  37. checking for grep that handles long lines and -e... /usr/bin/grep
  38. checking for egrep... /usr/bin/grep -E
  39. checking for ANSI C header files... yes
  40. checking for sys/types.h... yes
  41. checking for sys/stat.h... yes
  42. checking for stdlib.h... yes
  43. checking for string.h... yes
  44. checking for memory.h... yes
  45. checking for strings.h... yes
  46. checking for inttypes.h... yes
  47. checking for stdint.h... yes
  48. checking for unistd.h... yes
  49. checking for stdlib.h... (cached) yes
  50. checking that generated files are newer than configure... done
  51. configure: creating ./config.status
  52. autoreconf: running: ./config.status
  53. config.status: creating Makefile
  54. config.status: creating man/Makefile
  55. config.status: creating src/Makefile
  56. config.status: creating config.h
  57. config.status: config.h is unchanged
  58. config.status: executing depfiles commands
  59. autoreconf: running: make
  60. make  all-recursive
  61. make[1]: Verzeichnis „/srv/local/nas/Projekte/own/gcptr“ wird betreten
  62. Making all in src
  63. make[2]: Verzeichnis „/srv/local/nas/Projekte/own/gcptr/src“ wird betreten
  64. gcc  -g -O2 -ffile-prefix-map=/srv/local/nas/Projekte/own/gcptr=. -fstack-protector-strong -Wformat -Werror=format-security -lglib-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -Wl,-z,relro -o gcptr main.o  
  65. /usr/bin/ld: main.o: in function `main':
  66. ./src/main.c:54: undefined reference to `gdk_init'
  67. /usr/bin/ld: ./src/main.c:55: undefined reference to `gdk_display_manager_get'
  68. /usr/bin/ld: ./src/main.c:56: undefined reference to `gdk_display_manager_get_default_display'
  69. /usr/bin/ld: ./src/main.c:57: undefined reference to `gdk_display_get_default_seat'
  70. /usr/bin/ld: ./src/main.c:58: undefined reference to `gdk_display_get_n_monitors'
  71. /usr/bin/ld: ./src/main.c:59: undefined reference to `gdk_display_get_default_screen'
  72. /usr/bin/ld: ./src/main.c:60: undefined reference to `gdk_seat_get_pointer'
  73. /usr/bin/ld: ./src/main.c:64: undefined reference to `g_option_context_new'
  74. /usr/bin/ld: ./src/main.c:65: undefined reference to `g_option_context_add_main_entries'
  75. /usr/bin/ld: ./src/main.c:66: undefined reference to `gtk_get_option_group'
  76. /usr/bin/ld: ./src/main.c:66: undefined reference to `g_option_context_add_group'
  77. /usr/bin/ld: ./src/main.c:67: undefined reference to `g_option_context_parse'
  78. /usr/bin/ld: ./src/main.c:68: undefined reference to `g_log'
  79. /usr/bin/ld: ./src/main.c:71: undefined reference to `g_clear_error'
  80. /usr/bin/ld: ./src/main.c:72: undefined reference to `g_option_context_free'
  81. /usr/bin/ld: ./src/main.c:78: undefined reference to `gdk_display_get_monitor'
  82. /usr/bin/ld: ./src/main.c:78: undefined reference to `gdk_monitor_is_primary'
  83. /usr/bin/ld: ./src/main.c:83: undefined reference to `gdk_display_get_monitor'
  84. /usr/bin/ld: ./src/main.c:116: undefined reference to `g_log'
  85. /usr/bin/ld: ./src/main.c:97: undefined reference to `gdk_display_get_monitor'
  86. /usr/bin/ld: ./src/main.c:101: undefined reference to `gdk_device_get_has_cursor'
  87. /usr/bin/ld: ./src/main.c:110: undefined reference to `gdk_monitor_get_geometry'
  88. /usr/bin/ld: ./src/main.c:102: undefined reference to `gdk_device_get_name'
  89. /usr/bin/ld: ./src/main.c:102: undefined reference to `g_log'
  90. /usr/bin/ld: ./src/main.c:126: undefined reference to `gdk_device_get_name'
  91. /usr/bin/ld: ./src/main.c:126: undefined reference to `gdk_display_get_name'
  92. /usr/bin/ld: ./src/main.c:126: undefined reference to `gdk_monitor_get_model'
  93. /usr/bin/ld: ./src/main.c:126: undefined reference to `g_print'
  94. /usr/bin/ld: ./src/main.c:147: undefined reference to `gdk_device_warp'
  95. /usr/bin/ld: ./src/main.c:148: undefined reference to `gdk_display_sync'
  96. collect2: error: ld returned 1 exit status
  97. make[2]: *** [Makefile:341: gcptr] Fehler 1
  98. make[2]: Verzeichnis „/srv/local/nas/Projekte/own/gcptr/src“ wird verlassen
  99. make[1]: *** [Makefile:364: all-recursive] Fehler 1
  100. make[1]: Verzeichnis „/srv/local/nas/Projekte/own/gcptr“ wird verlassen
  101. make: *** [Makefile:305: all] Fehler 2
  102. autoreconf: make failed with exit status: 2
  103. Exit code: ENOENT 2 Datei oder Verzeichnis nicht gefunden

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN