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 having some problems compiling under cygwin. I'm not sure if I should be doing this at all with my newb linux skills but im sure its possible for me to do this. Details as follows for libpcap:
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking gcc version... 3
checking for inline... inline
checking for __attribute__... yes
checking for u_int8_t using gcc... yes
checking for u_int16_t using gcc... yes
checking for u_int32_t using gcc... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking ifaddrs.h usability... no
checking ifaddrs.h presence... no
checking for ifaddrs.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for netinet/if_ether.h... no
checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info
And when trying to compile an ids program:
$ gcc ids.c emulate.c -o ids -W
ids.c:182: warning: conflicting types for built-in function `log'
ids.c: In function `rawsock':
ids.c:656: warning: assignment from incompatible pointer type
ids.c:707: warning: assignment from incompatible pointer type
ids.c: In function `sniff_all':
ids.c:949: error: `SOCK_PACKET' undeclared (first use in this function)
ids.c:949: error: (Each undeclared identifier is reported only once
ids.c:949: error: for each function it appears in.)
ids.c:984: error: `SIOCSIFFLAGS' undeclared (first use in this function)
ids.c:1135:14: missing terminating " character
ids.c: In function `log':
ids.c:1136: error: stray '\' in program
ids.c:1136: error: `s' undeclared (first use in this function)
ids.c:1136: error: syntax error before "n"
ids.c:1136:5: missing terminating " character
emulate.c:132: warning: conflicting types for built-in function `log'
emulate.c: In function `ftp_emulate':
emulate.c:928: warning: assignment from incompatible pointer type
emulate.c:929: warning: assignment from incompatible pointer type
Any help on the above would be greatly appreciated, I have looked all over the place and had no luck thus far.