LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2011, 04:53 AM   #1
HeavenElite
LQ Newbie
 
Registered: Feb 2011
Posts: 25
Blog Entries: 1

Rep: Reputation: 0
Question [Red Hat Linux 9.0] make xconfig can't work !!


The problem has troubled me three days.Help~~~

I have the RedHat Linux 9.0 ISO downloaded from our from.

All of the develop tools have been installed.

I got the linux-2.6.38.2 from kernel.org and did "tar xjvf" at the

directory----/usr/src.

After "make mrproper" in /usr/src/linux-2.6.38.2,I find "make

xconfig" can't work.But in /usr/src/linux-2.4.20-8 (must be created

By the system when installing is prograssing),"make xconfig" can

work. The Screen is bellow:

[root@localhost linux-2.6.38.2]# ls -a
. block CREDITS drivers .gitignore ipc kernel MAINTAINERS net samples sound virt
.. crypto firmware include Kbuild lib Makefile README scripts tools
arch COPYING Documentation fs init Kconfig .mailmap mm REPORTING-BUGS security usr


[root@localhost linux-2.6.38.2]# make xconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
CHECK qt
* Unable to find the QT4 tool qmake. Trying to use QT3
HOSTCC scripts/kconfig/conf.o
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
/usr/lib/qt-3.1/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
HOSTCXX scripts/kconfig/qconf.o
scripts/kconfig/qconf.cc: In constructor
`ConfigMainWindow::ConfigMainWindow()':
scripts/kconfig/qconf.cc:1370: no matching function for call to `QAction::
QAction(QString, int, QActionGroup*&'
/usr/lib/qt-3.1/include/qaction.h:137: candidates are: QAction:Action(const
QAction&
/usr/lib/qt-3.1/include/qaction.h:79: QAction:Action(const
QString&, const QString&, QKeySequence, QObject*, const char* = 0, bool =
FALSE)
/usr/lib/qt-3.1/include/qaction.h:77: QAction:Action(const
QString&, const QIconSet&, const QString&, QKeySequence, QObject*, const
char* = 0, bool = FALSE)
/usr/lib/qt-3.1/include/qaction.h:74:
QAction:Action(QObject*, const char* = 0, bool = FALSE)
scripts/kconfig/qconf.cc:1371: no matching function for call to `QAction::
QAction(QString, int, QActionGroup*&'
/usr/lib/qt-3.1/include/qaction.h:137: candidates are: QAction:Action(const
QAction&
/usr/lib/qt-3.1/include/qaction.h:79: QAction:Action(const
QString&, const QString&, QKeySequence, QObject*, const char* = 0, bool =
FALSE)
/usr/lib/qt-3.1/include/qaction.h:77: QAction:Action(const
QString&, const QIconSet&, const QString&, QKeySequence, QObject*, const
char* = 0, bool = FALSE)
/usr/lib/qt-3.1/include/qaction.h:74:
QAction:Action(QObject*, const char* = 0, bool = FALSE)
scripts/kconfig/qconf.cc:1372: no matching function for call to `QAction::
QAction(QString, int, QActionGroup*&'
/usr/lib/qt-3.1/include/qaction.h:137: candidates are: QAction:Action(const
QAction&
/usr/lib/qt-3.1/include/qaction.h:79: QAction:Action(const
QString&, const QString&, QKeySequence, QObject*, const char* = 0, bool =
FALSE)
/usr/lib/qt-3.1/include/qaction.h:77: QAction::QAction(const
QString&, const QIconSet&, const QString&, QKeySequence, QObject*, const
char* = 0, bool = FALSE)
/usr/lib/qt-3.1/include/qaction.h:74:
QAction::QAction(QObject*, const char* = 0, bool = FALSE)
make[1]: *** [scripts/kconfig/qconf.o] Error 1
make: *** [xconfig] Error 2


[root@localhost src]# ls -a
. .. debug linux-2.4 linux-2.4.20-8 linux-2.6.38.2 Linux-2.6.38.2.tar.bz2 pax_global_header redhat

[root@localhost src]# cd linux-2.4
[root@localhost linux-2.4]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.20-8/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
KERNTYPE=`sed -n 's_^/\* Kernel type \(.*\) \*/_\1_p' /boot/kernel.h 2>/dev/null`; \
if [ -f configs/*-ERNTYPE.config ]; then \
conf=`echo configs/*-ERNELTYPE.config`; \
echo "set defaults \"\"" >> kconfig.tk; \
else \
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk; \
fi
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/scripts'
wish -f scripts/kconfig.tk
[root@localhost linux-2.4]# ls -a
. arch COPYING CREDITS Documentation fs init kernel MAINTAINERS mm README Rules.make tmp_include_depends
.. configs COPYING.modules crypto drivers include ipc lib Makefile net REPORTING-BUGS scripts
 
Old 04-09-2011, 05:30 AM   #2
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,093

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by HeavenElite View Post
I have the RedHat Linux 9.0 ISO downloaded from our from.
Downloading RedHat 9 and trying to install it is a waste of bandwidth, time and effort.

RedHat 9 is very old. Do not use it. Throw it away. Download something up to date and use that instead. The closest thing to an up to date version of RedHat 9 is Fedora. http://fedoraproject.org/

Last edited by arizonagroovejet; 04-09-2011 at 05:34 AM. Reason: missing close quote tag
 
Old 04-09-2011, 05:32 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Quote:
Originally Posted by HeavenElite View Post
I have the RedHat Linux 9.0
The version you run is utterly, utterly deprecated. (See http://www.redhat.com/security/updates/eol/ and http://rhn.redhat.com/errata/rh9-errata.html for more information.) This means you miss out on all the new technology that's been around for ages, all the bug fixes and all the security updates. Trying to upgrade QT to "fix" this problem of yours would only prove to be an exercise in futility. Having your machine attached to the Internet unchanged makes it a hazard not only for you but for the whole community. So please plan your migration and do so before doing anything else. If you like Red Hat Linux then you could install Fedora 14 (stable right now). Elif you like Red Hat but can't pay for RHEL then you could run CentOS (current is 5.6). Else check out the many "choose a distro" threads or the mega-thread at LQ (fi).


Quote:
Originally Posted by HeavenElite View Post
[root@localhost linux-2.6.38.2]
You do not need to be root to compile software: use your unprivileged user account instead and switch over only for installing it.
 
Old 04-09-2011, 10:39 PM   #4
HeavenElite
LQ Newbie
 
Registered: Feb 2011
Posts: 25
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by unSpawn View Post
The version you run is utterly, utterly deprecated. (See http://www.redhat.com/security/updates/eol/ and http://rhn.redhat.com/errata/rh9-errata.html for more information.)
Yes,Thank you,I have read the pages and plan to use CentOS in my laptop.But ,Actually I'm a chinese with poor English,the computers of my university are used the system,I have to do this.My teacher teached me to use xconfig,I have to made the system work in order to pass the exam.
 
Old 04-10-2011, 01:34 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
CentOS and laptops DO NOT mix well .
It will install BUT not everything will run 100% correct .

for a laptop i would recommend installing Ubuntu !

BUT
if YOU MUST USE something in the red hat family on a laptop then install Fedora 14
or
the RHEL6.0 repackaging "Scientific Linux 6.0 "
 
Old 04-11-2011, 02:49 AM   #6
HeavenElite
LQ Newbie
 
Registered: Feb 2011
Posts: 25
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
CentOS and laptops DO NOT mix well .
I just use the vmware to run the linux,because I just begin to learn the linux,and today I'm learning how to install a software or driver packed with the B2zip or gzip.
 
Old 04-11-2011, 03:39 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Quote:
'm learning how to install a software or driver packed with the B2zip or gzip.
there are almost NO "drivers" needed unlike Microsoft . Every once and a while there is a usb modem( 3g,4g) that will need one .

software ? in Cent use "yum" to install already built rpm's

if you build from source you NEED TO BE VERY VERY careful not to KILL the operating system

if you overwrite a SYSTEM file / program the computer my never boot again .
but RHEL was never intended to be used on laptops ,so not everything might work right
the common laptop problems with RHEL is
* the mouse pad -not working
* the mouse pad click -not working
* sound -not working
* the headphones NOT turning off the speaker when plugged in
* the modem ,you might be FORCED to plugin the laptop to dsl/cable
* wireless might not work
* some built in 3d chips are not supported by THERE manufacture ( windows only ,or you MUST use the driver on the laptop manufactures web site)
 
Old 04-11-2011, 03:49 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
RH 9.0 may have used an older version of glibc. I doubt you would have much luck compiling most programs which have a newer glibc version as a prerequisite. Glibc is the runtime environment that c programs run under, which means nearly everything.

You really want to use a more modern version of Fedora, or select a different distro of your choice.
 
Old 04-11-2011, 03:50 AM   #9
HeavenElite
LQ Newbie
 
Registered: Feb 2011
Posts: 25
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by John VV View Post
there are almost NO "drivers" needed unlike Microsoft . Every once and a while there is a usb modem( 3g,4g) that will need one .

software ? in Cent use "yum" to install already built rpm's

if you build from source you NEED TO BE VERY VERY careful not to KILL the operating system
I can't understand how the linux kernel work with the hardwares without something just like drivers (I guess they're modules,)but what're the differents between the dirviers and modules?

I don't dare,if I do something wrong,just reinstall OS. What's importent is recover the problem and solve it,I like the game.
 
Old 04-11-2011, 05:43 AM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
In the windows world, it's common to download a "driver" from a website for a device.
This driver is really an installation program, which may install dlls, or sometimes just ini file entries.

Linux uses loadable kernel modules, which are included in the source for the kernel. You opt whether to include support when you build a kernel. Modules can be compiled into the kernel or as loadable modules. It is very rare to install a compiled library instead, and this will usually restrict you to a particular kernel version.

The good news, since you said you want to learn about how the kernel works is that you have access to the source.
 
Old 04-11-2011, 09:34 PM   #11
HeavenElite
LQ Newbie
 
Registered: Feb 2011
Posts: 25
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Exclamation

Quote:
Originally Posted by jschiwal View Post
Linux uses loadable kernel modules
Mr.jschiwal,you are great.Thanks!Now I'm reinstall the RHL9.0 in the VMware Workstation.Because when I change the language from Chinese to English,a problem ,font can't find,was activited.But I'm busy to learn to install Tarball Software,so I drop the problem.

Acturally,I run "make xconfig" and compiled the kernel 2.4.37.11 and the default kernel 2.4.20.8 successful,however the kernel 2.6.38.2 still can't use the make xconfig.But I never mind it now.Beacuse I have seen the xconfig finally.

When I use the "make xconfig",I find that the kernel optiions are too many and I can't understand all of them.But I think that those are the the kernel modules,are they?

What're the differents between the linux kernel moudles and the windows drivers?
Several days ago, I download the Sound Driver for linux Audio Card ,how can I understand it.
In linux,The way to make the Audio Card work is compiling the kernel rather than installing something like drivers?
 
Old 04-14-2011, 03:27 AM   #12
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Quote:

When I use the "make xconfig",I find that the kernel optiions are too many and I can't understand all of them.But I think that those are the the kernel modules,are they?
Run "make oldconfig" first. This will copy the options from your current kernel and then prompt you only for new features.

There are differences between compiling a 2.4 and a 2.6 kernel so be sure to read up on the process first. For example, if "make oldconfig" doesn't work, try "make cloneconfig" instead. I really don't remember, since I haven't used a 2.4 kernel for years.

After "make oldconfig", then run "make xconfig". You will have fewer choices to make. Just change what you need too.
 
  


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
How to make my EVDO work in Red Hat Enterprise Linux PaulNewman Linux - Newbie 1 05-21-2009 09:19 AM
make Xconfig doesn't work, make menuconfig does work Debian/KDE bucovaina78 Linux - Kernel 1 10-15-2008 01:26 PM
Make USB mouse to work on Red Hat 9 Micik Linux - Newbie 7 09-07-2007 01:14 AM
anyone make NetGear MA111 work well in Red Hat Linux 9.0? jarrywhu Linux - Wireless Networking 1 10-18-2004 07:05 AM
How to make build in Ethernet work on RED HAT 8 x2000koh Linux - Networking 4 06-19-2003 08:23 PM


All times are GMT -5. The time now is 12: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration