Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev-lang
Navigation:
Lists: gentoo-dev-lang: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-dev-lang@g.o>
From: "Muiz Haider" <MHaider@...>
Subject: newbie having problem compiling code having "request_region"
Date: Wed, 20 Jul 2005 08:28:13 -0400
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:#FF8000;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:lime;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link="#FF8000" vlink=lime>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>When I try to compile user-mode code containing call to
request_region and others, I get messages below:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>undefined reference to
`__release_region'<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>undefined reference to
`ioport_resource'<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>undefined reference to
`__request_region'<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I found request_region defined in
/usr/src/linux/kernel/resource.c.&nbsp; I expected this to be part of the C
library, <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>and this is meant to be called from user-space.&nbsp; &#8220;uname
&#8211;r&#8221; gives me &#8220;2.6.11-gentoo-r9&#8221;.&nbsp; Any idea what<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I could be doing wrong?&nbsp; I think I have included all
the correct header files.&nbsp; Please let me know if I need to<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>include any library.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>MH<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

<!--[object_id=#railpower.com#]--><FONT face=Tahoma size=2><FONT color=#0000ff>
<P align=center><FONT face=Tahoma></FONT><FONT face=Arial color=#000000 size=1>The information contained in this email and any document attached hereto is intended only for the named recipient(s) and may contain information that is privileged and/or confidential.&nbsp; It is the property of RailPower Technologies Corp. and/or RailPower Hybrid Technologies Corp. (collectively "RailPower") and shall not be used, disclosed or reproduced without the express written consent of RailPower.&nbsp; If you are not the intended recipient, you are hereby notified that you have received this transmittal in error, and any review, dissemination, distribution or copying of this transmittal or any of its attachments is strictly prohibited.&nbsp; If you have received this transmittal and/or attachments in error, please notify the sender immediately by reply email or telephone 1-604-904-0085 and immediately delete this message and all its attachments.&nbsp; Thank you.</FONT>&nbsp;</P></FONT></FONT></html>
Navigation:
Lists: gentoo-dev-lang: < Prev By Thread Next > < Prev By Date Next >
Next by thread:
Added Gwydion-Dylan to the tree.
Next by date:
Added Gwydion-Dylan to the tree.


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.