[10] Comentário enviado por
maninhx em 02/11/2007 - 14:43h:
sm_afsk1200.c:29:29: sm_tbl_afsk1200.h: No such file or directory
sm_afsk1200.c:54: error: `AFSK12_TX_FREQ_LO' undeclared here (not in a function)
sm_afsk1200.c:54: error: `AFSK12_SAMPLE_RATE' undeclared here (not in a function)
sm_afsk1200.c:54: error: initializer element is not constant
sm_afsk1200.c:54: error: (near initialization for `dds_inc[0]')
sm_afsk1200.c:55: error: `AFSK12_TX_FREQ_HI' undeclared here (not in a function)
sm_afsk1200.c:56: error: `AFSK12_SAMPLE_RATE' undeclared here (not in a function)
sm_afsk1200.c:56: error: initializer element is not constant
sm_afsk1200.c:56: error: (near initialization for `dds_inc[1]')
sm_afsk1200.c: In function `modulator_1200_u8':
sm_afsk1200.c:71: warning: implicit declaration of function `OFFSCOS'
sm_afsk1200.c: In function `modulator_1200_s16':
sm_afsk1200.c:90: warning: implicit declaration of function `COS'
sm_afsk1200.c: In function `do_filter_1200_u8':
sm_afsk1200.c:133: error: `afsk12_tx_lo_i' undeclared (first use in this function)
sm_afsk1200.c:133: error: (Each undeclared identifier is reported only once
sm_afsk1200.c:133: error: for each function it appears in.)
sm_afsk1200.c:133: error: `SUM_AFSK12_TX_LO_I' undeclared (first use in this function)
sm_afsk1200.c:134: error: `afsk12_tx_lo_q' undeclared (first use in this function)
sm_afsk1200.c:134: error: `SUM_AFSK12_TX_LO_Q' undeclared (first use in this function)
sm_afsk1200.c:135: error: `afsk12_tx_hi_i' undeclared (first use in this function)
sm_afsk1200.c:135: error: `SUM_AFSK12_TX_HI_I' undeclared (first use in this function)
sm_afsk1200.c:136: error: `afsk12_tx_hi_q' undeclared (first use in this function)
sm_afsk1200.c:136: error: `SUM_AFSK12_TX_HI_Q' undeclared (first use in this function)
sm_afsk1200.c: In function `do_filter_1200_s16':
sm_afsk1200.c:142: error: `afsk12_tx_lo_i' undeclared (first use in this function)
sm_afsk1200.c:142: error: `SUM_AFSK12_TX_LO_I' undeclared (first use in this function)
sm_afsk1200.c:143: error: `afsk12_tx_lo_q' undeclared (first use in this function)
sm_afsk1200.c:143: error: `SUM_AFSK12_TX_LO_Q' undeclared (first use in this function)
sm_afsk1200.c:144: error: `afsk12_tx_hi_i' undeclared (first use in this function)
sm_afsk1200.c:144: error: `SUM_AFSK12_TX_HI_I' undeclared (first use in this function)
sm_afsk1200.c:145: error: `afsk12_tx_hi_q' undeclared (first use in this function)
sm_afsk1200.c:145: error: `SUM_AFSK12_TX_HI_Q' undeclared (first use in this function)
sm_afsk1200.c: At top level:
sm_afsk1200.c:263: error: `AFSK12_SAMPLE_RATE' undeclared here (not in a function)
sm_afsk1200.c:263: error: initializer element is not constant
sm_afsk1200.c:263: error: (near initialization for `sm_afsk1200_tx.srate')
sm_afsk1200.c:268: error: `AFSK12_SAMPLE_RATE' undeclared here (not in a function)
sm_afsk1200.c:268: error: initializer element is not constant
sm_afsk1200.c:268: error: (near initialization for `sm_afsk1200_rx.srate')
sm_afsk1200.c:268: error: `AFSK12_SAMPLE_RATE' undeclared here (not in a function)
sm_afsk1200.c:268: error: initializer element is not constant
sm_afsk1200.c:268: error: (near initialization for `sm_afsk1200_rx.sperbit')
make[4]: *** [sm_afsk1200.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.29/drivers/net/hamradio/soundmodem'
make[3]: *** [_modsubdir_soundmodem] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.29/drivers/net/hamradio'
make[2]: *** [_modsubdir_net/hamradio] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.29/drivers'
make[1]: *** [_mod_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.29'
make: *** [modules] Error 2
esses erros ocorreram apos dar ./makedrv
como faço para resolver??