oath-toolkit-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OATH-Toolkit-help] Compiling oath-toolkit on a Mac (Yosemite)


From: Stephen Martin
Subject: [OATH-Toolkit-help] Compiling oath-toolkit on a Mac (Yosemite)
Date: Tue, 1 Sep 2015 07:55:22 -0400

I’m having trouble compiling oath-toolkit on my Macbook running Yosemite. I was 
able to do it on a different Mac that had been upgraded from older versions of 
the os but can’t seem to get it to work on this one.

configure produces this error: ../build-aux/oath-toolkit-version: line 23: 
printf: 2.6.1: invalid number

Make produces these errors:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: libgnu.a(dummy.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: libgnu.a(dummy.o) has no symbols
warning: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 warning for library: libgnu.a the table of contents is empty (no object file 
members in the library define global symbols)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(fd-hook.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(u64.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(xsize.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(fd-hook.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(u64.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(xsize.o) has no symbols
warning: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm:
 no name list
warning: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm:
 no name list
warning: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm:
 no name list
warning: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm:
 no name list
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboath.a(fd-hook.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboath.a(u64.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboath.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboath.a(xsize.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboath.a(fd-hook.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboath.a(u64.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboath.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboath.a(xsize.o) has no symbols
./parse-datetime.y:876:17: warning: absolute value function 'abs' given an 
argument of type 'long' but has parameter of type 'int' which may cause 
truncation of value [-Wabsolute-value]
  if (24 * 60 < abs (n_minutes))
                ^
./parse-datetime.y:876:17: note: use function 'labs' instead
  if (24 * 60 < abs (n_minutes))
                ^~~
                labs
1 warning generated.
error.c:386:12: warning: data argument not used by format string 
[-Wformat-extra-args]
           file_name, line_number);
           ^
1 warning generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(timespec.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(xsize.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(timespec.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/libgnu.a(xsize.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboathtool_cmd.a(timespec.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboathtool_cmd.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboathtool_cmd.a(xsize.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboathtool_cmd.a(timespec.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboathtool_cmd.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 file: .libs/liboathtool_cmd.a(xsize.o) has no symbols
oathtool.c:152:36: warning: data argument not used by format string 
[-Wformat-extra-args]
                      oath_check_version (NULL), OATH_VERSION);
                                                 ^
./../liboath/oath.h:54:22: note: expanded from macro 'OATH_VERSION'
#define OATH_VERSION "2.6.1"
                     ^
1 warning generated.
Undefined symbols for architecture x86_64:
  "_oath_base32_decode", referenced from:
      _main in oathtool.o
  "_oath_base32_encode", referenced from:
      _main in oathtool.o
  "_oath_bin2hex", referenced from:
      _main in oathtool.o
  "_oath_check_version", referenced from:
      _main in oathtool.o
  "_oath_done", referenced from:
      _main in oathtool.o
  "_oath_hex2bin", referenced from:
      _main in oathtool.o
  "_oath_hotp_generate", referenced from:
      _main in oathtool.o
  "_oath_hotp_validate", referenced from:
      _main in oathtool.o
  "_oath_init", referenced from:
      _main in oathtool.o
  "_oath_strerror", referenced from:
      _main in oathtool.o
  "_oath_totp_generate2", referenced from:
      _main in oathtool.o
  "_oath_totp_validate4", referenced from:
      _main in oathtool.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [oathtool] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

And I’ve attached the full output of both configure and make

Attachment: configure.out
Description: Binary data

Attachment: make.out
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]