File: 4.html

package info (click to toggle)
lg-issue39 2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,408 kB
  • ctags: 145
  • sloc: ansic: 207; perl: 72; makefile: 37; sh: 4
file content (218 lines) | stat: -rw-r--r-- 8,256 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!--startcut ======================================================= -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<META NAME="generator" CONTENT="lgazmail v1.1J.c">
<TITLE>The Answer Guy 39: Error starting recompiling process?</TITLE>
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
	LINK="#3366FF" VLINK="#A000A0">
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<H4>"The Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
<P> <hr> <P>
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<center>
<H1><A NAME="answer">
	<img src="../../gx/dennis/qbubble.gif" alt="(?)" 
		border="0" align="middle">
	<font color="#B03060">The Answer Guy</font>
	<img src="../../gx/dennis/bbubble.gif" alt="(!)" 
		border="0" align="middle">
</A></H1> 
<BR>
<H4>By James T. Dennis,
	<a href="mailto:answerguy@ssc.com">answerguy@ssc.com</a><BR>
	LinuxCare,
	<A HREF="http://www.linuxcare.com/">http://www.linuxcare.com/</A> 
</H4>
</center>

<p><hr><p>
<!--  endcut ======================================================= -->
<!-- begin 4 -->
<H3 align="left"><img src="../../gx/dennis/qbubble.gif" 
	height="50" width="60" alt="(?) " border="0"
	>Error starting recompiling process?</H3>


<p><strong>From darod on Fri, 05 Mar 1999  
</strong></p>
<P><STRONG>
I get an error when I try to recompile the kernel.  Actually, I
get the error before I even get into the recompiling process.
Here it is:
</STRONG></P>
<P><STRONG><BlockQuote>
When I try to run "<tt>make menuconfig</tt>" I get the errors ( I've
included a screenshot of what errors show up) in question.  I'm a
newbee pretty much. I've had Linux on my machine for about 2
months.  I've recompiled before but, I was using the "workstation"
option in Mandrake.  I am now using the latest version of Mandrake
with the latest version of <A HREF="http://www.kde.org/">KDE</A>.  
I chose the "custom" option for
install this last time and now I'm running into these problems.  I
talked to several people about this and they have advised me to
install these files;
</BlockQuote></STRONG></P>
<P><STRONG>
kernel headers      (I knew about this one)
<br>kernel source      (I knew about this one too)
<br><tt>gcc</tt>      (I didn't know about this one, but I loaded it and it
still gives me the errors)
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
Headers just the portions of the kernel that some other
programs need to know to run compile and run under it.
So, if you install just the headers you can't compile
a new kernel --- but you can compile various programs
that need to refer to kernel function prototypes and
defined values (constants).
</BLOCKQUOTE>
<BLOCKQUOTE>
The sources are needed to compile a new kernel, of course.
</BLOCKQUOTE>
<BLOCKQUOTE>
<tt>gcc</tt> is the compiler (GNU C compiler).  It's the tool you use
to compile <EM>anything</EM> on a typical Linux system.  There are
also some derivative alternative compilers like egcs
available.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
I need help with this, I hope you can help me.  I want to
recompile the kernel so that I can setup my iomega zip drive.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
Looking at your screenshot I see errors in compiling
<tt>lxdialog</tt> (the Linux kernel "dialog" utility which is
what <tt>menuconfig</tt> uses to display dialog boxes, with
menus etc).
</BLOCKQUOTE>
<BLOCKQUOTE>
These errors are from the compiler's inability to find
various header files.  This is almost certainly due to a
problem with your installation.
</BLOCKQUOTE>
<BLOCKQUOTE>
On a properly configured system you should have
a couple of symlinks from <TT>/usr/include</TT> to directories
under <TT>/usr/src/linux.</TT>  On my system these look like:
</BLOCKQUOTE>
<BLOCKQUOTE><Pre>
lrwxrwxrwx   1 root     root    26 Nov 23 16:39 /usr/include/asm 
               -&gt; /usr/src/linux/include/asm
lrwxrwxrwx   1 root     root    28 Nov 23 16:39 /usr/include/linux 
               -&gt; /usr/src/linux/include/linux
lrwxrwxrwx   1 root     root    27 Nov 23 16:39 /usr/include/scsi  
               -&gt; /usr/src/linux/include/scsi
