LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   COMPILE issues (https://www.linuxquestions.org/questions/linux-software-2/compile-issues-183011/)

meindlj 05-18-2004 04:43 PM

COMPILE issues
 
I have left my windows world and gone completely nix. . . well except for two boxes. I have set up samaba server, and I working on learning a little more about security.

Anyway, I am trying to compile nat10 on my redhat 9 (2-4-20-31.9) and I keep getting this error message:

root# make
Compiling client.c
gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=\"nobody\" -DLINUX-DSHADOW_PWD -c client.c
<command line>:1:6: warning: ISO C requires whitespace after the macro name
In file included from includes.h:232,
from client.c:33:
/usr/include/asm/signal.h:102: redefinition of `struct sigaction'
/usr/include/asm/signal.h:116: redefinition of `struct sigaltstack'
make: *** [client.o] Error 1

SO far I ahve edited the make file for linux by un commenting the following:


# Use this for Linux with shadow passwords
# contributed by Andrew.Tridgell@anu.edu.au
# add -DLINUX_BIGCRYPT is you have shadow passwords but don't have the
# right libraries and includes
FLAGSM = -DLINUX-DSHADOW_PWD
LIBSM = -lshadow

Anyhelp would be greatly appreciated.


All times are GMT -5. The time now is 02:17 PM.