Anzeige:
Ergebnis 1 bis 1 von 1

Thema: compiler kaputt oder nur langeleitung ;/

  1. #1
    Registrierter Benutzer
    Registriert seit
    02.02.2003
    Beiträge
    21

    compiler kaputt oder nur langeleitung ;/

    ich richte in meinem Netzwerk einen neues IDS, Fileshare und Logsystem System ein und installiere noch n paar andere Dienste und tools ... als ich das NAT von http://www.tux.org/pub/security/secnet/tools/nat10/
    ausprobieren wollte streikte mein compilier nachdem ich da 3h rumgebastelt und und rum configuriert habe und der Kaffe alle war,dachte ich ich suche nun hier mal um rat ...

    wie gesagt es handelt sich um die SOURCE von nat10.tar.gz und ich habe ein gentoo 2.4.21 system auf dem server.

    die Makefile,die ich anpassen sollte sieht so nun bei mir aus:

    Makefile
    Code:
    # ich denke mla die folgenden einstellung beziehen sich auf den SAMBA Dienst
    
    CC = gcc
    
    # set this to the default group you want your machine to appear in
    # for browsing. This can also be set in nmbd (see nmbd(8))
    # NOTE: If you set it to * then nmbd will try to find a workgroup on
    # the local net
    WORKGROUP = WORKGROUP
    
    # set this to the name of the default account, which is the one
    # to use when no username or password is specified.  This can be overridden
    # in the runtime configuration file (see smb.conf(5))
    # NOTE: The account "nobody" may not be a good one as
    # on many unixes it may not be able to print. Thus you
    # might have to create a separate guest account that can print.
    GUESTACCOUNT = nobody
    
    # Use this for Linux without shadow passwords
    # contributed by Andrew.Tridgell@anu.edu.au
    FLAGSM = -DLINUX
    LIBSM =
    
    ######################################################################
    # DON'T EDIT BELOW THIS LINE
    ######################################################################
    
    SRCS = nat.c client.c util.c system.c nmb.c charset.c parse_ip.c
    OBJS = nat.o client.o util.o system.o nmb.o charset.o parse_ip.o
    CFLAGS1 = -DSTEPPING -DSCANNER -DVERBOSE
    CFLAGS2 = -DWORKGROUP=\"$(WORKGROUP)\" -DGUEST_ACCOUNT=\"$(GUESTACCOUNT)\" 
    CFLAGS = $(CFLAGS1) $(CFLAGS2) $(FLAGSM)
    LIBS = $(LIBSM)
    
    all : nat
    
    INCLUDES = version.h local.h includes.h smb.h
    PROGS = nat
    
    .SUFFIXES:
    .SUFFIXES: .c .o .h
    
    .c.o: $(INCLUDES)
    	@echo Compiling $*.c
    	$(CC) $(CFLAGS) -c $*.c
    
    nat:	$(OBJS)
    	$(CC) $(CFLAGS) -o nat $(STATIC) $(OBJS) $(LIBS)
    
    clean:
    	rm -f core *.o *~ $(PROGS)
    als ich dannach ein make gemacht habe kam folgendes ...

    Code:
     make
    Compiling nat.c
    gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=                          \"nobody\"  -DLINUX -c nat.c
    Compiling client.c
    gcc -DSTEPPING -DSCANNER -DVERBOSE -DWORKGROUP=\"WORKGROUP\" -DGUEST_ACCOUNT=                          \"nobody\"  -DLINUX -c client.c
    In file included from includes.h:232,
                     from client.c:33:
    /usr/include/asm/signal.h:27: conflicting types for `sigset_t'
    /usr/include/sys/select.h:38: previous declaration of `sigset_t'
    /usr/include/asm/signal.h:156: redefinition of `struct sigaction'
    /usr/include/asm/signal.h:171: redefinition of `struct sigaltstack'
    make: *** [client.o] Fehler 1
    axo,naja und alles was ich dannoch gemacht habe zeigt keine Positivere wirkung als das ....
    Geändert von RedNuX (27-05-2003 um 13:23 Uhr)

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •