Tucker
2004-Jun-23 10:11 UTC
[Asterisk-Users] problems compiling zaptel X100P on Redhat Fedora 2.6.5-1.358
Hi can you help ?
I have been trying to compile the zaptel modules all
day for installation with out success, see messages
below....
Setup as follows
X100P card
Intel Celeron (686) 1.7ghz processor
Redhat Fedora Core 2 (Linux-2.6.5-1.358)
When I do the make I get the following errors
Any comments would be great
====> make
make -C /usr/src/linux-2.6.5-1.358
SUBDIRS=/asterisk/zaptel-0.9.1 modules
make[1]: Entering directory
`/usr/src/linux-2.6.5-1.358'
Makefile:434: .config: No such file or directory
CC [M] /asterisk/zaptel-0.9.1/zaptel.o
In file included from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from
/asterisk/zaptel-0.9.1/zaptel.c:44:
include/asm/processor.h:65: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a
function)
include/asm/processor.h:65: error: requested alignment
is not a constant
In file included from include/linux/list.h:7,
from include/linux/wait.h:14,
from include/asm/semaphore.h:41,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from
/asterisk/zaptel-0.9.1/zaptel.c:44:
include/linux/prefetch.h: In function
`prefetch_range':
include/linux/prefetch.h:64: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in
this function)
include/linux/prefetch.h:64: error: (Each undeclared
identifier is reported only once
include/linux/prefetch.h:64: error: for each function
it appears in.)
In file included from include/linux/fs.h:17,
from include/linux/proc_fs.h:6,
from
/asterisk/zaptel-0.9.1/zaptel.c:45:
include/linux/dcache.h: At top level:
include/linux/dcache.h:106: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a
function)
include/linux/dcache.h:106: error: requested alignment
is not a constant
In file included from include/linux/mm.h:214,
from include/asm/pci.h:7,
from include/linux/pci.h:800,
from
/asterisk/zaptel-0.9.1/zaptel.c:46:
include/linux/page-flags.h:136: error:
`CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a
function)
include/linux/page-flags.h:136: error: requested
alignment is not a constant
In file included from
/asterisk/zaptel-0.9.1/zaptel.c:82:
/asterisk/zaptel-0.9.1/zaptel.h:1407:41: missing
binary operator before token "("
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_chan_write':
/asterisk/zaptel-0.9.1/zaptel.c:1665: warning:
ignoring return value of `direct_copy_from_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_ctl_open':
/asterisk/zaptel-0.9.1/zaptel.c:1694: warning:
`MOD_INC_USE_COUNT' is deprecated (declared at
include/linux/module.h:501)
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_chan_open':
/asterisk/zaptel-0.9.1/zaptel.c:1703: warning:
`MOD_INC_USE_COUNT' is deprecated (declared at
include/linux/module.h:501)
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_ctl_release':
/asterisk/zaptel-0.9.1/zaptel.c:1712: warning:
`MOD_DEC_USE_COUNT' is deprecated (declared at
include/linux/module.h:513)
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_chan_release':
/asterisk/zaptel-0.9.1/zaptel.c:1721: warning:
`MOD_DEC_USE_COUNT' is deprecated (declared at
include/linux/module.h:513)
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_timing_open':
/asterisk/zaptel-0.9.1/zaptel.c:2028: warning:
`MOD_INC_USE_COUNT' is deprecated (declared at
include/linux/module.h:501)
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_timer_release':
/asterisk/zaptel-0.9.1/zaptel.c:2065: warning:
`MOD_DEC_USE_COUNT' is deprecated (declared at
include/linux/module.h:513)
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_specchan_open':
/asterisk/zaptel-0.9.1/zaptel.c:2096: warning:
`MOD_INC_USE_COUNT' is deprecated (declared at
include/linux/module.h:501)
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_specchan_release':
/asterisk/zaptel-0.9.1/zaptel.c:2120: warning:
`MOD_DEC_USE_COUNT' is deprecated (declared at
include/linux/module.h:513)
/asterisk/zaptel-0.9.1/zaptel.c: In function
`ioctl_load_zone':
/asterisk/zaptel-0.9.1/zaptel.c:2282: warning:
ignoring return value of `direct_copy_from_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_common_ioctl':
/asterisk/zaptel-0.9.1/zaptel.c:2597: warning:
ignoring return value of `direct_copy_from_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c:2654: warning:
ignoring return value of `direct_copy_to_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c:2657: warning:
ignoring return value of `direct_copy_from_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c:2736: warning:
ignoring return value of `direct_copy_from_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c:2766: warning:
ignoring return value of `direct_copy_to_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c: In function
`zt_chanandpseudo_ioctl':
/asterisk/zaptel-0.9.1/zaptel.c:3441: warning:
ignoring return value of `direct_copy_from_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c:3451: warning:
ignoring return value of `direct_copy_to_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c:3454: warning:
ignoring return value of `direct_copy_from_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c:3505: warning:
ignoring return value of `direct_copy_to_user',
declared with attribute warn_unused_result
/asterisk/zaptel-0.9.1/zaptel.c:3509: warning:
ignoring return value of `direct_copy_from_user',
declared with attribute warn_unused_result
make[2]: *** [/asterisk/zaptel-0.9.1/zaptel.o] Error 1
make[1]: *** [/asterisk/zaptel-0.9.1] Error 2
make[1]: Leaving directory
`/usr/src/linux-2.6.5-1.358'
make: *** [linux26] Error 2
Steven Critchfield
2004-Jun-23 10:44 UTC
[Asterisk-Users] problems compiling zaptel X100P on Redhat Fedora 2.6.5-1.358
On Wed, 2004-06-23 at 12:11, Tucker wrote:> Hi can you help ? > > I have been trying to compile the zaptel modules all > day for installation with out success, see messages > below.... > > Setup as follows > X100P card > Intel Celeron (686) 1.7ghz processor > Redhat Fedora Core 2 (Linux-2.6.5-1.358) > > When I do the make I get the following errors > > Any comments would be greatFirst rule of open source community behavior, read your error messages and see if you can make sense of them.> ====> make > make -C /usr/src/linux-2.6.5-1.358 > SUBDIRS=/asterisk/zaptel-0.9.1 modules > make[1]: Entering directory > `/usr/src/linux-2.6.5-1.358' > Makefile:434: .config: No such file or directoryDo you have the directory /usr/src/linux-2.6.5-1.358? Does it contain a .config file generated when your kernel was compiled? If either of those are a no, you should be able to see where I am pointing you to fix your problem. -- Steven Critchfield <critch@basesys.com>