LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-24-2004, 04:51 PM   #16
mgevans
LQ Newbie
 
Registered: Mar 2004
Location: PA
Posts: 11

Original Poster
Rep: Reputation: 0

Wonderful information - thanks!

OK - here is my output:
#su <--- no password required, I am logged in as root
#updatedb <--- takes about 15 seconds to return to prompt
#locate module.h <--- no return informatin before next prompt
#

Thoughts???
Michael
 
Old 03-24-2004, 04:56 PM   #17
mgevans
LQ Newbie
 
Registered: Mar 2004
Location: PA
Posts: 11

Original Poster
Rep: Reputation: 0
AHAHAHAHAHAAH
OK - this is from the lindows support FAQs:
Solution: nVidia offers a kernel patch to make NForce-2 supported, which plops right into your LindowsOS kernel
1. Download the kernel package
2. Login as root, go to the console:

dpkg -i kernel-image-lindows-2.4.20_2.4.20-51_i386.deb
lilo
reboot


-------
OK - all well and good - but I STILL want to find out how to do it the correct way.

Any ideas on why I cannot find module.h?
 
Old 03-24-2004, 06:01 PM   #18
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
I would say it's because you don't have the kernel headers installed...or did we cover that option already? I forget...is there a kernel-devel or kernel-headers package you can install?
 
Old 03-24-2004, 06:49 PM   #19
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
There is, which is why I asked about the output of 'uname' . That should tell us the kernel version, so you can get the correct headers. Use 'uname -r' to get the kernel revision. You want the three numbers (like 2.4.25), ignore anything after that. Then run the following, substituting the kernel version into <kernel version>

apt-cache search kernel-headers <kernel version>

You'll see a list of packages available, apt-get install the one ending in -386. Then try compiling again.
 
Old 03-25-2004, 12:37 AM   #20
mgevans
LQ Newbie
 
Registered: Mar 2004
Location: PA
Posts: 11

Original Poster
Rep: Reputation: 0
Sorry about the delay. I downloaded the kernel from the lindows site (they burried it well). I ran (as per their 'advanced' instructions) the following:

cd kernel-2.4.20
make unpack
make kernel_source
make configure
make kernel_image
make kernel_headers

This process took a while and produced some output.
The end result is that I ran a updatedb and locate module.h and now there are lots of them!


So I then tried to run the audio make file and it came back as "cannot find module.h" and about 15 other files still. So I got the bright idea to edit the .c and .h files in the nvaudio directory to replace the default path of where it was looking for the module.h etc (linux/module.h). - HOLY MOLEY! of the 15 files needed for the install, they were all over the place.

OK - so I find out that giving explicit paths to these files is a bad idea, because just as soon as I say "/root/kernel/linux-2.4.20/........" then that file is not referencing another file with a missing path etc etc!

So, we come to finding a way to edit the system path (i.e. if you need this file, look here...) But my modification of the .bash_profile file didn't do anything (i didn't restart the pc, just the shell).

-----------

so back to your questions:
uname -r ---> 2.4.24
ran apt-cache search kernel-headers 2.4.24 and got nothing
nothing to apt-get install

I did have a file from the way above operation that appeared in root as
kernel-headers-lindows-2.4.20_2.4.20-56_i386.deb

is this an installed file? is this a necessary file? Can I 'run' this file? it is about 3.9mb




I am afraid I am getting further off track so I won't go any further without more information.
btw - thanks for all the help thus far - it's been a blast!
 
Old 03-25-2004, 12:54 AM   #21
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
Hmmm.... You need to adjust your sources perhaps! This is what I have when I search...

liam@loki:~$ apt-cache search kernel-headers 2.4.24
kernel-headers-2.4.24-1 - Header files related to Linux kernel version 2.4.24
kernel-headers-2.4.24-1-386 - Linux kernel headers 2.4.24 on 386
kernel-headers-2.4.24-1-586tsc - Linux kernel headers 2.4.24 on Pentium-Classic
kernel-headers-2.4.24-1-686 - Linux kernel headers 2.4.24 on PPro/Celeron/PII/PIII/PIV
kernel-headers-2.4.24-1-686-smp - Linux kernel headers 2.4.24 on PPro/Celeron/PII/PIII/PIV SMP
kernel-headers-2.4.24-1-k6 - Linux kernel headers 2.4.24 on AMD K6/K6-II/K6-III
kernel-headers-2.4.24-1-k7 - Linux kernel headers 2.4.24 on AMD K7
kernel-headers-2.4.24-1-k7-smp - Linux kernel headers 2.4.24 on AMD K7 SMP
kernel-headers-2.4.24-speakup - Header files related to Linux kernel version 2.4.24-speakup


My /etc/apt/sources.list is below, it may work, but you will probably want a local location rather than sources in new zealand...

deb http://linux.citylink.co.nz/debian unstable main contrib
deb-src http://linux.citylink.co.nz/debian unstable main contrib
deb http://linux.citylink.co.nz/debian testing main contrib
deb http://linux.citylink.co.nz/debian stable main contrib
deb http://linux.citylink.co.nz/debian-non-US unstable/non-US main contrib
deb-src http://linux.citylink.co.nz/debian-non-US unstable/non-US main contrib
deb http://linux.citylink.co.nz/debian-non-US testing/non-US main contrib
deb http://linux.citylink.co.nz/debian-non-US stable/non-US main contrib

deb http://security.debian.org/ testing/updates main
deb http://security.debian.org/ stable/updates main


make a copy of your /etc/apt/sources.list file and then run the apt-setup tool, it'll help you find a local site. If you do install the sources, then you'll want to _undo_ all the changes that you've made to your nvidia source code.
 
Old 04-01-2004, 06:18 PM   #22
ShamusMcConnell
LQ Newbie
 
Registered: Mar 2004
Distribution: Lindows, Mandrake
Posts: 14

Rep: Reputation: 0
Hello,

I started following this thread because I am doing much the same that mgevans is. Your thread has been the single most instructive thread I have found so far. I am also new to Linux and thought Lindows would work nicely because it worked alot like Windows and would allow me a gradual transition. So far it has worked.

I have managed to download the apt-get per the instructions earlier in the thread and the downloaded and installed the gcc and man programs, which has been a great help.

I also tried the:

apt-cache search kernel-headers 2.4.24 (version number)

and came up with nothing. If you leave the version number off:

apt-cache search kernel-headers

then this comes up:

kernel-headers-2.2.20 - Header files related to Linux kernel version 2.2.20
kernel-headers-2.2.20-compact - Header files related to Linux kernel version 2.2.20-compact
kernel-headers-2.2.20-idepci - Header files related to Linux kernel version 2.2.20-idepci
kernel-headers-2.2.20-reiserfs - Header files related to Linux kernel version 2.2.20
kernel-headers-2.2.20-sparc - Kernel header files for all sparc sub architectures
kernel-headers-2.4.16 - Header files related to Linux kernel version 2.4.16
kernel-headers-2.4.16-386 - Headers for Linux kernel version 2.4.16 on 386
kernel-headers-2.4.16-586 - Headers for Linux kernel version 2.4.16 on 586/K5/5x86/6x86/6x86MX
kernel-headers-2.4.16-586tsc - Headers for Linux kernel version 2.4.16 on Pentium-Classic
kernel-headers-2.4.16-686 - Headers for Linux kernel version 2.4.16 on PPro/Celeron/PII/PIII
kernel-headers-2.4.16-686-smp - Linux kernel headers 2.4.16 on PPro/Celeron/PII/PIII SMP
kernel-headers-2.4.16-k6 - Headers for Linux kernel version 2.4.16 on AMD K6/K6-II/K6-III
kernel-headers-2.4.16-k7 - Headers for Linux kernel version 2.4.16 on AMD K7
kernel-headers-2.4.18 - Header files related to Linux kernel version 2.4.18
kernel-headers-2.4.18-386 - Headers for Linux kernel version 2.4.18 on 386
kernel-headers-2.4.18-586tsc - Headers for Linux kernel version 2.4.18 on Pentium-Classic
kernel-headers-2.4.18-686 - Linux kernel headers 2.4.18 on PPro/Celeron/PII/PIII/PIV
kernel-headers-2.4.18-686-smp - Linux kernel headers 2.4.18 on PPro/Celeron/PII/PIII/PIV SMP
kernel-headers-2.4.18-bf2.4 - Headers for Linux kernel version 2.4.18 (bf variant) on 386
kernel-headers-2.4.18-k6 - Headers for Linux kernel version 2.4.18 on AMD K6/K6-II/K6-III
kernel-headers-2.4.18-k7 - Headers for Linux kernel version 2.4.18 on AMD K7
kernel-headers-2.4.18-sparc - Kernel header files for all sparc sub architectures
kernel-headers-2.4.19-sparc - Kernel header files for all sparc sub architectures
kernel-package - Debian Linux kernel package build scripts.

Just to let you know. I dont think I am trying to do what he is trying to do. I am trying to turn my machine into a multimedia machine able to watch .avi and mpegs through my svideo port onto my TV. The MPlayer program doesn't get the picture very large (unlike Windows Media Player) and was hoping that the apt-get could help me. Unforunately, after I install from the apt-cache I cant seem to find where they put the program and have no clue how to run it. Any ideas?

