Dominyk Tiller
2014-08-30 08:34:48 UTC
Hey all,
Trying to compile the latest spiped release on OS X and hitting the
same set of errors, both with BSDMake and GNUMake. The last version of
spiped compiled without issue.
This is my compile:
bsdmake BINDIR=/Users/Bob/Downloads/spiped-1.4.0/BUILDINGTEMP install
export CFLAGS="${CFLAGS:--O2}"; \
export LDADD_POSIX=`export CC="cc"; cd POSIX && command -p sh
posix-l.sh`; \
export CFLAGS_POSIX=`export CC="cc"; cd POSIX && command -p sh
posix-cflags.sh`; \
( export CC="cc"; cd libcperciva/cpusupport/Build && command -p sh
cpusupport.sh ) > cpusupport-config.h; \
. ./cpusupport-config.h; \
for D in spiped spipe; do \
( cd ${D} && make all ) || exit 2; \
done
WARNING: POSIX violation: make's CC doesn't understand -lrt
WARNING: POSIX violation: make's CC doesn't understand -lxnet
WARNING: POSIX violation: <sys/socket.h> not defining MSG_NOSIGNAL
WARNING: POSIX violation: <time.h> not defining CLOCK_REALTIME
Checking if compiler supports X86 CPUID feature... yes
Checking if compiler supports X86 AESNI feature... yes, via -maes
cc -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang: error: no input files
make[1]: *** [main.o] Error 1
make: *** [all] Error 2
Homebrew got a little further than I did, but still ended in failure:
==> bsdmake BINDIR_DEFAULT=/usr/local/Cellar/spiped/1.4.0/bin
MAN1DIR=/usr/local/Cellar/spiped/1.4.0/share/man/man1 install
export CFLAGS="${CFLAGS:--O2}"; export LDADD_POSIX=`export
CC="clang"; cd POSIX && command -p sh posix-l.sh`; export
CFLAGS_POSIX=`export CC="clang"; cd POSIX && command -p sh
posix-cflags.sh`; ( export CC="clang"; cd
libcperciva/cpusupport/Build && command -p sh cpusupport.sh ) >
cpusupport-config.h; . ./cpusupport-config.h; for D in spiped
spipe; do ( cd ${D} && make all ) || exit 2; done
export CC="clang"; cd POSIX && command -p sh posix-l.sh
WARNING: POSIX violation: make's CC doesn't understand -lrt
WARNING: POSIX violation: make's CC doesn't understand -lxnet
export CC="clang"; cd POSIX && command -p sh posix-cflags.sh
WARNING: POSIX violation: <sys/socket.h> not defining MSG_NOSIGNAL
WARNING: POSIX violation: <time.h> not defining CLOCK_REALTIME
Checking if compiler supports X86 CPUID feature... yes
Checking if compiler supports X86 AESNI feature... yes, via -maes
#define CPUSUPPORT_X86_CPUID
#define CPUSUPPORT_X86_AESNI
#ifdef cpusupport_dummy
export CFLAGS_X86_AESNI="-maes"
#endif
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [elasticarray.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sha256.o] Error 1
make: *** [proto_pipe.o] Error 1
make: *** [proto_crypt.o] Error 1
make: *** [proto_conn.o] Error 1
make: *** [dispatch.o] Error 1
make: *** [main.o] Error 1
make: *** [proto_handshake.o] Error 1
*** Error code 2
1 error
Any ideas on this? Appreciate any feedback.
Dom
- --
Sent from Thunderbird for OS X. My PGP public key is automatically
attached to this email.
Trying to compile the latest spiped release on OS X and hitting the
same set of errors, both with BSDMake and GNUMake. The last version of
spiped compiled without issue.
This is my compile:
bsdmake BINDIR=/Users/Bob/Downloads/spiped-1.4.0/BUILDINGTEMP install
export CFLAGS="${CFLAGS:--O2}"; \
export LDADD_POSIX=`export CC="cc"; cd POSIX && command -p sh
posix-l.sh`; \
export CFLAGS_POSIX=`export CC="cc"; cd POSIX && command -p sh
posix-cflags.sh`; \
( export CC="cc"; cd libcperciva/cpusupport/Build && command -p sh
cpusupport.sh ) > cpusupport-config.h; \
. ./cpusupport-config.h; \
for D in spiped spipe; do \
( cd ${D} && make all ) || exit 2; \
done
WARNING: POSIX violation: make's CC doesn't understand -lrt
WARNING: POSIX violation: make's CC doesn't understand -lxnet
WARNING: POSIX violation: <sys/socket.h> not defining MSG_NOSIGNAL
WARNING: POSIX violation: <time.h> not defining CLOCK_REALTIME
Checking if compiler supports X86 CPUID feature... yes
Checking if compiler supports X86 AESNI feature... yes, via -maes
cc -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang: error: no input files
make[1]: *** [main.o] Error 1
make: *** [all] Error 2
Homebrew got a little further than I did, but still ended in failure:
==> bsdmake BINDIR_DEFAULT=/usr/local/Cellar/spiped/1.4.0/bin
MAN1DIR=/usr/local/Cellar/spiped/1.4.0/share/man/man1 install
export CFLAGS="${CFLAGS:--O2}"; export LDADD_POSIX=`export
CC="clang"; cd POSIX && command -p sh posix-l.sh`; export
CFLAGS_POSIX=`export CC="clang"; cd POSIX && command -p sh
posix-cflags.sh`; ( export CC="clang"; cd
libcperciva/cpusupport/Build && command -p sh cpusupport.sh ) >
cpusupport-config.h; . ./cpusupport-config.h; for D in spiped
spipe; do ( cd ${D} && make all ) || exit 2; done
export CC="clang"; cd POSIX && command -p sh posix-l.sh
WARNING: POSIX violation: make's CC doesn't understand -lrt
WARNING: POSIX violation: make's CC doesn't understand -lxnet
export CC="clang"; cd POSIX && command -p sh posix-cflags.sh
WARNING: POSIX violation: <sys/socket.h> not defining MSG_NOSIGNAL
WARNING: POSIX violation: <time.h> not defining CLOCK_REALTIME
Checking if compiler supports X86 CPUID feature... yes
Checking if compiler supports X86 AESNI feature... yes, via -maes
#define CPUSUPPORT_X86_CPUID
#define CPUSUPPORT_X86_AESNI
#ifdef cpusupport_dummy
export CFLAGS_X86_AESNI="-maes"
#endif
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
clang -O2 -DPOSIXFAIL_MSG_NOSIGNAL
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [elasticarray.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sha256.o] Error 1
make: *** [proto_pipe.o] Error 1
make: *** [proto_crypt.o] Error 1
make: *** [proto_conn.o] Error 1
make: *** [dispatch.o] Error 1
make: *** [main.o] Error 1
make: *** [proto_handshake.o] Error 1
*** Error code 2
1 error
Any ideas on this? Appreciate any feedback.
Dom
- --
Sent from Thunderbird for OS X. My PGP public key is automatically
attached to this email.