Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i am very new to linux and am having troubles with a network adapter. i have located the module code for it but i get some compile errors because i need a newer kernel (according to sources from other forums). currently i have kernel 2.4.21 and am running suse 9.0. my progress so far is rather lame, i have downloaded and extract 2.4.30 to /usr/src/linux-2.4.32. when i go into that directory and type make menuconfig i get the following errors:
linux01:/usr/src/linux-2.4.32 # make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make: Entering directory `/usr/src/linux-2.4.32/scripts/lxdialog'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LOC="<ncurses.h>" -c -o checklist.o checklist.c
In file included from checklist.c:24:
dialog.h:22:23: sys/types.h: No such file or directory
dialog.h:23:19: fcntl.h: No such file or directory
dialog.h:24:20: unistd.h: No such file or directory
dialog.h:25:19: ctype.h: No such file or directory
dialog.h:26:20: stdlib.h: No such file or directory
dialog.h:27:20: string.h: No such file or directory
In file included from dialog.h:29,
/usr/include/ncurses.h:101:22: features.h: No such file or directory
/usr/include/ncurses.h:102:23: sys/types.h: No such file or directory
/usr/include/ncurses.h:103:19: stdio.h: No such file or directory
In file included from dialog.h:29,
/usr/include/ncurses.h:561: error: parse error before '*' token
/usr/include/ncurses.h:647: error: parse error before "FILE"
/usr/include/ncurses.h:667: error: parse error before "FILE"
checklist.c: In function `dialog_checklist':
checklist.c:131: warning: implicit declaration of function `malloc'
checklist.c:131: warning: assignment makes pointer from integer without a cast
checklist.c:131: error: `NULL' undeclared (first use in this function)
checklist.c:131: error: (Each undeclared identifier is reported only once
checklist.c:131: error: for each function it appears in.)
checklist.c:133: warning: implicit declaration of function `fprintf'
checklist.c:133: error: `stderr' undeclared (first use in this function)
checklist.c:135: warning: implicit declaration of function `exit'
checklist.c:140: warning: implicit declaration of function `strcasecmp'
checklist.c:164: warning: implicit declaration of function `strlen'
checklist.c:166: warning: initialization makes pointer from integer without a cast
checklist.c:167: warning: implicit declaration of function `memcpy'
checklist.c:227: warning: implicit declaration of function `toupper'
checklist.c:306: warning: implicit declaration of function `free'
make: *** [checklist.o] Error 1
make: Leaving directory `/usr/src/linux-2.4.32/scripts/lxdialog'
make: *** [menuconfig] Error 2
if anyone has any pointers it would be greatly appreciated.
Looks like you don't have any of the header files installed on your system. Try installing the glibc-devel package. You'll also need the gcc packages installed, if you don't have them. If you would post what distribution you're using, someone could help a bit more with the details of installing these packages.