Sham

P.S. -- Sorry for intruding on the thread.
 
Old 04-01-2004, 06:27 PM   #23
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
No probs with intruding, it's a forum

As at this point in time, MPlayer is not available in the debian archives, so apt get won't help you too much here. If you've already managed to download and compile it, then congrats; there are a heap of threads in here already with people having problems there...

Assuming that you have, then you have a couple of options.

a) if you've compiled the GUI with it, then run gmplayer, rather than mplayer, and you will get the GUI. You can right click and select fullscreen to make the picture bigger. Depending on the video out driver you use, you can also drag the window frame to resize it as you like.

b) from the command line you can add the parameters -zoom -fs to make it automatically play in full screen.
 
Old 04-01-2004, 06:53 PM   #24
ShamusMcConnell
LQ Newbie
 
Registered: Mar 2004
Distribution: Lindows, Mandrake
Posts: 14

Rep: Reputation: 0
MPlayer actually comes with Lindows. Its their "default" mpeg player. There isn't a GMPlayer though. Downloaded and installed a few others through apt-get, but dont know how to access them. Cant find any icons and dont know where they are loaded (like Windows Program Files) to start them a runnin?

Any help?

Sham
 
Old 04-01-2004, 07:28 PM   #25
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
Does their mplayer version have a GUI?

By default, pressing 'f' should makle mplayer go to full screen mode, with or w/out a gui.

If you're up to installing stuff from source, you can check out mplayerhq.hu to get the goodies. You'll need a pile of libraries though, but all of them can be got through apt-get.
 
Old 04-01-2004, 07:38 PM   #26
ShamusMcConnell
LQ Newbie
 
Registered: Mar 2004
Distribution: Lindows, Mandrake
Posts: 14

Rep: Reputation: 0
I should have been more descriptive.

MPlayer does indeed go full screen. The problem is is that while the black border around the movie goes full screen, the movie itself stays the same size, making watching it on a 42 inch TV kinda crappy.

I dont feel comfortable doing much loading from source. I went to the website but am totally outmanned by the site, unsure of what to do and what to get. I am VERY new to Linux, having only played around with it for a couple weeks and that inconsisently.

Sham
 
Old 04-01-2004, 11:30 PM   #27
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
Does their mplayer version have a GUI?

By default, pressing 'f' should makle mplayer go to full screen mode, with or w/out a gui.

If you're up to installing stuff from source, you can check out mplayerhq.hu to get the goodies. You'll need a pile of libraries though, but all of them can be got through apt-get.
 
Old 04-02-2004, 08:25 AM   #28
ShamusMcConnell
LQ Newbie
 
Registered: Mar 2004
Distribution: Lindows, Mandrake
Posts: 14

Rep: Reputation: 0
I suspect its a GUI, its got different skins and works alot like WinAmp.

I was thinking (always a scary prospect) and thought I remembered that when working with Linux after downloading a program I have to compile it for that distro and my box right?

So after I do an:

apt-get install (program)

Its not really installed and ready to use yet? Or does the install option automatically go through my compiler and take care of that?

How do I run these programs if the install option compiles them?

Sham
 
Old 04-04-2004, 05:02 PM   #29
liamoboyle
Member
 
Registered: Mar 2004
Location: Wellington, New Zealand
Distribution: Debian
Posts: 127

Rep: Reputation: 15
apt-get installs precompiled packages, for the appropriate architecture, so they are good to run as soon as they're installed; no compilation necessary.

You've definitely got a GUI there, try right clicking and selecting fullscreen.
 
Old 04-04-2004, 05:14 PM   #30
ShamusMcConnell
LQ Newbie
 
Registered: Mar 2004
Distribution: Lindows, Mandrake
Posts: 14

Rep: Reputation: 0
Thats how I did it at first with nothing. I was running it through my network so I thought that might be the problem, but I guess not cause its still smaller.

Sham
 
  


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
make error with binutils gravesb Linux From Scratch 2 10-15-2005 03:48 PM
Binutils-2.15.94.0.2.2 - Pass 1 stuck up after make install kagashe Linux From Scratch 9 10-09-2005 12:42 PM
binutils-2.16.90.0.1 make error on Slackware 10.0 CPUFreak91 Linux - Software 2 09-08-2005 09:57 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 04:01 AM
binutils make check fails atari24 Linux From Scratch 1 07-10-2004 04:08 PM


All times are GMT -5. The time now is 06:43 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