Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E3AC4DA.4080306@linuxasylum.net>
Date: Thu, 04 Aug 2011 18:12:10 +0200
From: Samuele Giovanni Tonon <samu@...uxasylum.net>
To: john-users@...ts.openwall.com
Subject: Re: JtR CUDA patch

there's something wrong in the Makefile:
i had to change

linux-x86-64-cuda:
        $(LN) x86-64.h arch.h
        $(MAKE) $(PROJ) \
                JOHN_OBJS="$(JOHN_OBJS) $(CUDA_OBJS) c3_fmt.o x86-64.o" \
                CFLAGS="$(CFLAGS) -DHAVE_CRYPT" \
                LDFLAGS="$(LDFLAGS) -L$(CUDAPATH) -lcudart  -lcrypt"

in
linux-x86-64-cuda:
        $(LN) x86-64.h arch.h
        $(MAKE) $(PROJ) \
                JOHN_OBJS="$(JOHN_OBJS) $(CUDA_OBJS) c3_fmt.o x86-64.o" \
                CFLAGS="$(CFLAGS) -DHAVE_CRYPT" \
                LDFLAGS="$(LDFLAGS) -L$(CUDA64PATH) -lcudart  -lcrypt"

to fix paths
the excevp problem was related to this lines in Makefile:

$(shell cd cuda; nvcc $(CRYPTMD5_FLAGS) cryptmd5.cu)

changing them to

cd cuda; nvcc $(CRYPTMD5_FLAGS) cryptmd5.cu

solved the problem.

Regards
Samuele


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.