[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2
From: |
Will Robertson |
Subject: |
Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2 |
Date: |
Tue, 16 Dec 2003 23:52:52 +0000 |
Well, partial success: It looks like I've managed to compile boost
properly as dynamic only, using the following Boost.Jam args:
"-sBUILD=release <threading>single <optimization>speed
<runtime-link>dynamic"
but I'm still getting a compile-error while compiling monotone:
==========
if g++ -DHAVE_CONFIG_H -I. -I/project/system/unix/SRC/dev/versioning/
monotone/monotone-0.8 -I. -DNDEBUG -DBOOST_DISABLE_THREADS -Wall -g
-I/tool/monotone-0.8/include -MT boost/socket/src/impl/socket_init.o -
MD -MP -MF "boost/socket/src/impl/.deps/socket_init.Tpo" \
-c -o boost/socket/src/impl/socket_init.o `test -f 'boost/socket/src/
impl/socket_init.cpp' || echo '/project/system/unix/SRC/dev/versioning/
monotone/monotone-0.8/'`boost/socket/src/impl/socket_init.cpp; \
then mv "boost/socket/src/impl/.deps/socket_init.Tpo" "boost/socket/
src/impl/.deps/socket_init.Po"; \
else rm -f "boost/socket/src/impl/.deps/socket_init.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I/project/system/unix/SRC/dev/versioning/
monotone/monotone-0.8 -I. -DNDEBUG -DBOOST_DISABLE_THREADS -Wall -g
-I/tool/monotone-0.8/include -MT boost/socket/src/ip4/address.o -MD -
MP -MF "boost/socket/src/ip4/.deps/address.Tpo" \
-c -o boost/socket/src/ip4/address.o `test -f 'boost/socket/src/ip4/
address.cpp' || echo '/project/system/unix/SRC/dev/versioning/monotone/
monotone-0.8/'`boost/socket/src/ip4/address.cpp; \
then mv "boost/socket/src/ip4/.deps/address.Tpo" "boost/socket/src/
ip4/.deps/address.Po"; \
else rm -f "boost/socket/src/ip4/.deps/address.Tpo"; exit 1; \
fi
/project/system/unix/SRC/dev/versioning/monotone/monotone-0.8/boost/
socket/src/ip4/address.cpp: In
member function `void boost::socket::ip4::address::ip(const char*)':
/project/system/unix/SRC/dev/versioning/monotone/monotone-0.8/boost/
socket/src/ip4/address.cpp:147: error: `
INADDR_NONE' undeclared (first use this function)
/project/system/unix/SRC/dev/versioning/monotone/monotone-0.8/boost/
socket/src/ip4/address.cpp:147: error: (Each
undeclared identifier is reported only once for each function it
appears in.)
gmake[2]: *** [boost/socket/src/ip4/address.o] Error 1
gmake[2]: Leaving directory `/project/system/unix/SRC/dev/versioning/
monotone/monotone-0.8-solaris-29'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/project/system/unix/SRC/dev/versioning/
monotone/monotone-0.8-solaris-29'
gmake: *** [monotone] Error 2
==========
but I have a feeling this is my fault, i.e. perhaps incorrect
include/lib paths, as I saw this error before trying to compile against
the dynamic-lib boost.
--
Will
On 2003.12.16 17:54, Patrick Mauritz wrote:
On Tue, Dec 16, 2003 at 09:43:33AM -0700, Tom Tromey wrote:
> This may not work. I don't know the situation now, not having
worked
> on a non-Linux box in a few years, but previously the choice of ld
was
> made when configuring gcc, and actually changed gcc's behavior.
it definitely doesn't work
> Another possibility is to figure out how monotone should pass
> -static/-shared or equivalent options for the Sun ld, then either
see
> if there is a way to do this that also works with GNU ld, or use
> configure to select the switches.
or just build the thing dynamically - iirc boost still tries to build
some libraries
as shared even if you ask it to build only static ones, yes, sucks..
same for monotone later, just configure with --enable-shared (doesn't
work otherwise
as pthreads and some other stuff doesn't exist as static libraries on
solaris)
patrick mauritz
_______________________________________________
Monotone-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/monotone-devel
- [Monotone-devel] Re: static stuff, (continued)
- Re: [Monotone-devel] Re: static stuff, Zack Weinberg, 2003/12/17
- [Monotone-devel] Re: static stuff, graydon hoare, 2003/12/17
- [Monotone-devel] Re: static stuff, Zack Weinberg, 2003/12/17
- [Monotone-devel] smtp vs. calling sendmail (Re: static stuff), Peter Simons, 2003/12/17
- [Monotone-devel] Re: smtp vs. calling sendmail (Re: static stuff), graydon hoare, 2003/12/17
- [Monotone-devel] Re: smtp vs. calling sendmail (Re: static stuff), Peter Simons, 2003/12/17
- Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2, Will Robertson, 2003/12/16
- Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2,
Will Robertson <=
- Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2, Patrick Mauritz, 2003/12/16
- Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2, Will, 2003/12/16
- Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2, Will, 2003/12/17
- Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2, Patrick Mauritz, 2003/12/17
- Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2, Will, 2003/12/17
- [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2, graydon hoare, 2003/12/18
- Message not available
- Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2, graydon hoare, 2003/12/18
- Message not available
- Re: [Monotone-devel] Re: Problems compiling on Solaris 9 with GCC 3.3.2, Will, 2003/12/18