LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-28-2010, 06:06 PM   #1
Geriao
Member
 
Registered: Dec 2009
Distribution: Ubuntu Karmic Koala, Slackware 13.0
Posts: 66

Rep: Reputation: 17
Trying to compile devicekit-power-014 on kernel 2.6.33 fails


I'm trying to compile a newer version of devicekit-power (currently I have 009) so maybe I can suspend/hibernate my laptop again, after I updated the kernel.
I installed every package "./configure" asked, so it made a Makefile. When I use "make", it builds a few files, then I get this error:

Code:
devkit_power_daemon-dkp-device.o: In function `dkp_device_coldplug':
dkp-device.c:(.text+0x1e7d): undefined reference to `dkp_device_type_to_text'
devkit_power_daemon-dkp-qos.o: In function `dkp_qos_get_latency_requests':
dkp-qos.c:(.text+0x135): undefined reference to `dkp_qos_type_to_text'
devkit_power_daemon-dkp-qos.o: In function `dkp_qos_get_latency':
dkp-qos.c:(.text+0x2b6): undefined reference to `dkp_qos_type_from_text'
devkit_power_daemon-dkp-qos.o: In function `dkp_qos_latency_perhaps_changed':
dkp-qos.c:(.text+0x3a2): undefined reference to `dkp_qos_type_to_text'
devkit_power_daemon-dkp-qos.o: In function `dkp_qos_set_minimum_latency':
dkp-qos.c:(.text+0x45f): undefined reference to `dkp_qos_type_from_text'
devkit_power_daemon-dkp-qos.o: In function `dkp_qos_request_latency':
dkp-qos.c:(.text+0x6e1): undefined reference to `dkp_qos_type_from_text'
devkit_power_daemon-dkp-wakeups.o: In function `dkp_wakeups_data_get_or_create':
dkp-wakeups.c:(.text+0x683): undefined reference to `dkp_wakeups_obj_new'
devkit_power_daemon-dkp-wakeups.o: In function `dkp_wakeups_init':
dkp-wakeups.c:(.text+0x1449): undefined reference to `dkp_wakeups_obj_free'
devkit_power_daemon-dkp-history.o: In function `dkp_history_array_to_file':
dkp-history.c:(.text+0xd0): undefined reference to `dkp_history_obj_to_string'
devkit_power_daemon-dkp-history.o: In function `dkp_history_array_copy_cb':
dkp-history.c:(.text+0x3ee): undefined reference to `dkp_history_obj_copy'
devkit_power_daemon-dkp-history.o: In function `dkp_history_array_from_file':
dkp-history.c:(.text+0x4cb): undefined reference to `dkp_history_obj_from_string'
devkit_power_daemon-dkp-history.o: In function `dkp_history_set_time_empty_data':
dkp-history.c:(.text+0x6e2): undefined reference to `dkp_history_obj_create'
devkit_power_daemon-dkp-history.o: In function `dkp_history_set_time_full_data':
dkp-history.c:(.text+0x7b2): undefined reference to `dkp_history_obj_create'
devkit_power_daemon-dkp-history.o: In function `dkp_history_set_rate_data':
dkp-history.c:(.text+0x876): undefined reference to `dkp_history_obj_create'
devkit_power_daemon-dkp-history.o: In function `dkp_history_set_charge_data':
dkp-history.c:(.text+0x92e): undefined reference to `dkp_history_obj_create'
devkit_power_daemon-dkp-history.o: In function `dkp_history_set_id':
dkp-history.c:(.text+0xb15): undefined reference to `dkp_history_obj_create'
dkp-history.c:(.text+0xb1f): undefined reference to `dkp_history_obj_copy'
dkp-history.c:(.text+0xb39): undefined reference to `dkp_history_obj_copy'
dkp-history.c:(.text+0xb53): undefined reference to `dkp_history_obj_copy'
dkp-history.c:(.text+0xb6d): undefined reference to `dkp_history_obj_copy'
dkp-history.c:(.text+0xb87): undefined reference to `dkp_history_obj_free'
devkit_power_daemon-dkp-history.o: In function `dkp_history_get_profile_data':
dkp-history.c:(.text+0xc0d): undefined reference to `dkp_stats_obj_create'
devkit_power_daemon-dkp-history.o: In function `dkp_history_get_data':
dkp-history.c:(.text+0xf56): undefined reference to `dkp_history_obj_copy'
dkp-history.c:(.text+0xfb9): undefined reference to `dkp_history_obj_free'
dkp-history.c:(.text+0x10ff): undefined reference to `dkp_history_obj_new'
dkp-history.c:(.text+0x11c3): undefined reference to `dkp_history_obj_new'
devkit_power_daemon-dkp-history.o: In function `dkp_history_init':
dkp-history.c:(.text+0x141a): undefined reference to `dkp_history_obj_free'
dkp-history.c:(.text+0x142c): undefined reference to `dkp_history_obj_free'
dkp-history.c:(.text+0x143e): undefined reference to `dkp_history_obj_free'
dkp-history.c:(.text+0x1450): undefined reference to `dkp_history_obj_free'
dummy/.libs/libdkpshared.a(dkp-backend.o): In function `dkp_backend_test':
dkp-backend.c:(.text+0x26d): undefined reference to `egg_test_start'
dkp-backend.c:(.text+0x283): undefined reference to `egg_test_title'
dkp-backend.c:(.text+0x29d): undefined reference to `egg_test_assert'
dkp-backend.c:(.text+0x2ad): undefined reference to `egg_test_end'
dummy/.libs/libdkpshared.a(dkp-native.o): In function `dkp_native_test':
dkp-native.c:(.text+0x3a): undefined reference to `egg_test_start'
dkp-native.c:(.text+0x50): undefined reference to `egg_test_title'
dkp-native.c:(.text+0x82): undefined reference to `egg_test_assert'
dkp-native.c:(.text+0x8a): undefined reference to `egg_test_end'
collect2: ld returned 1 exit status
What could be missing? Is this a bug?

Also, is upower-0.90/91 the same thing but newer?

Last edited by Geriao; 04-13-2010 at 07:49 AM. Reason: Kernel 2.6.33 actually
 
Old 03-30-2010, 06:03 AM   #2
Ivshti
Member
 
Registered: Sep 2008
Distribution: Linvo
Posts: 132

Rep: Reputation: 43
I think you should first precompile pm-utils and update eggdbus.

Upower is the same project, but the interface for using it is different, so you will need to precompile (and maybe upgrade) the packages that use it.

Last edited by Ivshti; 03-30-2010 at 06:05 AM.
 
Old 03-31-2010, 07:59 AM   #3
Geriao
Member
 
Registered: Dec 2009
Distribution: Ubuntu Karmic Koala, Slackware 13.0
Posts: 66

Original Poster
Rep: Reputation: 17
I have recompiled a new version of pm-utils before it. I think I also had to compile eggdbus before (it was absent on my system). I'll try to recompile eggdbus again anyway...

Does anyone know where those functions gcc misses are from?
 
Old 04-01-2010, 07:51 AM   #4
Geriao
Member
 
Registered: Dec 2009
Distribution: Ubuntu Karmic Koala, Slackware 13.0
Posts: 66

Original Poster
Rep: Reputation: 17
Well, I alredy have updated eggdbus with version 0.6, I did it again, but devicekit-power-014 doesn't compile... Same error... The version of pm-util I have now is 1.3.0.
 
Old 04-12-2010, 10:02 AM   #5
Geriao
Member
 
Registered: Dec 2009
Distribution: Ubuntu Karmic Koala, Slackware 13.0
Posts: 66

Original Poster
Rep: Reputation: 17
Any ideas?
 
Old 04-17-2010, 11:50 AM   #6
songangel
Member
 
Registered: Mar 2009
Location: West Point, GA
Distribution: Arch
Posts: 42

Rep: Reputation: 16
Just a thought

I am a programmer by hobby and it looks as if this is a linker error. You apparently have the headers installed, but apparently the libs are not installed or are not the correct version hence the missing function references.

Sorry I can't help more but maybe it will point you in the right direction. I would look at whatever libraries these are referring to and check the required versions. Could be a case where the configure script isn't checking for the right version.

It could even be a bad makefile that isn't linking the libs in, it's hard to tell. This seems unlikely though unless the package isn't very mature.

Last edited by songangel; 04-17-2010 at 11:58 AM.
 
Old 04-18-2010, 02:39 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
A random Googling .. devicekit-power-014 .. ::: to get
ftp://download.fedora.redhat.com/pub...1.fc12.src.rpm
>>> DeviceKit-power-014-1.fc12.src.rpm , 08-Jan-2010


SRC RPMS are usually very informative : DeviceKit-power.spec ..
%define dbus_version 0.90
%define dbus_glib_version 0.70

1) They seem to use dbus_glib ,,, may have been fixed
..... to be as usable as eggdbus. ?

2) If dbus_glib, eggdbus use coincident versioning, eggdbus should be ' 0.7 '
.....
Attached Files
File Type: txt __DeviceKit-power.spec.txt (3.2 KB, 10 views)

Last edited by knudfl; 04-18-2010 at 02:57 AM.
 
Old 04-18-2010, 06:25 PM   #8
Geriao
Member
 
Registered: Dec 2009
Distribution: Ubuntu Karmic Koala, Slackware 13.0
Posts: 66

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by songangel View Post
I am a programmer by hobby and it looks as if this is a linker error. You apparently have the headers installed, but apparently the libs are not installed or are not the correct version hence the missing function references.

Sorry I can't help more but maybe it will point you in the right direction. I would look at whatever libraries these are referring to and check the required versions. Could be a case where the configure script isn't checking for the right version.

It could even be a bad makefile that isn't linking the libs in, it's hard to tell. This seems unlikely though unless the package isn't very mature.
The problem is: what are those libraries it's trying to link to, and what package contains them?


Quote:
A random Googling .. devicekit-power-014 .. ::: to get
ftp://download.fedora.redhat.com/pub...1.fc12.src.rpm
>>> DeviceKit-power-014-1.fc12.src.rpm , 08-Jan-2010


SRC RPMS are usually very informative : DeviceKit-power.spec ..
%define dbus_version 0.90
%define dbus_glib_version 0.70

1) They seem to use dbus_glib ,,, may have been fixed
..... to be as usable as eggdbus. ?

2) If dbus_glib, eggdbus use coincident versioning, eggdbus should be ' 0.7 '
.....
I'll try and install dbus0glib 0.86, which is latest I found... Anyway, I have 0.80 installed, shouldn't be a problem. The latest eggdbus is 0.6 which is installed. It seems that there's no 0.7 yet...

Last edited by Geriao; 04-18-2010 at 06:27 PM.
 
Old 04-18-2010, 06:41 PM   #9
Geriao
Member
 
Registered: Dec 2009
Distribution: Ubuntu Karmic Koala, Slackware 13.0
Posts: 66

Original Poster
Rep: Reputation: 17
Well, I installed dbus-glib 0.86... Nothing changed when compiling devicekit-power-014
 
Old 05-27-2010, 12:35 PM   #10
at88mph
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
I hope it's not too late to resurrect this, but was there a solution to this problem? The latest DeviceKit-power is still 0.14, and it won't build with this exact problem.

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia fails to compile (kernel 2.6.17) angryfirelord Slackware 4 05-26-2007 09:09 PM
How to restore out-of-box kernel settings if my kernel compile fails? brgr88 Slackware 8 04-18-2006 06:51 AM
Mandrake 10 off. 2.6.3 kernel fails to compile... why???? Samppa72 Mandriva 1 07-23-2004 08:55 PM
New Debian kernel fails to compile rickenbacherus Linux - Software 1 07-19-2003 08:56 AM
kernel compile - Power Management ixion Linux - General 4 01-28-2003 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration