monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Problems compiling 0.8 on OpenBSD 3.3


From: jjh-monotone
Subject: [Monotone-devel] Problems compiling 0.8 on OpenBSD 3.3
Date: Mon, 05 Jan 2004 14:35:00 -0700
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.1 (Cuyahoga Valley, berkeley-unix)

Hi All,

I am attempting to build and install monotone on OpenBSD 3.3 using gcc
3.2.2 (as boost/spirit.hpp doesn't work with g++ <= 3).  I've made it
pretty far but am currently getting hung up on a issue with
boost/socket/address_info.hpp.

Here are my steps and results so far:

1) building libpopt - no issue, is part of ports tree

2) building Boost

     - one compilation error but that was resolved from the
       boost list archives.

     - http://lists.boost.org/MailArchives/boost-users/msg05353.php

3) building monotone 

     - configure is fine
     
     - when compiling the error below is thrown for
       boost/socket/address_info.hpp 

Currently I am thinking that there is a problem using gcc 3.2.2 and the
boost/socket code that comes with monotone.

I have also put a full listing of all errors from a gmake -k at
http://www.vieorhythms.com/tmp/gmake-monotone-0.8-openbsd.gz

Hopefully someone here is able to point me in the right direction to
solving this problem.  

enjoy,

-jeremy

----------------------------------------------------------------------
planchet:~/pkgs/monotone-0.8 436% gmake
gmake  all-am
gmake[1]: Entering directory `/var/home/jeremy/pkgs/monotone-0.8'
if eg++ -DHAVE_CONFIG_H -I. -I. -I.    -DNDEBUG -DBOOST_DISABLE_THREADS
-Wall  -I/usr/local/include -MT boost/socket/src/address_info.o -MD -MP
-MF "boost/socket/src/.deps/address_info.Tpo" \
  -c -o boost/socket/src/address_info.o `test -f
'boost/socket/src/address_info.cpp' || echo
'./'`boost/socket/src/address_info.cpp; \
then mv "boost/socket/src/.deps/address_info.Tpo"
"boost/socket/src/.deps/address_info.Po"; \
else rm -f "boost/socket/src/.deps/address_info.Tpo"; exit 1; \
fi
In file included from boost/socket/src/address_info.cpp:22:
boost/socket/address_info.hpp:56: parse error before `{' token
boost/socket/address_info.hpp:65: syntax error before `&' token
boost/socket/address_info.hpp:65: `IteratorAdaptor' was not declared in
this 
   scope
boost/socket/address_info.hpp:65: `x' was not declared in this scope
boost/socket/address_info.hpp:66: ISO C++ forbids declaration of
`dereference' 
   with no type
boost/socket/address_info.hpp:66: syntax error before `{' token
boost/socket/address_info.hpp:68: syntax error before `.' token
boost/socket/address_info.hpp:77: ISO C++ forbids declaration of `type
name' 
   with no type
boost/socket/address_info.hpp:77: parse error before `*' token
boost/socket/address_info.hpp:94: parse error before `)' token
boost/socket/address_info.hpp:99: ISO C++ forbids defining types within
return 
   type
boost/socket/address_info.hpp:99: syntax error before `(' token
boost/socket/address_info.hpp:106: parse error before `private'
boost/socket/address_info.hpp:115: syntax error before `*' token
boost/socket/src/address_info.cpp: In constructor 
   `address_info_list::address_info_list(const char*, const char*, int,
int, 
   int, int)':
boost/socket/src/address_info.cpp:308: class `address_info_list' does
not have 
   any field named `m_addrinfo'
boost/socket/src/address_info.cpp:310: `get_addrinfo' undeclared (first
use 
   this function)
boost/socket/src/address_info.cpp:310: (Each undeclared identifier is
reported 
   only once for each function it appears in.)
boost/socket/src/address_info.cpp: In destructor 
   `address_info_list::~address_info_list()':
boost/socket/src/address_info.cpp:315: `detail' undeclared (first use
this 
   function)
boost/socket/src/address_info.cpp:315: parse error before `::' token
boost/socket/src/address_info.cpp: At global scope:
boost/socket/src/address_info.cpp:325: no `void 
   address_info_list::get_addrinfo(const char*, const char*, int, int,
int, 
   int)' member function declared in class `address_info_list'
boost/socket/src/address_info.cpp: In member function `void 
   address_info_list::get_addrinfo(const char*, const char*, int, int,
int, 
   int)':
boost/socket/src/address_info.cpp:327: `detail' undeclared (first use
this 
   function)
boost/socket/src/address_info.cpp:327: parse error before `::' token
boost/socket/src/address_info.cpp:329: `hint' undeclared (first use this

   function)
boost/socket/src/address_info.cpp:335: parse error before `::' token
gmake[1]: *** [boost/socket/src/address_info.o] Error 1
gmake[1]: Leaving directory `/var/home/jeremy/pkgs/monotone-0.8'
gmake: *** [all] Error 2
------------------------------------------------------------

-- 
========================================================================






reply via email to

[Prev in Thread] Current Thread [Next in Thread]