[Asterisk-Users] ./zaprtc.o: unresolved symbol ??

Atuc atuc at gmx.de
Tue Sep 21 01:05:45 MST 2004


hallo,

i tried to install the zaprtc.o module but get errors when i try to insmod it?

i use a th kernel 2.4.27, rtc is compiled as module but not loaded (see 
below lsmod),
does anybody has an idea what is wrong?

many thanks for help,
alex

snd:/usr/src/zaptelrtc# make
cc -c zaprtc.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer 
-O2 -Wall -I/usr/src/linux/include  -Wall -DMODVERSIONS -include 
/usr/src/linux/include/linux/modversions.h
gcc -s -Wall -Wstrict-prototypes rtctest.c -o rtctest
gcc -s -Wall -Wstrict-prototypes rtcsetup.c -o rtcsetup
rtcsetup.c: In function `main':
rtcsetup.c:25: warning: unused variable `rtc_tm'
rtcsetup.c:24: warning: unused variable `data'
rtcsetup.c:24: warning: unused variable `tmp'
rtcsetup.c:23: warning: unused variable `irqcount'
rtcsetup.c:23: warning: unused variable `i'
sync

snd:/usr/src/zaptelrtc# insmod ./zaprtc.o
./zaprtc.o: unresolved symbol zt_transmit
./zaprtc.o: unresolved symbol zt_receive
./zaprtc.o: unresolved symbol zt_register


snd:/usr/src/zaptelrtc# lsmod
Module                  Size  Used by    Not tainted
8139too                11808   1
crc32                   2848   0  [8139too]
unix                   13924   2  (autoclean)
snd:/usr/src/zaptelrtc#


snd:/usr/src/zaptelrtc# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(set)
0320-0323 : wd7000
0350-0353 : wd7000
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
0cf8-0cff : PCI conf1
b400-b4ff : PCI device 10ec:8139
   b400-b4ff : 8139too
d000-d0ff : PCI device 13f6:0111
d400-d40f : PCI device 10b9:5229
   d400-d407 : ide0
   d408-d40f : ide1
e400-e43f : PCI device 10b9:7101
e800-e81f : PCI device 10b9:7101




More information about the asterisk-users mailing list