Bug 28608 - Can't build DeviceKit-power due to src/up-wakeups.c:138: undefined reference to `dkp_wakeups_obj_new'
Summary: Can't build DeviceKit-power due to src/up-wakeups.c:138: undefined reference ...
Status: RESOLVED WONTFIX
Alias: None
Product: upower
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-18 15:24 UTC by Tobias Mueller
Modified: 2013-10-12 22:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Mueller 2010-06-18 15:24:02 UTC
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/muelli/svn/gnome2/DeviceKit-power/src/linux'
make[4]: Entering directory `/home/muelli/svn/gnome2/DeviceKit-power/src'
  CCLD   upowerd
upowerd-up-wakeups.o: In function `up_wakeups_data_get_or_create':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-wakeups.c:138: undefined reference to `dkp_wakeups_obj_new'
upowerd-up-wakeups.o: In function `up_wakeups_init':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-wakeups.c:720: undefined reference to `dkp_wakeups_obj_free'
upowerd-up-history.o: In function `up_history_array_to_file':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:411: undefined reference to `dkp_history_obj_to_string'
upowerd-up-history.o: In function `up_history_array_copy_cb':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:70: undefined reference to `dkp_history_obj_copy'
upowerd-up-history.o: In function `up_history_array_from_file':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:485: undefined reference to `dkp_history_obj_from_string'
upowerd-up-history.o: In function `up_history_set_time_empty_data':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:788: undefined reference to `dkp_history_obj_create'
upowerd-up-history.o: In function `up_history_set_time_full_data':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:758: undefined reference to `dkp_history_obj_create'
upowerd-up-history.o: In function `up_history_set_rate_data':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:728: undefined reference to `dkp_history_obj_create'
upowerd-up-history.o: In function `up_history_set_charge_data':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:700: undefined reference to `dkp_history_obj_create'
upowerd-up-history.o: In function `up_history_load_data':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:635: undefined reference to `dkp_history_obj_create'
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:636: undefined reference to `dkp_history_obj_copy'
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:637: undefined reference to `dkp_history_obj_copy'
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:638: undefined reference to `dkp_history_obj_copy'
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:639: undefined reference to `dkp_history_obj_copy'
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:640: undefined reference to `dkp_history_obj_free'
upowerd-up-history.o: In function `up_history_get_profile_data':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:284: undefined reference to `dkp_stats_obj_create'
upowerd-up-history.o: In function `up_history_copy_array_timespan':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:212: undefined reference to `dkp_history_obj_copy'
upowerd-up-history.o: In function `up_history_array_limit_resolution':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:124: undefined reference to `dkp_history_obj_free'
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:155: undefined reference to `dkp_history_obj_new'
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:175: undefined reference to `dkp_history_obj_new'
upowerd-up-history.o: In function `up_history_init':
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:822: undefined reference to `dkp_history_obj_free'
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:823: undefined reference to `dkp_history_obj_free'
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:824: undefined reference to `dkp_history_obj_free'
/home/muelli/svn/gnome2/DeviceKit-power/src/up-history.c:825: undefined reference to `dkp_history_obj_free'
dummy/.libs/libupshared.a(up-backend.o): In function `up_backend_test':
/home/muelli/svn/gnome2/DeviceKit-power/src/dummy/up-backend.c:234: undefined reference to `egg_test_start'
/home/muelli/svn/gnome2/DeviceKit-power/src/dummy/up-backend.c:238: undefined reference to `egg_test_title'
/home/muelli/svn/gnome2/DeviceKit-power/src/dummy/up-backend.c:240: undefined reference to `egg_test_assert'
/home/muelli/svn/gnome2/DeviceKit-power/src/dummy/up-backend.c:245: undefined reference to `egg_test_end'
dummy/.libs/libupshared.a(up-native.o): In function `up_native_test':
/home/muelli/svn/gnome2/DeviceKit-power/src/dummy/up-native.c:53: undefined reference to `egg_test_start'
/home/muelli/svn/gnome2/DeviceKit-power/src/dummy/up-native.c:57: undefined reference to `egg_test_title'
/home/muelli/svn/gnome2/DeviceKit-power/src/dummy/up-native.c:59: undefined reference to `egg_test_assert'
/home/muelli/svn/gnome2/DeviceKit-power/src/dummy/up-native.c:61: undefined reference to `egg_test_end'
collect2: ld returned 1 exit status
make[4]: *** [upowerd] Error 1
make[4]: Leaving directory `/home/muelli/svn/gnome2/DeviceKit-power/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/muelli/svn/gnome2/DeviceKit-power/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/muelli/svn/gnome2/DeviceKit-power/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/muelli/svn/gnome2/DeviceKit-power'
make: *** [all] Error 2



The ./configure --enable-maintainer-mode --enable-gtk-doc --prefix /opt/gnome2 --libdir /opt/gnome2/lib64 --disable-static --enable-maintainer-mode --disable-scrollkeeper --disable-gtk-doc --disable-docs went fine so I expected it to compile fine, too.
Comment 1 Tobias Mueller 2010-06-18 15:25:55 UTC
FWIW:

$ echo $LDFLAGS
-L/opt/gnome2/lib64 -Wl,-O0 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed
Comment 2 Bastien Nocera 2013-10-12 22:57:24 UTC
DeviceKit-power is ancient, and UPower seems to build just fine.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.