Date: Sun, 24 Jul 2011 17:15:06 -0500 From: "JFoug" <jfoug@....net> To: <john-dev@...ts.openwall.com> Subject: Re: Plugin formats "released" ----- Original Message ----- From: "JFoug" <jfoug@....net> >> fmt_externs.h: $(PLUGFORMATS_SRCS) Makefile >> $(SED) -n 's/^\(struct fmt_main [^ ]\+\) =.*/extern \1;/p' *_fmt_plug.c > >> fmt_externs.h > > Your simplifications fail on Sparc. I get empty fmt_registers.h and > fmt_externs.h Thus even though all the .o are built, I get pretty much a > 'base' 1.7.8 john build. > I was able to get this to work on sparc: sed -n 's/^\(struct fmt_main [^ ]*\) =.*/extern \1;/p' *_fmt_plug.c Yours was sed -n 's/^\(struct fmt_main [^ ]\+\) =.*/extern \1;/p' *_fmt_plug.c Both version work on Linux, but only the ....[^ ]*\).... version works on Sparc's sed. Now, I am off to get the other to work. It should be easy to find, now that I have gotten this one working. The other one worked with the same change. Now I just have to make sure Linux works also. Jim.
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.