Hello,

After learning the rudiments of Linux, I got to the point where I want 
to compile code, eg., to create a custom kernel and to install 
Wine. However, I ran into problems when I attempted both ... I have 
Conectiva Linux 3.0 (some sort of Red Hat), with kernel 2.0.36-12cl.

I downloaded wine-991212.tar.gz and installed it. When I tried to 
run the configure script, it got to the point where it says "checking 
for whether the C compiler (gcc) works ..." and the script halted 
with the message "C compiler cannot create executables." 

I'm a DOS programmer, so I figured that maybe there was a 
problem with the linker. After exploring the system for a while, I 
discovered that the GNU linker is called ld, which was already 
installed. Since I couldn't find any info on setting up the compiler 
and/or the linker, I left it there. Any suggestions? All the programs 
on my box have been installed with rpm, which I guess sets all the 
directories and links correctly, right?

Then I found the kernel sources, version 2.0.36-12cl. I installed the 
package and followed the instructions on the README and the 
Kernel-HOWTO. However, I couldn't run make menuconfig because 
the script stopped with the following messages after invoking gcc 
to compile lxdialog.c :

dialog.h:22: sys/types.h: No such file or directory
(...)
dialog.h:25: ctype.h: No such file or directory
dialog.h:26: stdlib.h: No such file or directory
dialog.h:26: string.h: No such file or directory

Why can't the compiler find the standard header files? I checked 
with rpm and the kernel-headers package is installed. What am I 
doing wrong?

I would send an exact transcription of the error messages, but I 
don't know how to redirect stderr to a file ... :-(

Thanks in advance,

Jerem�as Galletti

Reply via email to