[Home]

Summary:ASTERISK-08553: SVN rev 1806 fail on compile
Reporter:tootai (tootai)Labels:
Date Opened:2007-01-11 04:33:14.000-0600Date Closed:2008-06-07 12:16:13
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:We get this error on compiling latest zaptel

zaptel.c: In function `calc_fcs':
zaptel.c:747: error: `fcstab' undeclared (first use in this function)
zaptel.c:747: error: (Each undeclared identifier is reported only once
zaptel.c:747: error: for each function it appears in.)
zaptel.c: In function `__putbuf_chunk':
zaptel.c:6008: error: `fcstab' undeclared (first use in this function)
make[1]: *** [zaptel.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-trunk/zaptel'
make: *** [all] Error 2


****** ADDITIONAL INFORMATION ******

Debian Sarge 2.4 kernel
Comments:By: Tzafrir Cohen (tzafrir) 2007-01-11 09:24:46.000-0600

Hmmm... where exactly is PPP_FCS defined for building zaptel.c ?

By: tootai (tootai) 2007-01-11 10:36:37.000-0600

Don't know what you mean, forgive me if I understand it wrong. The zaptel from 3 days ago (Asterisk SVN-trunk-r49946 built by root @ keewi on a i686 running Linux on 2007-01-08 11:43:44 UTC) was building fine. I'm building zaptel, ztd-loc, ztdummy, ztdynamic and zttranscode. I'm not building codec_zap from asterisk-trunk.

Here is the beging of zaptel.c file:

#include "zconfig.h"
#include "version.h"

#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/version.h>
#include <linux/kmod.h>
#ifdef CONFIG_DEVFS_FS
#include <linux/devfs_fs_kernel.h>
#endif /* CONFIG_DEVFS_FS */
#ifdef CONFIG_ZAPATA_NET
#include <linux/netdevice.h>
#endif /* CONFIG_ZAPATA_NET */
#include <linux/ppp_defs.h>
#ifdef CONFIG_ZAPATA_PPP
#include <linux/netdevice.h>
#include <linux/if.h>
#include <linux/if_ppp.h>
#endif

--
Daniel

By: Joshua C. Colp (jcolp) 2007-01-11 11:07:50.000-0600

Fixed in trunk as of revision 1807. Thanks!

By: Digium Subversion (svnbot) 2008-06-07 12:16:13

Repository: dahdi
Revision: 1807

U   trunk/zaptel.c

------------------------------------------------------------------------
r1807 | file | 2008-06-07 12:16:12 -0500 (Sat, 07 Jun 2008) | 2 lines

Return what I took away (fcstab) since it's actually required for some instances... (issue ASTERISK-8553 reported by tootai)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=1807