<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size:
14px; vertical-align: baseline; clear: both; color: rgb(0, 0, 0);
font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 17.804800033569336px;
orphans: auto; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background: rgb(255, 255, 255);">So
the initial problem I'm having is that wanting to use headers and
their libs like<span class="Apple-converted-space"> </span><code
style="margin: 0px; padding: 1px 5px; border: 0px; font-size:
14px; vertical-align: baseline; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;
white-space: pre-wrap; background: rgb(238, 238, 238);">module.h</code><span
class="Apple-converted-space"> </span>and<span
class="Apple-converted-space"> </span><code style="margin: 0px;
padding: 1px 5px; border: 0px; font-size: 14px; vertical-align:
baseline; font-family: Consolas, Menlo, Monaco, 'Lucida
Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera
Sans Mono', 'Courier New', monospace, serif; white-space:
pre-wrap; background: rgb(238, 238, 238);">init.d</code><span
class="Apple-converted-space"> </span>and<span
class="Apple-converted-space"> </span><code style="margin: 0px;
padding: 1px 5px; border: 0px; font-size: 14px; vertical-align:
baseline; font-family: Consolas, Menlo, Monaco, 'Lucida
Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera
Sans Mono', 'Courier New', monospace, serif; white-space:
pre-wrap; background: rgb(238, 238, 238);">pci.h</code><span
class="Apple-converted-space"> </span>for instance can't be used
by simply going<span class="Apple-converted-space"> </span><code
style="margin: 0px; padding: 1px 5px; border: 0px; font-size:
14px; vertical-align: baseline; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;
white-space: pre-wrap; background: rgb(238, 238, 238);">#include
<pci.h></code><span class="Apple-converted-space"> </span>because
if you check the actual<span class="Apple-converted-space"> </span><code
style="margin: 0px; padding: 1px 5px; border: 0px; font-size:
14px; vertical-align: baseline; font-family: Consolas, Menlo,
Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono',
'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;
white-space: pre-wrap; background: rgb(238, 238, 238);">pci.h</code><span
class="Apple-converted-space"><code style="margin: 0px; padding:
1px 5px; border: 0px; font-size: 14px; vertical-align:
baseline; font-family: Consolas, Menlo, Monaco, 'Lucida
Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream
Vera Sans Mono', 'Courier New', monospace, serif; white-space:
pre-wrap; background: rgb(238, 238, 238);"></code><span
class="Apple-converted-space"> </span>(40 lines or so) </span>file
you will find that its allot shorter then the usual dev<span
class="Apple-converted-space"> </span><code style="margin: 0px;
padding: 1px 5px; border: 0px; font-size: 14px; vertical-align:
baseline; font-family: Consolas, Menlo, Monaco, 'Lucida
Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera
Sans Mono', 'Courier New', monospace, serif; white-space:
pre-wrap; background: rgb(238, 238, 238);">pci.h</code> so
needless to say you can't use all the functions. So now I have to
use makefiles to point to other directories.</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size:
14px; vertical-align: baseline; clear: both; color: rgb(0, 0, 0);
font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 17.804800033569336px;
orphans: auto; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background: rgb(255, 255, 255);">I've
been trying to create makefiles but at the moment the errors just
rack up so much that I really don't know what part of the process
is at fault. Is it the C or the headers or the wrong libraries?
I'm kind of clueless to where the libraries might even be.</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size:
14px; vertical-align: baseline; clear: both; color: rgb(0, 0, 0);
font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 17.804800033569336px;
orphans: auto; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background: rgb(255, 255, 255);">Could
someone please help me write a makefile for Linux headers and
their libraries that is not in the usual<span
class="Apple-converted-space"> </span><code style="margin: 0px;
padding: 1px 5px; border: 0px; font-size: 14px; vertical-align:
baseline; font-family: Consolas, Menlo, Monaco, 'Lucida
Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera
Sans Mono', 'Courier New', monospace, serif; white-space:
pre-wrap; background: rgb(238, 238, 238);">/usr/include</code><span
class="Apple-converted-space"> </span>directory? The source
files that I want to use will be in<span
class="Apple-converted-space"> </span><code style="margin: 0px;
padding: 1px 5px; border: 0px; font-size: 14px; vertical-align:
baseline; font-family: Consolas, Menlo, Monaco, 'Lucida
Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera
Sans Mono', 'Courier New', monospace, serif; white-space:
pre-wrap; background: rgb(238, 238, 238);">usr/src/linux-headers-3.13.0.32-generic/include</code>.
Also if they are in the makefile how will I include them in the
source?</p>
<p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size:
14px; vertical-align: baseline; clear: both; color: rgb(0, 0, 0);
font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 17.804800033569336px;
orphans: auto; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background: rgb(255, 255, 255);">I've
been learning a lot of things in parallel and I think the curve is
starting to get to me. :/</p>
</body>
</html>