serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Huijben (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SERF-46) make fails on Mac OS X Server 10.5.6 (Intel)
Date Mon, 31 Aug 2015 18:21:56 GMT

     [ https://issues.apache.org/jira/browse/SERF-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bert Huijben closed SERF-46.
----------------------------
    Resolution: Unresolved

Not resolved. But the buildsystem that had this problem was replaced by SCons.

> make fails on Mac OS X Server 10.5.6 (Intel)
> --------------------------------------------
>
>                 Key: SERF-46
>                 URL: https://issues.apache.org/jira/browse/SERF-46
>             Project: serf
>          Issue Type: Bug
>            Reporter: Serf Importer
>              Labels: Type-Task, scons
>
> *What steps will reproduce the problem?*
> 1. ./configure --prefix=/usr
> 2. sudo make
> *What is the expected output? What do you see instead?*
> Here is the output of make:
> sunnydale:serf-0.3.0 administrator$ more log
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/aggregate_buckets.lo buckets/aggregate_buckets.c
&amp;&amp; 
> touch buckets/aggregate_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/request_buckets.lo buckets/request_buckets.c
&amp;&amp; 
> touch buckets/request_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o context.lo context.c &amp;&amp; touch context.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/buckets.lo buckets/buckets.c &amp;&amp;
touch 
> buckets/buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/simple_buckets.lo buckets/simple_buckets.c
&amp;&amp; touch 
> buckets/simple_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/file_buckets.lo buckets/file_buckets.c &amp;&amp;
touch 
> buckets/file_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/mmap_buckets.lo buckets/mmap_buckets.c &amp;&amp;
touch 
> buckets/mmap_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/socket_buckets.lo buckets/socket_buckets.c
&amp;&amp; touch 
> buckets/socket_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/response_buckets.lo buckets/response_buckets.c
&amp;&amp; 
> touch buckets/response_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/headers_buckets.lo buckets/headers_buckets.c
&amp;&amp; 
> touch buckets/headers_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/allocator.lo buckets/allocator.c &amp;&amp;
touch 
> buckets/allocator.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/dechunk_buckets.lo buckets/dechunk_buckets.c
&amp;&amp; 
> touch buckets/dechunk_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/deflate_buckets.lo buckets/deflate_buckets.c
&amp;&amp; touch 
> buckets/deflate_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/limit_buckets.lo buckets/limit_buckets.c &amp;&amp;
touch 
> buckets/limit_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/ssl_buckets.lo buckets/ssl_buckets.c &amp;&amp;
touch 
> buckets/ssl_buckets.lo
> buckets/ssl_buckets.c: In function 'serf_ssl_cert_export':
> buckets/ssl_buckets.c:1267: warning: passing argument 2 of 'i2d_X509' from incompatible

> pointer type
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/barrier_buckets.lo buckets/barrier_buckets.c
&amp;&amp; touch 
> buckets/barrier_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o buckets/chunk_buckets.lo buckets/chunk_buckets.c &amp;&amp;
touch 
> buckets/chunk_buckets.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=link gcc -L/usr/lib -rpath /usr/lib
-o 
> libserf-0.la buckets/aggregate_buckets.lo buckets/req
> uest_buckets.lo context.lo buckets/buckets.lo buckets/simple_buckets.lo buckets/file_buckets.lo

> buckets/mmap_buckets.lo buckets/socket_bucket
> s.lo buckets/response_buckets.lo buckets/headers_buckets.lo buckets/allocator.lo 
> buckets/dechunk_buckets.lo buckets/deflate_buckets.lo bucket
> s/limit_buckets.lo buckets/ssl_buckets.lo buckets/barrier_buckets.lo buckets/chunk_buckets.lo

> -L/usr/lib -R/usr/lib -laprutil-1 -lsqlite3 -le
> xpat -liconv  -L/usr/lib -R/usr/lib -lapr-1 -lpthread  -lz -lssl -lcrypto
> /usr/share/apr-1/build-1/libtool --silent --mode=compile gcc  -DDARWIN -
> DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I.  -I/usr/include/apr
> -1   -I/usr/include/apr-1   -c -o test/serf_get.lo test/serf_get.c &amp;&amp;
touch test/serf_get.lo
> /usr/share/apr-1/build-1/libtool --silent --mode=link gcc -L/usr/lib -static -o test/serf_get

> libserf-0.la test/serf_get.lo -L/usr/lib -R/usr
> /lib -laprutil-1 -lsqlite3 -lexpat -liconv  -L/usr/lib -R/usr/lib -lapr-1 -lpthread 
-lz -lssl -
> lcrypto
> Undefined symbols:
>   "_BIO_clear_flags", referenced from:
>       _bio_bucket_read in libserf-0.a(ssl_buckets.o)
>       _bio_bucket_write in libserf-0.a(ssl_buckets.o)
>       _bio_file_read in libserf-0.a(ssl_buckets.o)
>       _bio_file_write in libserf-0.a(ssl_buckets.o)
>   "_SSL_CTX_set_client_cert_cb", referenced from:
>       _ssl_init_context in libserf-0.a(ssl_buckets.o)
>   "_BIO_set_flags", referenced from:
>       _bio_bucket_read in libserf-0.a(ssl_buckets.o)
>       _bio_file_read in libserf-0.a(ssl_buckets.o)
>   "_BIO_test_flags", referenced from:
>       _ssl_encrypt in libserf-0.a(ssl_buckets.o)
>       _ssl_encrypt in libserf-0.a(ssl_buckets.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [test/serf_get] Error 1
> *What version of the product are you using? On what operating system?*
> I am compiling serf-0.3.0 on Mac OS X Server 10.5.6 (Darwin sunnydale.private 9.6.0 Darwin

> Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386

> i386).
> *Please provide any additional information below.*
> I also compiled and installed expat-2.0.1 to get the libexpat.a library.
> This compilation attempt is using the OS X Server-packaged Apache 2 apr and apr-util
headers 
> and libraries in /usr/include and /usr/lib.
> Original issue reported by *alexpreynolds*



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message