[Asterisk-Users] RC2 zaptel compile problem
Jeff Borders
jeff at jeffborders.com
Wed Sep 15 04:45:41 MST 2004
I'm a newbie with a TDM11B. I've read the FAQs about linking
/usr/src/linux-2.6 to /usr/src/linux-2.6.8-1.521 and /lib/linux-2.6 to
/lib/linux-2.6.8-1.521 but still get a million errors and eventual abort
during compile.
Could someone point me in the right direction? I do a yum update every
day and I'm using the CVS from 9/14/04. I'm also using an ASUS CUSL2
system board. Here's the end of the error, although I don't think it's
useful. -Jeff Borders (jeffATjeffbordersDOTcom)
/usr/src/zaptel/zaptel.c:6203: warning: excess elements in struct
initializer
/usr/src/zaptel/zaptel.c:6203: warning: (near initialization for
`zt_fops')
/usr/src/zaptel/zaptel.c:6204: error: unknown field `flush' specified in
initializer
/usr/src/zaptel/zaptel.c:6204: warning: excess elements in struct
initializer
/usr/src/zaptel/zaptel.c:6204: warning: (near initialization for
`zt_fops')
/usr/src/zaptel/zaptel.c:6205: error: unknown field `fsync' specified in
initializer
/usr/src/zaptel/zaptel.c:6205: warning: excess elements in struct
initializer
/usr/src/zaptel/zaptel.c:6205: warning: (near initialization for
`zt_fops')
/usr/src/zaptel/zaptel.c:6206: error: unknown field `fasync' specified
in initializer
/usr/src/zaptel/zaptel.c:6206: warning: excess elements in struct
initializer
/usr/src/zaptel/zaptel.c:6206: warning: (near initialization for
`zt_fops')
/usr/src/zaptel/zaptel.c: In function `zt_prechan_ioctl':
/usr/src/zaptel/zaptel.c:4188: warning: unreachable code at beginning of
switch statement
/usr/src/zaptel/zaptel.c: At top level:
include/linux/elf.h:433: warning: array `_DYNAMIC' assumed to have one
element
include/linux/sched.h:227: error: storage size of `mmap_sem' isn't known
include/linux/sched.h:261: error: storage size of `default_kioctx' isn't
known
include/linux/sched.h:286: error: storage size of `shared_pending' isn't
known
include/linux/sched.h:378: error: storage size of `wall_to_prev' isn't
known
include/linux/sched.h:502: error: storage size of `rlim' isn't known
include/linux/sched.h:510: error: storage size of `thread' isn't known
include/linux/sched.h:522: error: storage size of `pending' isn't known
include/linux/stat.h:68: error: storage size of `atime' isn't known
include/linux/stat.h:69: error: storage size of `mtime' isn't known
include/linux/stat.h:70: error: storage size of `ctime' isn't known
include/linux/fs.h:276: error: storage size of `ia_atime' isn't known
include/linux/fs.h:277: error: storage size of `ia_mtime' isn't known
include/linux/fs.h:278: error: storage size of `ia_ctime' isn't known
include/linux/quota.h:224: error: storage size of `dq_dqb' isn't known
include/linux/fs.h:356: error: storage size of `bd_sem' isn't known
include/linux/fs.h:357: error: storage size of `bd_mount_sem' isn't
known
include/linux/fs.h:431: error: storage size of `i_atime' isn't known
include/linux/fs.h:432: error: storage size of `i_mtime' isn't known
include/linux/fs.h:433: error: storage size of `i_ctime' isn't known
include/linux/fs.h:440: error: storage size of `i_sem' isn't known
include/linux/fs.h:441: error: storage size of `i_alloc_sem' isn't known
include/linux/fs.h:447: error: storage size of `i_data' isn't known
include/linux/fs.h:574: error: storage size of `f_owner' isn't known
include/linux/fs.h:745: error: storage size of `s_umount' isn't known
include/linux/fs.h:746: error: storage size of `s_lock' isn't known
include/linux/fs.h:773: error: storage size of `s_vfs_rename_sem' isn't
known
{standard input}: Assembler messages:
{standard input}:747: Error: symbol `rv' is already defined
{standard input}:761: Error: symbol `rv' is already defined
{standard input}:768: Error: symbol `c' is already defined
{standard input}:774: Error: symbol `rv' is already defined
include/linux/pci.h:515: error: storage size of `dev' isn't known
/usr/src/zaptel/zaptel.c:6194: error: storage size of `zt_fops' isn't
known
include/linux/proc_fs.h:210: warning: `create_proc_read_entry' declared
`static' but never defined
/usr/src/zaptel/zaptel.c:3671: warning: `recalc_maxlinks' defined but
not used
/usr/src/zaptel/zaptel.c:589: warning: `zt_first_empty_conference'
defined but not used
/usr/src/zaptel/zaptel.c:600: warning: `zt_get_conf_alias' defined but
not used
/usr/src/zaptel/zaptel.c:982: warning: `free_tone_zone' defined but not
used
/usr/src/zaptel/zaptel.c:2338: warning: `ioctl_load_zone' defined but
not used
/usr/src/zaptel/zaptel.c:2690: warning: `zt_common_ioctl' defined but
not used
/usr/src/zaptel/zaptel.c:2949: warning: `recalc_slaves' defined but not
used
{standard input}:5367: Error: symbol `default_zone' is already defined
{standard input}:5379: Error: symbol `rv' is already defined
{standard input}:5385: Error: symbol `rv' is already defined
{standard input}:5391: Error: symbol `rv' is already defined
{standard input}:5397: Error: symbol `i' is already defined
{standard input}:5403: Error: symbol `rv' is already defined
{standard input}:5409: Error: symbol `rv' is already defined
{standard input}:5421: Error: symbol `rv' is already defined
{standard input}:5427: Error: symbol `rv' is already defined
{standard input}:5433: Error: symbol `i' is already defined
{standard input}:5439: Error: symbol `i' is already defined
{standard input}:5445: Error: symbol `j' is already defined
make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1
make[1]: *** [_module_/usr/src/zaptel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.8-1.521'
make: *** [linux26] Error 2
More information about the asterisk-users
mailing list