[Asterisk-Users] ztdummy/rtc

Kevin Bockman ml at neoninternet.com
Sat Jun 11 10:04:08 MST 2005


Hello,

Maybe I'm missing something here.  What is the proper way to use RTC
with ztdummy now? 

I'm using -HEAD from a day or two ago on Linux 2.6.11.11.

In zaptel/Makefile, I changed CFLAGS to:
CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE -DUSE_RTC
#-DTONEZONE_DRIVER

and I get..
make -C /lib/modules/2.6.11.11/build SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory `/usr/src/linux-2.6.11.11'
  Building modules, stage 2.
  MODPOST
*** Warning: "rtc_unregister" [/usr/src/zaptel/ztdummy.ko] undefined!
*** Warning: "rtc_control" [/usr/src/zaptel/ztdummy.ko] undefined!
*** Warning: "rtc_register" [/usr/src/zaptel/ztdummy.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.11.11'

when I run make linux26

I would like to compare ztdummy with and without RTC.  I will be
continuing to muck with the source files, but I don't see what the
problem is from here since linux/rtc.h should be included since I am
running 2.6 and defined USE_RTC.

I checked and /usr/include/linux/rtc.h is there and is the same as the
one from 2.6.11.11 sources.


Thanks,

Kevin Bockman




More information about the asterisk-users mailing list