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 - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-29-2007, 05:07 PM   #1
basd
Member
 
Registered: Apr 2002
Location: Riverside CA USA
Distribution: SuSE 11
Posts: 83

Rep: Reputation: 15
package with asm/io.h?


I am trying to compile "gins", which is telling me it cannot find "include/asm/io.h".

My websearching indicates this may be part of the kernel headers. Whatever package it belongs to, I can't find it -- I've installed all of the libraries that sound to me as though they might be necessary for compiling this gcc++ program.

(GINS is a program that is supposed to be able to take a Glade GUI and use it to manage ordinary command line scripts. I've got GLADE/GTK2/GCC/GCC+ libraries loaded, as well as some kernel libraries, but still no io.h)

I would ask in the "programming" forum, but I suspect that solving this particular problem will require finding out which SUSE package contains the io.h file.

Thanks.
 
Old 10-30-2007, 11:05 AM   #2
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
You need the kernel-source package.
 
Old 11-01-2007, 01:13 PM   #3
basd
Member
 
Registered: Apr 2002
Location: Riverside CA USA
Distribution: SuSE 11
Posts: 83

Original Poster
Rep: Reputation: 15
kernel source and asm/io.h

Yes, thank you -- I do have the kernel source package installed. In fact, I have numerous "io.h" packages, but none in the path searched by "make". I tried using include/linux/io.h -- this didn't work because it generated lots more missing references.

It seems that my path for compiling programs is missing an appropriate directory, but I'm not certain how to correct that or what directory should be included that is presently not included.

Thanks again.

Barrington
 
Old 11-02-2007, 10:03 AM   #4
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
The file /lib/modules/$(uname -r)/source/include/asm/io.h should exist if you are running the kernel that corresponds to the kernel-source package. Are you running the opensuse stock kernel?
 
  


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/O in ASM Mercurius Programming 10 11-16-2006 07:02 PM
asm in gcc snowing Programming 1 05-08-2006 03:52 AM
Have you seen such asm code? snowing Programming 2 07-07-2005 05:13 AM
How to use C functions in asm? LongName Programming 4 08-29-2004 12:25 AM
asm question karlan Programming 6 07-16-2004 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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