[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] This is what you get....compile problem OSX10.4




On Mon, Jan 23, 2012, at 10:06 PM, Justin Aplin wrote:

> >> I'm kind of flying in the dark here (being unfamiliar with macports),
> >> but I think a proper --with-openssl-dir= statement will help. Run
> >> "openssl version -a", check the version number to make sure it's the new
> >> version and not the packaged one, and put the output of the OPENSSLDIR
> >> field in as an argument. So you'd end up with something like:
> >>
> >> CFLAGS="-O -g -mmacosx-version-min=10.4 -arch ppc" \
> >> ./configure --with-libevent-dir=/opt/local
> >> --with-openssl-dir=/path/to/openssldir --disable-dependency-tracking
> >> CC="gcc-4.0"

Thanks for your patience. Output attached - I'm running as an admin
user, and have Xcode 2.5 installed (but not X11).
GD


-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again

$ unset LDFLAGS
$ CFLAGS="-O -g -mmacosx-version-min=10.4 -arch ppc"
$ ./configure --with-libevent-dir=/opt/local --with-openssl-dir=/opt/local/etc/openssl --disable-dependency-tracking CC="gcc-4.0"

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... powerpc-apple-darwin8.11.0
checking host system type... powerpc-apple-darwin8.11.0
checking for ar... ar
checking for gcc... gcc-4.0
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.0 accepts -g... yes
checking for gcc-4.0 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc-4.0... none
checking how to run the C preprocessor... gcc-4.0 -E
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for sed... sed
checking for asciidoc... none
checking for a2x... none
checking whether gcc-4.0 and cc understand -c and -o together... yes
checking for flexible array members... yes
checking for sha1sum... none
checking for openssl... /usr/bin/openssl
checking for win32... no
checking for MIPSpro compiler... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing dlopen... none required
checking for library containing inet_aton... none required
checking for library containing clock_gettime... no
checking for library containing pthread_create... none required
checking for library containing pthread_detach... none required
checking for accept4... no
checking for clock_gettime... no
checking for flock... yes
checking for ftime... yes
checking for getaddrinfo... yes
checking for getifaddrs... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for inet_aton... yes
checking for ioctl... yes
checking for localtime_r... yes
checking for lround... yes
checking for memmem... no
checking for prctl... no
checking for rint... yes
checking for socketpair... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strptime... yes
checking for strtok_r... yes
checking for strtoull... yes
checking for sysconf... yes
checking for uname... yes
checking for vasprintf... yes
checking for mallinfo... no
checking for malloc_good_size... yes
checking for malloc_usable_size... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create... yes
checking for sys/types.h... (cached) yes
checking for u_int64_t... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking for libevent directory... /opt/local
checking whether we need extra options to link libevent... (none)
checking for event_get_version... yes
checking for event_get_version_number... yes
checking for event_get_method... yes
checking for event_set_log_callback... yes
checking for evdns_set_outgoing_bind_address... no
checking for event_base_loopexit... yes
checking for struct event.min_heap_idx... no
checking event2/event.h usability... yes
checking event2/event.h presence... yes
checking for event2/event.h... yes
checking event2/dns.h usability... yes
checking event2/dns.h presence... yes
checking for event2/dns.h... yes
checking event2/bufferevent_ssl.h usability... yes
checking event2/bufferevent_ssl.h presence... yes
checking for event2/bufferevent_ssl.h... yes
checking for library containing pow... none required
checking for openssl directory... /opt/local/etc/openssl
checking whether we need extra options to link openssl... (none)
tor_cv_library_openssl_dir is /opt/local/etc/openssl
checking for zlib directory... (system)
checking whether we need extra options to link zlib... (none)
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for string.h... (cached) yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/types.h usability... no
checking linux/types.h presence... no
checking for linux/types.h... no
checking machine/limits.h usability... yes
checking machine/limits.h presence... yes
checking for machine/limits.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking malloc/malloc.h usability... yes
checking malloc/malloc.h presence... yes
checking for malloc/malloc.h... yes
checking malloc_np.h usability... no
checking malloc_np.h presence... no
checking for malloc_np.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in6.h usability... no
checking netinet/in6.h presence... no
checking for netinet/in6.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdint.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/limits.h usability... no
checking sys/limits.h presence... no
checking for sys/limits.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/syslimits.h usability... yes
checking sys/syslimits.h presence... yes
checking for sys/syslimits.h... yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for declaration of malloc_good_size... no
checking for net/if.h... yes
checking for net/pfvar.h... no
checking for linux/netfilter_ipv4.h... no
configure: Transparent proxy support enabled, but missing headers.
checking for struct timeval.tv_sec... yes
checking size of int8_t... 1
checking size of int16_t... 2
checking size of int32_t... 4
checking size of int64_t... 8
checking size of uint8_t... 1
checking size of uint16_t... 2
checking size of uint32_t... 4
checking size of uint64_t... 8
checking size of intptr_t... 4
checking size of uintptr_t... 4
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of __int64... 0
checking size of void *... 4
checking size of time_t... 4
checking size of size_t... 4
checking for uint... yes
checking for u_char... yes
checking for ssize_t... yes
checking for struct in6_addr... yes
checking for struct sockaddr_in6... yes
checking for sa_family_t... yes
checking for struct in6_addr.s6_addr32... no
checking for struct in6_addr.s6_addr16... no
checking for struct sockaddr_in.sin_len... yes
checking for struct sockaddr_in6.sin6_len... yes
checking for rlim_t... yes
checking whether time_t is signed... yes
checking whether size_t is signed... no
checking size of socklen_t... 4
checking size of cell_t... 0
checking whether memset(0) sets pointers to NULL... yes
checking whether we can malloc(0) safely.... yes
checking whether we are using 2s-complement arithmetic... yes
checking whether right-shift on negative values does sign-extension... yes
checking whether to use dmalloc (debug memory allocation library)... no
checking for mlockall... yes
checking whether mlockall is declared... yes
checking for getresuid... no
checking for getresgid... no
checking for gethostbyname_r... no
checking whether the C compiler supports __func__... yes
checking whether the C compiler supports __FUNC__... no
checking whether the C compiler supports __FUNCTION__... yes
configure: creating ./config.status
config.status: creating Doxyfile
config.status: creating Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/suse/Makefile
config.status: creating contrib/suse/tor.sh
config.status: creating contrib/tor.logrotate
config.status: creating contrib/tor.sh
config.status: creating contrib/torctl
config.status: creating contrib/torify
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/common/Makefile
config.status: creating src/config/Makefile
config.status: creating src/config/torrc.sample
config.status: creating src/or/Makefile
config.status: creating src/test/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/tools/tor-fw-helper/Makefile
config.status: creating src/win32/Makefile
config.status: creating tor.spec
config.status: creating orconfig.h
config.status: orconfig.h is unchanged
config.status: executing depfiles commands

$ make

make  all-recursive
Making all in src
Making all in common
make[3]: Nothing to be done for `all'.
Making all in or
Making all in test
make[3]: Nothing to be done for `all'.
Making all in tools
Making all in tor-fw-helper
make[4]: Nothing to be done for `all'.
gcc-4.0  -g -O2 -Wall -fno-strict-aliasing -Wno-deprecated-declarations -L/opt/local/etc/openssl  -o tor-gencert tor-gencert.o ../common/libor.a ../common/libor-crypto.a -lz -lssl -lcrypto  
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_EVP_sha256
_RSA_generate_key_ex
_SHA256
_SHA256_Final
_SHA256_Init
_SHA256_Update
_CRYPTO_ctr128_encrypt
collect2: ld returned 1 exit status
make[4]: *** [tor-gencert] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays