Opened 10 years ago

Closed 10 years ago

#4307 closed Bug (duplicate)

Compilation Error on Nightly build #6541 June 1, 2011 6:28:20pm

Reported by: leandroong Owned by: jordan
Priority: Normal Milestone: None Set
Component: GTK+ Client Version: 2.31+
Severity: Normal Keywords:
Cc:

Description (last modified by livings124)

...
make[3]: Entering directory `/home/leandroong/transmission_build/transmission-2.31+/gtk'
gcc -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"2.31+\" -DPACKAGE_STRING=\"transmission\ 2.31+\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"2.31+\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDBOOL_H=1 -DHAVE_ICONV_OPEN=1 -DHAVE_PREAD=1 -DHAVE_PWRITE=1 -DHAVE_DAEMON=1 -DHAVE_DIRNAME=1 -DHAVE_BASENAME=1 -DHAVE_STRCASECMP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_FALLOCATE64=1 -DHAVE_POSIX_FALLOCATE=1 -DHAVE_MEMMEM=1 -DHAVE_STRSEP=1 -DHAVE_STRTOLD=1 -DHAVE_SYSLOG=1 -DHAVE_VALLOC=1 -DHAVE_GETPAGESIZE=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STATVFS=1 -DHAVE_PTHREAD=1 -DHAVE__TMP_DUMMY1_ZLIB_H=1 -DHAVE_ZLIB=1 -D_FILE_OFFSET_BITS=64 -DHAVE_LSEEK64=1 -DHAVE_DECL_POSIX_FADVISE=1 -DHAVE_POSIX_FADVISE=1 -DWITH_INOTIFY=1 -DHAVE_SYS_STATVFS_H=1 -DWITH_UTP=1 -DHAVE_GIO=1 -DHAVE_LIBNOTIFY=1 -DHAVE_LIBAPPINDICATOR=1 -DHAVE_LIBCANBERRA=1 -DHAVE_GCONF2=1 -DHAVE_DBUS_GLIB=1 -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission-gtk\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I.  -I.. -DTRANSMISSIONLOCALEDIR=\""/usr/local/share/locale"\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED  -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libappindicator-0.1 -I/usr/include/libdbusmenu-0.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/home/leandroong/transmission_build/libevent/include -pthread -D_REENTRANT -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -pthread -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -g -O2 -g -O0 -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings -Winline -Wfloat-equal -Wextra -Wdeclaration-after-statement -Winit-self -Wvariadic-macros -MT tr-core.o -MD -MP -MF .deps/tr-core.Tpo -c -o tr-core.o tr-core.c
tr-core.c: In function ‘gtr_core_class_init’:
tr-core.c:225:22: error: ‘dbus_glib_gtr_core_object_info’ undeclared (first use in this function)
tr-core.c:225:22: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [tr-core.o] Error 1
make[3]: Leaving directory `/home/leandroong/transmission_build/transmission-2.31+/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/leandroong/transmission_build/transmission-2.31+/gtk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/leandroong/transmission_build/transmission-2.31+/gtk'
make: *** [all-recursive] Error 1
leandroong@leandroong-VirtualBox:~/transmission_build/transmission-2.31+$ 

Change History (5)

comment:1 Changed 10 years ago by livings124

  • Description modified (diff)

comment:2 Changed 10 years ago by livings124

  • Component changed from Transmission to GTK+ Client
  • Owner set to jordan
  • Version changed from 2.31 to 2.31+

comment:3 Changed 10 years ago by jordan

leandroong, I'm not seeing this error. Are you seeing this every time you try to build? Does this happen when you try to build 2.31 from the tarball?

comment:4 Changed 10 years ago by leandroong

No error building 2.31. only for 2.31+ nightly build tarball. Same result using the latest build#6556 (June 10,2011 2:05:14pm. BTW, im using virutalbox running ubuntu 11.04. Possible compilation error, might be due to missing repositories.

compilation procedures: $ sudo apt-get install build-essential automake autoconf libtool pkg-config libcurl4-openssl-dev intltool libxml2-dev libgtk2.0-dev libnotify-dev libglib2.0-dev libevent-dev $ cd transmission-2.31+ $ ./configure -q && make -s <Error here>

$ su (if necessary for the next line) $ make install

comment:5 Changed 10 years ago by jordan

  • Resolution set to duplicate
  • Status changed from new to closed

It's failing because of dbus oddness in our automake inputs, but the full solution for that will be to use GTK 3.0's GtkApplication? API instead of this custom dbus code.

This ticket is a subset of #4320, so closing as a duplicate.

Note: See TracTickets for help on using tickets.