Opened 12 years ago

Closed 12 years ago

#1620 closed Bug (invalid)

Build errors in wx (1.4.1beta4)

Reported by: dx Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 1.41
Severity: Normal Keywords:
Cc:

Description

When trying to build the latest beta, g++ fails with three errors in wx/speed-stats.cc, in the function {{{void SpeedStats::Pulse(tr_handle*)}}.

make[2]: Entering directory `/home/dx/test/abs/transmission-gtk/src/transmission-1.41b4/wx'
g++ -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.41b4\" -DPACKAGE_STRING=\"transmission\ 1.41b4\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"1.41b4\" -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_DAEMON=1 -DHAVE_DIRNAME=1 -DHAVE_BASENAME=1 -DHAVE_DAEMON=1 -DHAVE_STRCASECMP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_POSIX_FALLOCATE=1 -DHAVE_PTHREAD=1 -DHAVE__TMP_DUMMY1_ZLIB_H=1 -DHAVE_ZLIB=1 -DHAVE_GIO=1 -DHAVE_LIBNOTIFY=1 -DHAVE_DBUS_GLIB=1 -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I.  -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I../third-party/libevent  -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -Wall -Wformat-security -W -O3 -funroll-loops -MT speed-stats.o -MD -MP -MF .deps/speed-stats.Tpo -c -o speed-stats.o speed-stats.cc
speed-stats.cc: In member function 'void SpeedStats::Pulse(tr_handle*)':
speed-stats.cc:217: error: 'tr_sessionGetSpeed' was not declared in this scope
speed-stats.cc:224: error: 'const struct tr_stat' has no member named 'rateUpload'
speed-stats.cc:225: error: 'const struct tr_stat' has no member named 'rateDownload'
make[2]: *** [speed-stats.o] Error 1
make[2]: Leaving directory `/home/dx/test/abs/transmission-gtk/src/transmission-1.41b4/wx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dx/test/abs/transmission-gtk/src/transmission-1.41b4/wx'
make: *** [all-recursive] Error 1

Adding --disable-wx to ./configure makes it build flawlessly. If you say it's unsupported, why is it enabled by default?

Attached the full log and the arch linux PKGBUILD

Attachments (2)

PKGBUILD (1013 bytes) - added by dx 12 years ago.
PKGBUILD with ./configure, depends, etc
full.log (51.5 KB) - added by dx 12 years ago.
Complete output of build() of the PKGBUILD, with the build error in the end.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by dx

PKGBUILD with ./configure, depends, etc

Changed 12 years ago by dx

Complete output of build() of the PKGBUILD, with the build error in the end.

comment:1 Changed 12 years ago by livings124

  • Milestone changed from 1.41 to None Set
  • Resolution set to invalid
  • Status changed from new to closed

This was already fixed in r7453

Note: See TracTickets for help on using tickets.