bclzvs / serf

Automatically exported from code.google.com/p/serf
0 stars 0 forks source link

Build Regresseion with 0.6.1/Debian/OpenSSL 0.9.8n #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure --prefix=$(_prefix) \
               --with-apr=$(_prefix) \
               --with-apr-util=$(_prefix) \
               --with-openssl=/usr
2. make
3. fail: 
/opt/bw/share/apr/build/libtool --silent --tag=CC --mode=compile gcc -pthread 
-s -mtune=core2 -fno-omit-frame-pointer -O2 -fpic -fPIC -Wl,--as-needed 
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include  -I.  -I/opt/bw/include/apr 
  -I/opt/bw/include/apr -I/opt/bw/include  -c -o buckets/bwtp_buckets.lo 
buckets/bwtp_buckets.c && touch buckets/bwtp_buckets.lo
/opt/bw/share/apr/build/libtool --silent --tag=CC --mode=compile gcc -pthread 
-s -mtune=core2 -fno-omit-frame-pointer -O2 -fpic -fPIC -Wl,--as-needed 
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include  -I.  -I/opt/bw/include/apr 
  -I/opt/bw/include/apr -I/opt/bw/include  -c -o incoming.lo incoming.c && 
touch incoming.lo
/opt/bw/share/apr/build/libtool --silent --tag=CC --mode=compile gcc -pthread 
-s -mtune=core2 -fno-omit-frame-pointer -O2 -fpic -fPIC -Wl,--as-needed 
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include  -I.  -I/opt/bw/include/apr 
  -I/opt/bw/include/apr -I/opt/bw/include  -c -o outgoing.lo outgoing.c && 
touch outgoing.lo
outgoing.c: In function âsocket_writevâ:
outgoing.c:473: error: lvalue required as left operand of assignment
make[1]: *** [outgoing.lo] Error 1
make[1]: Leaving directory `/tmp/build/serf/serf-0.6.1'
make: *** [serf] Error 2
make  131.82s user 62.35s system 98% cpu 3:17.07 total
2 i.galic@panic ~/bwtools %

What is the expected output? What do you see instead?
It should work.

What version of the product are you using? On what operating system?
Serf 0.6.1, on:
i.galic@panic ~/bwtools % uname -a
Linux panic 2.6.32-3-amd64 #1 SMP Wed Feb 24 18:07:42 UTC 2010 x86_64 GNU/Linux
i.galic@panic ~/bwtools % openssl version
OpenSSL 0.9.8n 24 Mar 2010
i.galic@panic ~/bwtools % /lib/libc.so.6
GNU C Library (Debian EGLIBC 2.10.2-9) stable release version 2.10.2, by Roland 
McGrath et al.
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.4.4.
Compiled on a Linux >>2.6.26-2-amd64<< system on 2010-05-20.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
i.galic@panic ~/bwtools % /opt/bw/bin/apr-1-config --version
1.4.2
i.galic@panic ~/bwtools % /opt/bw/bin/apu-1-config --version
1.3.9
i.galic@panic ~/bwtools %

Original issue reported on code.google.com by i.ga...@brainsware.org on 9 Jun 2010 at 7:47

Attachments:

GoogleCodeExporter commented 9 years ago
Hi. Thanks for the report.

This buld problem was fixed on trunk close after the release and was backport 
to the 0.6.x branch for inclusing in serf 0.6.2.

You can get the fixed version from, or wait for the next patch release:
http://serf.googlecode.com/svn/branches/0.6.x/

Original comment by lieven.govaerts@gmail.com on 9 Jun 2010 at 8:47