kobymaster / reaver-wps

Automatically exported from code.google.com/p/reaver-wps
0 stars 0 forks source link

ar T flag #315

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Makefile in crypto tls and utils gives ar static flags as crT, while T is not 
supported by "all" ar version.

a fix can be to remove that T flag, this way reaver just compile also on maemo, 
or to modify configure to properly populate ar's flags

Original issue reported on code.google.com by thatpink...@gmail.com on 22 May 2012 at 11:08

GoogleCodeExporter commented 8 years ago
Confirmed - reaver 1.4 does not build with GNU ar 2.17.50.0.17.20070615 because 
`ar` does not recognize the 'T' flag.

-----BEGIN MAKE LOG-----
~/net/reaver-1.4/src> make
(cd utils && make)
make[1]: Entering directory `/home/dnied/net/reaver-1.4/src/utils'
  CC  base64.c
  CC  common.c
  CC  ip_addr.c
  CC  radiotap.c
  CC  trace.c
  CC  uuid.c
  CC  wpa_debug.c
  CC  wpabuf.c
  CC  os_unix.c
  CC  eloop.c
ar crT libutils.a base64.o common.o ip_addr.o radiotap.o trace.o uuid.o 
wpa_debug.o wpabuf.o os_unix.o eloop.o
ar: illegal option -- T
Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] 
[count] archive-file file...
       ar -M [<mri-script]
 commands:
  d            - delete file(s) from the archive
  m[ab]        - move file(s) in the archive
  p            - print file(s) found in the archive
  q[f]         - quick append file(s) to the archive
  r[ab][f][u]  - replace existing or insert new file(s) into the archive
  t            - display contents of archive
  x[o]         - extract file(s) from the archive
 command specific modifiers:
  [a]          - put file(s) after [member-name]
  [b]          - put file(s) before [member-name] (same as [i])
  [N]          - use instance [count] of name
  [f]          - truncate inserted file names
  [P]          - use full path names when matching
  [o]          - preserve original dates
  [u]          - only replace files that are newer than current archive contents
 generic modifiers:
  [c]          - do not warn if the library had to be created
  [s]          - create an archive index (cf. ranlib)
  [S]          - do not build a symbol table
  [v]          - be verbose
  [V]          - display the version number
  @<file>      - read options from <file>
 emulation options:
  No emulation specific options
ar: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 elf64-x86-64 
elf64-little elf64-big elf32-little elf32-big srec symbolsrec tekhex binary 
ihex trad-core
make[1]: *** [libutils.a] Error 1
make[1]: Leaving directory `/home/dnied/net/reaver-1.4/src/utils'
make: *** [libutils] Error 2
Exit 2
-----END MAKE LOG-----
~/net/reaver-1.4/src> ar --version
GNU ar (Linux/GNU Binutils) 2.17.50.0.17.20070615
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
~/net/reaver-1.4/src>

Original comment by dario.ni...@gmail.com on 26 Sep 2012 at 6:18