[Home]

Summary:ASTERISK-05754: Zaptel: undefined symbols rtc_unregister, rtc_control, rtc_register
Reporter:puzzled (puzzled)Labels:
Date Opened:2005-12-01 17:32:51.000-0600Date Closed:2011-06-07 14:10:35
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When I compile zaptel-1.2.0 with USE_RTC enabled on 32 bit ppc running a 2.6.15-rc4 kernel I see the following messages:
*** Warning: "rtc_unregister" [/home/patrick/redhat/BUILD/zaptel-1.2.0/ztdummy.ko] undefined!
*** Warning: "rtc_control" [/home/patrick/redhat/BUILD/zaptel-1.2.0/ztdummy.ko] undefined!
*** Warning: "rtc_register" [/home/patrick/redhat/BUILD/zaptel-1.2.0/ztdummy.ko] undefined!

When modprobe the module I get:
FATAL: Error inserting ztdummy (/lib/modules/2.6.14-1.1729_FC5/extra/ztdummy.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Dmesg output:
Zapata Telephony Interface Registered on major 196
ztdummy: Unknown symbol rtc_register
ztdummy: Unknown symbol rtc_unregister
ztdummy: Unknown symbol rtc_control
ztdummy: Unknown symbol rtc_register
ztdummy: Unknown symbol rtc_unregister
ztdummy: Unknown symbol rtc_control

Comments:By: twisted (twisted) 2005-12-01 17:36:20.000-0600

is RTC (realtime clock) enabled and built into the kernel or as a module?

By: damin (damin) 2005-12-01 17:39:13.000-0600

On my Centos installations, rtc is loaded as a module. However, I am running on x86 platform and not PowerPC. I can't speak for PowerPC.

By: twisted (twisted) 2005-12-01 17:43:42.000-0600

I'm not sure this is a CentOS system... It's not stated...

By: twisted (twisted) 2005-12-01 17:44:22.000-0600

In fact, it looks like Fedora from what I see..

By: puzzled (puzzled) 2005-12-01 18:08:52.000-0600

Please close this bug. I was told that on ppc/chrp you can't get a periodic interrupt from rtc like on other platforms. So USE_RTC is not to be used on ppc/chrp. Apologies for the noise.