LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-08-2006, 01:02 PM   #1
kafnir
Member
 
Registered: Oct 2002
Location: USA
Distribution: Fedora and Ubuntu
Posts: 137

Rep: Reputation: 15
can anyone please solve redhat kernel errors


I try to instal zaptel on CENTOS4.3 and I get this error message when I type make and make install.

[root@server01 zaptel-1.2.5]# make
ZAPTELVERSION="1.2.5" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else \
mv version.h.tmp version.h ; \
fi

rm -f version.h.tmp
/lib/modules/2.6.9-34.EL/build
make -C /lib/modules/2.6.9-34.EL/build SUBDIRS=/usr/src/zaptel-1.2.5 XPPMOD= modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686'
CC [M] /usr/src/zaptel-1.2.5/zaptel.o
/usr/src/zaptel-1.2.5/zaptel.c:384: error: syntax error before "zone_lock"
/usr/src/zaptel-1.2.5/zaptel.c:384: warning: type defaults to `int' in declaration of `zone_lock'
/usr/src/zaptel-1.2.5/zaptel.c:384: error: incompatible types in initialization
/usr/src/zaptel-1.2.5/zaptel.c:384: error: initializer element is not constant
/usr/src/zaptel-1.2.5/zaptel.c:384: warning: data definition has no type or storage class
/usr/src/zaptel-1.2.5/zaptel.c:385: error: syntax error before "chan_lock"
/usr/src/zaptel-1.2.5/zaptel.c:385: warning: type defaults to `int' in declaration of `chan_lock'
/usr/src/zaptel-1.2.5/zaptel.c:385: error: incompatible types in initialization
/usr/src/zaptel-1.2.5/zaptel.c:385: error: initializer element is not constant
/usr/src/zaptel-1.2.5/zaptel.c:385: warning: data definition has no type or storage class
/usr/src/zaptel-1.2.5/zaptel.c:188: warning: 'fcstab' defined but not used
make[2]: *** [/usr/src/zaptel-1.2.5/zaptel.o] Error 1
make[1]: *** [_module_/usr/src/zaptel-1.2.5] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-i686'
make: *** [linux26] Error 2
[root@server01 zaptel-1.2.5]#

thank you
sincerely, clint
 
Old 04-09-2006, 09:40 AM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Kernel source is under /usr/src/linux or /usr/src/linux-2.6.*****. If neither exist and using precompiled rpm kernels then do the following commnad.
rpm -qa | kernel
If you have no kernel-devel-2.6.***** that matches current running kernel then you need to install the kernel-devel-2.6.****.rpm that matches your current running kernel version from where you got the kernel rpm you are running. If this is the orginal with no updates then it should be on the install cd's. Never run fc5 yet so not sure. If not goto fc site and look throught the rpm directory for it.

Brian1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe, QM MODULE errors on new 2.6.5 Kernel init in Redhat dafatdude Linux - Software 1 04-16-2004 07:15 AM
how to solve parse errors in C program?? divya Linux - Software 4 04-01-2004 11:19 AM
Can't Solve Kernel Panic G24 Linux - General 2 01-20-2004 06:33 AM
Redhat 9.0 kernel (2.4.20-8) compile errors devershetty Linux - Newbie 3 07-01-2003 12:25 PM
Redhat 7.2 Kernel Compile Errors GOLDF1NG3R Linux - General 2 01-26-2002 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration