Can't build modules for Etch Help!

Tony Baechler tony at baechler.net
Tue Aug 12 12:10:50 EDT 2008


Hi all,

I really need help on this.  This is somewhat of a high priority because I'm supposed to physically be at the location of the server machine tomorrow to work on it and I need speech.  I had no problems building with Lenny, either from git or with Samuel's 20080724 snapshot but neither will work on the standard Etch 2.6.18 kernel.  Modules are fine, I just really need to have speech by tomorrow.  Below is the build log.  If you have any ideas, write to tony.baechler at gmail.com, or post here.  I don't want to sound impatient but I really need help on this fairly soon.  I didn't expect a problem because it worked so well with 2.6.24 and Lenny/Sid.

dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/modules/speakup clean
make[1]: Entering directory `/usr/src/modules/speakup'
make -C /lib/modules/`uname -r`/build M=`pwd` `cat allmodule.mk` clean
make[2]: Entering directory `/usr/src/linux-headers-2.6.18-6-686'
make[2]: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'
make[1]: Leaving directory `/usr/src/modules/speakup'
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/speakup'
dh_testdir
dh_testroot
dh_clean
/usr/bin/make -C /usr/src/modules/speakup clean
make[2]: Entering directory `/usr/src/modules/speakup'
make -C /lib/modules/`uname -r`/build M=`pwd` `cat allmodule.mk` clean
make[3]: Entering directory `/usr/src/linux-headers-2.6.18-6-686'
make[3]: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'
make[2]: Leaving directory `/usr/src/modules/speakup'
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.18-6-686/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.18-6-686/g ;s/#KVERS#/2.6.18-6-686/g ; s/_KVERS_/2.6.18-6-686/g ; s/##KDREV##/2.6.18.dfsg.1-22/g ; s/#KDREV#/2.6.18.dfsg.1-22/g ; s/_KDREV_/2.6.18.dfsg.1-22/g  ' < $templ > ${templ%.modules.in}; \
  done
dh_testdir
dh_testroot
dh_clean -k
# Build the module
/usr/bin/make -C /usr/src/modules/speakup KERNEL_VERSION=2.6.18-6-686 KERNELDIR=/lib/modules/2.6.18-6-686/build
make[2]: Entering directory `/usr/src/modules/speakup'
make -C /lib/modules/2.6.18-6-686/build M=`pwd` `cat allmodule.mk`
make[3]: Entering directory `/usr/src/linux-headers-2.6.18-6-686'
  LD      /usr/src/modules/speakup/built-in.o
  CC [M]  /usr/src/modules/speakup/speakup_acntsa.o
  CC [M]  /usr/src/modules/speakup/speakup_acntpc.o
  CC [M]  /usr/src/modules/speakup/speakup_apollo.o
  CC [M]  /usr/src/modules/speakup/speakup_audptr.o
  CC [M]  /usr/src/modules/speakup/speakup_bns.o
  CC [M]  /usr/src/modules/speakup/speakup_dectlk.o
  CC [M]  /usr/src/modules/speakup/speakup_decext.o
  CC [M]  /usr/src/modules/speakup/speakup_dtlk.o
  CC [M]  /usr/src/modules/speakup/speakup_keypc.o
  CC [M]  /usr/src/modules/speakup/speakup_ltlk.o
  CC [M]  /usr/src/modules/speakup/speakup_soft.o
  CC [M]  /usr/src/modules/speakup/speakup_spkout.o
  CC [M]  /usr/src/modules/speakup/speakup_txprt.o
  CC [M]  /usr/src/modules/speakup/speakup_dummy.o
  CC [M]  /usr/src/modules/speakup/buffers.o
  CC [M]  /usr/src/modules/speakup/devsynth.o
  CC [M]  /usr/src/modules/speakup/main.o
/usr/src/modules/speakup/main.c: In function 'keyboard_notifier_call':
/usr/src/modules/speakup/main.c:2125: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2126: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2133: error: 'KBD_KEYCODE' undeclared (first use in this function)
/usr/src/modules/speakup/main.c:2133: error: (Each undeclared identifier is reported only once
/usr/src/modules/speakup/main.c:2133: error: for each function it appears in.)
/usr/src/modules/speakup/main.c:2135: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2137: error: 'KBD_UNBOUND_KEYCODE' undeclared (first use in this function)
/usr/src/modules/speakup/main.c:2140: error: 'KBD_UNICODE' undeclared (first use in this function)
/usr/src/modules/speakup/main.c:2143: error: 'KBD_KEYSYM' undeclared (first use in this function)
/usr/src/modules/speakup/main.c:2144: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2144: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2147: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2149: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2151: error: 'KBD_POST_KEYSYM' undeclared (first use in this function)
/usr/src/modules/speakup/main.c:2152: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2153: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c: In function 'vt_notifier_call':
/usr/src/modules/speakup/main.c:2179: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2181: error: 'VT_ALLOCATE' undeclared (first use in this function)
/usr/src/modules/speakup/main.c:2185: error: 'VT_DEALLOCATE' undeclared (first use in this function)
/usr/src/modules/speakup/main.c:2188: error: 'VT_WRITE' undeclared (first use in this function)
/usr/src/modules/speakup/main.c:2189: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2192: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2193: error: dereferencing pointer to incomplete type
/usr/src/modules/speakup/main.c:2197: error: 'VT_UPDATE' undeclared (first use in this function)
/usr/src/modules/speakup/main.c: In function 'speakup_exit':
/usr/src/modules/speakup/main.c:2209: warning: implicit declaration of function 'unregister_keyboard_notifier'
/usr/src/modules/speakup/main.c:2210: warning: implicit declaration of function 'unregister_vt_notifier'
/usr/src/modules/speakup/main.c: In function 'speakup_init':
/usr/src/modules/speakup/main.c:2271: warning: implicit declaration of function 'register_keyboard_notifier'
/usr/src/modules/speakup/main.c:2272: warning: implicit declaration of function 'register_vt_notifier'
make[4]: *** [/usr/src/modules/speakup/main.o] Error 1
make[3]: *** [_module_/usr/src/modules/speakup] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/src/modules/speakup'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/speakup'
make: *** [kdist_build] Error 2




More information about the Speakup mailing list