You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Bainter <ma...@webtech.dresser.com> on 2002/12/06 00:43:27 UTC
Error building subversion
I poked around for a bit in the archives and on google trying to
find an answer to this one but came up empty. I'm hoping someone
here can help me pin down what I did wrong.
I have a working subversion setup on one system. Running with
apache 2.0.43 and the cvs apr/apr-util revisions. I bootstrapped
that one with 0.15 and then updated to the current version
this morning, just to make sure it built in that environment.
On this other machine, I used the same exact build procedures
and library versions, and configure works fine, but the actual
make fails in both the 0.15 and 0.16 tarballs. When I run make
I get:
/bin/sh /home/mark/subversion-r3987/libtool --silent --mode=compile i586-pc-linux-gnu-gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DNEON_ZLIB -DNEON_SSL -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I. -I/usr/include/neon -I/usr/include -I/usr/include/apache2 -I/usr/include/apache2 /include -o subversion/libsvn_auth/auth.lo -c subversion/libsvn_auth/auth.c
i586-pc-linux-gnu-gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [subversion/libsvn_auth/auth.lo] Error 1
On my other machine (which works) I get similar output, only it works:
/bin/sh /home/mark/subversion-r3687/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -DNEON_ZLIB -DNEON_SSL -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I. -I/usr/include/neon -I/usr/include -I/usr/include/apache2 -I/usr/include/apache2 -o subversion/libsvn_auth/auth.lo -c subversion/libsvn_auth/auth.c
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
/bin/sh /home/mark/subversion-r3687/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -DNEON_ZLIB -DNEON_SSL -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I. -I/usr/include/neon -I/usr/include -I/usr/include/apache2 -I/usr/include/apache2 -o subversion/libsvn_subr/config.lo -c subversion/libsvn_subr/config.c
Obviously, there are some hardware differences between the two machines.
My working one is an athlon xp, the one that doesn't work is a k6-2.
Both are running the 0.23.5 version of neon. Both are running glibc 2.2.5
and glibc 3.2.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Error building subversion
Posted by Mark Bainter <ma...@webtech.dresser.com>.
David Kimdon [dwhedon@debian.org] wrote:
> On Thu, Dec 05, 2002 at 06:43:27PM -0600, Mark Bainter wrote:
> > /bin/sh /home/mark/subversion-r3987/libtool --silent --mode=compile i586-pc-linux-gnu-gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DNEON_ZLIB -DNEON_SSL -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I. -I/usr/include/neon -I/usr/include -I/usr/include/apache2 -I/usr/include/apache2 /include -o subversion/libsvn_auth/auth.lo -c subversion/libsvn_auth/auth.c
> > i586-pc-linux-gnu-gcc: cannot specify -o with -c or -S and multiple compilations
> > make: *** [subversion/libsvn_auth/auth.lo] Error 1
>
> see the '-I/usr/include/apache2 /include' above?
>
> The space shouldn't be there, track it down and I expect the above
> error will go away.
I'm still not sure how I came up with that, but I modified the apu-config
to get rid of it and everything builds fine. Thanks for the sharp eyes. ;-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Error building subversion
Posted by David Kimdon <dw...@debian.org>.
On Thu, Dec 05, 2002 at 06:43:27PM -0600, Mark Bainter wrote:
> /bin/sh /home/mark/subversion-r3987/libtool --silent --mode=compile i586-pc-linux-gnu-gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -DNEON_ZLIB -DNEON_SSL -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I./subversion/include -I. -I/usr/include/neon -I/usr/include -I/usr/include/apache2 -I/usr/include/apache2 /include -o subversion/libsvn_auth/auth.lo -c subversion/libsvn_auth/auth.c
> i586-pc-linux-gnu-gcc: cannot specify -o with -c or -S and multiple compilations
> make: *** [subversion/libsvn_auth/auth.lo] Error 1
see the '-I/usr/include/apache2 /include' above?
The space shouldn't be there, track it down and I expect the above
error will go away.
-David
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org