Help:Having trouble compiling Kernel with redhat 4.1

Help:Having trouble compiling Kernel with redhat 4.1

Post by Tom » Thu, 20 Mar 1997 04:00:00



Let me first say that I thought that this was going to be easy (famous
last words).

I just installed Redhat 4.1.  I had been using Slackware for about a
year  so I knew or thought I knew how to customize the Kernel for my own
use.

After the install I noticed that SLIP and CSLIP support were not
included in the Kernel that was loaded with the base system so I tried
recompiling it myself. Setting up the configuration file was not too
difficult as there was a menu driven configurator in the package.

The problem is this: I do not believe that the file that I configure is
the file that is being used by the "Make" file for compilation. Yes, I
have checked the .config file that is created via "Make config" and it
looks right. But there are two symptoms that make me think that the
wrong file is being used:

1) After I compile and try to use the new Kernel I get some errors
concerning "unresolved modules" which are SCSI in nature. I do not have
any scsi devices and I was sure not to include any scsi drivers in the
..config file.

2) When I include drivers for the soundcard (SB-16) in the .config file,
the compile fails because it claims that I have chosen an option
(MPU-401 address or something) that can not be selected for the SB-16.
When I look at the .config file I clearly see that the MPU-401 option is
NOT selected .

So, does anyone have any ideas? I have sent emails to Redhat but that
was 5 days ago and it seems that nobody is home.

Thanks

Tom


 
 
 

Help:Having trouble compiling Kernel with redhat 4.1

Post by Panu Matilain » Fri, 21 Mar 1997 04:00:00


[snip]

Quote:>The problem is this: I do not believe that the file that I configure is
>the file that is being used by the "Make" file for compilation. Yes, I
>have checked the .config file that is created via "Make config" and it
>looks right. But there are two symptoms that make me think that the
>wrong file is being used:

>1) After I compile and try to use the new Kernel I get some errors
>concerning "unresolved modules" which are SCSI in nature. I do not have
>any scsi devices and I was sure not to include any scsi drivers in the
>..config file.

This is because the modules that came with RedHat are still in the same
place you put them, only 'depmod -a' complains about those old modules.
Do 'rm -r /lib/modules/2.0.XX' (kernel version of course) and do
modules_install again.

Quote:>2) When I include drivers for the soundcard (SB-16) in the .config file,
>the compile fails because it claims that I have chosen an option
>(MPU-401 address or something) that can not be selected for the SB-16.
>When I look at the .config file I clearly see that the MPU-401 option is
>NOT selected .

There is the real MPU-401 and then there is the SB-16-one. Both use
different config settings, maybe you should go and check again. You
_don't_ want the real MPU configured (ok, you tell you don't), but
there's the option: 'MPU401 I/O base of SB16, Jazz16 and ES1688' that
needs to be set to something sane (usually 330)

Hope this helps,
Panu

>So, does anyone have any ideas? I have sent emails to Redhat but that
>was 5 days ago and it seems that nobody is home.

>Thanks

>Tom




 
 
 

1. Trouble Compiling tcl/tk program under RedHat 4.1

Hello everybody,

I'm trying desperately to get GNU Lisp 2.2's tcl/tk
interface compiled under RedHat 4.1. I got gcl to
build, but when make gets to the tcl/tk stuff, it
compiles part of it, then bombs with:

[preceding stuff snipped]
make[2]: Entering directory `/usr/local/gcl-2.2/gcl-tk'
gcc -pipe -fwritable-strings -DVOL=volatile -I/usr/local/gcl-2.2/o
-fsigned-char guis.o tkAppInit.o tkMain.o -o gcltkaux  -L/usr/lib -ltk
-L/usr/lib -ltcl  -L/usr/X11/lib -lX11 -lm  ../o/gcllib.a
tkMain.o: In function `TkX_Wish':
tkMain.o(.text+0x14a): undefined reference to `Tk_CreateMainWindow'
/usr/lib/libtcl.so: undefined reference to `dlerror'
/usr/lib/libtcl.so: undefined reference to `dlopen'
/usr/lib/libtcl.so: undefined reference to `dlsym'
make[2]: *** [gcltkaux] Error 1
make[2]: Leaving directory `/usr/local/gcl-2.2/gcl-tk'
[etc...]

I have tk 4.2 and tcl 7.6 if that makes any difference.
If anybody can offer any suggestions or has gotten this
thing to build correctly, I would really like to hear
about it. Thanks,

Heath

--
Heath Holcomb

http://www.wfu.edu/~holcojh5

2. KDE4

3. Help! having trouble compiling a new kernel!!!

4. change the default error page

5. Having trouble compiling my kernel-please help

6. DHCPD and BIND Rumor?

7. Having trouble compiling kernel-please help

8. Adaptec 1520B / Panisonic CR 506B

9. Kernel Compile and RedHat 4.1

10. REDHAT 4.1: Kernel Compiling Problem!

11. RedHat 4.1 won't use my newly compiled kernel!

12. Having a Sh***y time with RedHat 4.1

13. Having trouble compiling tulip.c in RedHat 7