Mail Archives: geda-help/2016/03/01/14:17:33
Thanks for the suggestion. I still get an error though — here’s the output
James
$ make clean
$ ./autogen.sh
$ ./configure —prefix /opt/geda/geda-gaf_git
$ make
<snip>
Making all in xorn
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in po
make[4]: Nothing to be done for `all'.
Making all in src/storage
depbase=`echo object.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -Wall -W -g -O2 -MT object.lo -MD -MP -MF $depbase.Tpo -c -o object.lo object.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -Wall -W -g -O2 -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.cc -fno-common -DPIC -o .libs/object.o
In file included from object.cc:20:
./key_iterator.h:47:12: error: no member named 'operator!=' in 'std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> >'
return i.operator!=(x.i);
~ ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:5341:21: note: in instantiation of member function
'key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >::operator!=' requested here
while (__first1 != __last1 && __first2 != __last2)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:5371:12: note: in instantiation of function template
specialization 'std::__1::__set_intersection<std::__1::__less<xorn_object *const, xorn_object *> &,
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >, std::__1::__tree_const_iterator<xorn_object *,
std::__1::__tree_node<xorn_object *, void *> *, long>, xorn_object **>' requested here
return __set_intersection<_Comp_ref>(__first1, __last1, __first2, __last2, __result, __comp);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:5381:19: note: in instantiation of function template
specialization 'std::__1::set_intersection<key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >, std::__1::__tree_const_iterator<xorn_object *,
std::__1::__tree_node<xorn_object *, void *> *, long>, xorn_object **, std::__1::__less<xorn_object *const, xorn_object *> >' requested here
return _VSTD::set_intersection(__first1, __last1, __first2, __last2, __result,
^
object.cc:226:23: note: in instantiation of function template specialization
'std::__1::set_intersection<key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >, std::__1::__tree_const_iterator<xorn_object *,
std::__1::__tree_node<xorn_object *, void *> *, long>, xorn_object **>' requested here
xorn_object_t *ptr = set_intersection(
^
In file included from object.cc:20:
./key_iterator.h:44:12: error: no member named 'operator==' in 'std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> >'
return i.operator==(x.i);
~ ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:5395:22: note: in instantiation of member function
'key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >::operator==' requested here
if (__first2 == __last2)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:5425:12: note: in instantiation of function template
specialization 'std::__1::__set_difference<std::__1::__less<xorn_object *const, xorn_object *const> &,
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >,
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >, xorn_object **>' requested here
return __set_difference<_Comp_ref>(__first1, __last1, __first2, __last2, __result, __comp);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:5435:19: note: in instantiation of function template
specialization 'std::__1::set_difference<key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >,
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >, xorn_object **, std::__1::__less<xorn_object *const, xorn_object *const>
>' requested here
return _VSTD::set_difference(__first1, __last1, __first2, __last2, __result,
^
object.cc:256:23: note: in instantiation of function template specialization
'std::__1::set_difference<key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >,
key_iterator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<xorn_object *, obstate *>,
std::__1::__tree_node<std::__1::__value_type<xorn_object *, obstate *>, void *> *, long> > >, xorn_object **>' requested here
xorn_object_t *ptr = set_difference(
^
2 errors generated.
make[4]: *** [object.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
On Mar 1, 2016, at 11:02 AM, Edward Hennessy (ehennes AT sbcglobal DOT net) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
>
>> On Mar 1, 2016, at 6:45 AM, James Battat (jbattat AT wellesley DOT edu) [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
>>
>> make[4]: *** [object.lo] Error 1
>> make[3]: *** [all-recursive] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>
> I *sometimes* get errors in Xorn when building from a clean start and using multiple processes. There may be a missing dependency that is causing a race condition.
>
> Can you try using one process for the initial build and see what happens?
>
> Ed
- Raw text -