LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-16-2009, 02:04 AM   #1
dham_sizzy
LQ Newbie
 
Registered: Jan 2009
Posts: 8

Rep: Reputation: 0
facing problem while compiling sc92031.c'.


receiving the following error

/bin/sh: -W: invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--rpm-requires
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Makefile:62: ***
Makefile:63: *** Warning: kernel source version ()
Makefile:64: *** does not match running kernel (2.6.18-53.el5)
Makefile:65: *** Continuing with build,
Makefile:66: *** resulting driver may not be what you want
Makefile:67: ***
/bin/sh: -W: invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--rpm-requires
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Makefile:85: ***
Makefile:90: *** Warning: kernel source configuration (UP)
Makefile:91: *** does not match running kernel (SMP)
Makefile:93: *** Continuing with build,
Makefile:94: *** resulting driver may not be what you want
Makefile:95: ***
make: Nothing to be done for `sc92031.c'.



please help me

i am using RHEL 5 kernel version 2.6.18-53.el5

Last edited by dham_sizzy; 01-16-2009 at 02:05 AM.
 
Old 01-16-2009, 08:28 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dham_sizzy View Post
receiving the following error

Makefile:85: ***
Makefile:90: *** Warning: kernel source configuration (UP)
Makefile:91: *** does not match running kernel (SMP)
Makefile:93: *** Continuing with build,
Makefile:94: *** resulting driver may not be what you want
Makefile:95: ***
make: Nothing to be done for `sc92031.c'.

please help me

i am using RHEL 5 kernel version 2.6.18-53.el5
Please READ the error message. The kernel source you've got installed, doesn't match the kernel you're running. It says you're running the SMP kernel (Makefile:91 above), but the kernel source isn't for that kernel.

Either reboot your box into a different kernel, or download and install the kernel-devel SMP source.
 
Old 01-17-2009, 04:20 AM   #3
dham_sizzy
LQ Newbie
 
Registered: Jan 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you sir
But i am unable to find the rpm(kernel-devel SMP source.) for RHEL5 2.6.18-53.el5
please any one give me the link to download
 
Old 01-18-2009, 06:25 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dham_sizzy View Post
Thank you sir
But i am unable to find the rpm(kernel-devel SMP source.) for RHEL5 2.6.18-53.el5
please any one give me the link to download
You pay for support through RedHat...they have links on their web site to download this, and it's probably on the installation CD/DVD you already have.
 
Old 01-19-2009, 05:01 AM   #5
dham_sizzy
LQ Newbie
 
Registered: Jan 2009
Posts: 8

Original Poster
Rep: Reputation: 0
facing problem while compiling sc92031.c'.

Quote:
Originally Posted by TB0ne View Post
You pay for support through RedHat...they have links on their web site to download this, and it's probably on the installation CD/DVD you already have.
i have redhat DVD
but i could not find kernel-smp rmp package
i created yum repository using the available cd and searched it
but i could not find it
 
Old 01-19-2009, 12:09 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by dham_sizzy View Post
i have redhat DVD
but i could not find kernel-smp rmp package
i created yum repository using the available cd and searched it
but i could not find it
Again....YOU PAY FOR SUPPORT FROM REDHAT. RedHat has this package on their website. If you can't find it there, CALL REDHAT AND THEY WILL TELL YOU WHERE IT IS, AND HOW TO DOWNLOAD IT.
 
  


Reply



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
I am facing problem with openOffic dellxcard Linux - General 3 06-16-2008 07:23 AM
Facing problem in Sendmail 3.13 dhanju Linux - Server 1 03-27-2008 09:10 AM
Facing problem regarding sound utkarshrawat Linux - Hardware 9 10-18-2007 02:54 AM
Facing The Problem When I upgraded My PC girish_sawlekar Fedora 2 06-11-2007 10:41 PM
Facing a problem with procautostart safrout Linux - Software 3 12-24-2005 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:40 AM.

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