</Pre></BLOCKQUOTE>
<BLOCKQUOTE>
Once these sylinks are in place (and there's a symlink
from <TT>/usr/src/linux</TT> to the actual location of your kernel
sources) you should be able to build your new kernel and
other software properly.  (In your situation I'd expect
that almost nothing would compile --- those symlinks are
used by alot of software).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
Thanks in advance,
Darrin Rodriguez
</STRONG></P>
<!-- sig -->

<!-- end 4 -->
<hr width="40%" align="center"><!-- ::::::::::::::::::::: -->
<!-- begin 1 -->
<H3 align="left"><img src="../../gx/dennis/qbubble.gif" 
	height="50" width="60" alt="(?) " border="0"
	>Error starting recompiling process?</H3>

<p><strong>From darod  on Sun, 07 Mar 1999  
</strong></p>
<P><STRONG>Ok,
</STRONG></P>
<P><STRONG>
So your telling me that you think I probably won't be able to
compile anything with the way things are now on my machine
configuration, right?  Well, what can I do short of installing the
OS again?  I don't want to loose all the tweaking I've done
already if possible!  What can I do with this thing?
</STRONG></P>
<P><STRONG>
Darrin
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
	HEIGHT="28" WIDTH="50" BORDER="0"
	>
What I was trying to say is:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
MAKE THE SYMLINKS
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... and:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
MAKE SURE THE SYMLINKS ARE RIGHT
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
I realize that my long description of what these symlinks
are and why you need them didn't actually spell that out in
simple, bold terms like this --- but that's what I meant.
</BLOCKQUOTE>
<!-- sig -->

<!-- end 1 -->
<!--startcut ======================================================= -->
<P> <hr> <P>
<H5 align="center"><a href="http://www.linuxgazette.com/ssc.copying.html"
	>Copyright &copy;</a> 1999, James T. Dennis 
<BR>Published in <I>The Linux Gazette</I> Issue 39 April 1999</H5>
<P> <hr> <P>
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
<TABLE WIDTH="96%"><TR VALIGN="center" ALIGN="center">
<TD ROWSPAN="2" WIDTH="30%"><A HREF="../lg_answer39.html"
	><IMG SRC="../../gx/dennis/answernew.gif"
              ALT="[ Answer Guy Index ]"></A></td>
  <TD WIDTH="6%"><A HREF="2.html">2</A></TD>
  <TD WIDTH="6%"><A HREF="3.html">3</A></TD>
  <TD WIDTH="6%"><A HREF="4.html">4</A></TD>
  <TD WIDTH="6%"><A HREF="5.html">5</A></TD>
  <TD WIDTH="6%"><A HREF="6.html">6</A></TD>
  <TD WIDTH="6%"><A HREF="7.html">7</A></TD>
  <TD WIDTH="6%"><A HREF="8.html">8</A></TD>
  <TD WIDTH="6%"><A HREF="9.html">9</A></TD>
  <TD WIDTH="6%"><A HREF="10.html">10</A></TD>
  <TD WIDTH="6%"><A HREF="11.html">11</A></TD>
</TR><TR VALIGN="center" ALIGN="center">
  <TD><A HREF="12.html">12</A></TD>
  <TD><A HREF="13.html">13</A></TD>
  <TD><A HREF="15.html">15</A></TD>
  <TD><A HREF="16.html">16</A></TD>
  <TD><A HREF="18.html">18</A></TD>
  <TD><A HREF="19.html">19</A></TD>
  <TD><A HREF="21.html">21</A></TD>
  <TD><A HREF="22.html">22</A></TD>
  <TD><A HREF="23.html">23</A></TD>
</TR></TABLE>
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
<P> <hr> <P>
<!-- begin lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<A HREF="../lg_toc39.html"
	><IMG SRC="../../gx/indexnew.gif" ALT="[ Table Of Contents ]"></A>
<A HREF="../../lg_frontpage.html"
	><IMG SRC="../../gx/homenew.gif" ALT="[ Front Page ]"></A>
<A HREF="../lg_bytes39.html"
	><IMG SRC="../../gx/back2.gif" ALT="[ Previous Section ]"></A>
<A HREF="../lg_tips39.html"
	><IMG SRC="../../gx/fwd.gif" ALT="[ Next Section ]"></A>
<!-- end lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
</BODY></HTML>
<!--endcut ========================================================= -->