Re: autoreconf missing boost?

2017-06-08 Thread Kubilay Kocak
On 6/9/17 2:52 AM, blubee blubeeme wrote:
> I forgot to add this in my last email, here's the boost packages that I
> have installed.
> 
> me@blubee:~ % pkg info | grep boost
> boost-jam-1.64.0   Build tool from the boost.org
> boost-libs-1.64.0  Free portable C++ libraries (without
> Boost.Python)
> boost-python-libs-1.62.0   Framework for interfacing Python and C++
> boost_build-2.0.m12_4  Extensible cross-platform build tool suite
> 
> 
> On Thu, Jun 8, 2017 at 11:56 PM, blubee blubeeme 
> wrote:
> 
>> Hi
>>
>> I'm running a autoreconf trying to port a project; some printer code.
>> Having a bit of trouble.
>>
>> I ran autoreconf -fi
>>
>> then I do:
>> ./configure --with-ltdl-include=/usr/local/share/libtool --with-gnu-ld
>> --with-libintl-prefix=/usr/local
>>
>> that goes straight forward.
>>
>> Then when I run gmake, it seems to fail at linking boost or something like
>> that. Here's the output of gmake, i've tried both make and gmake:
>> me@blubee:~/Downloads/Epson/ut % gmake
>> gmake  all-recursive
>> gmake[1]: Entering directory '/usr/home/blubee/Downloads/Epson/ut'
>> Making all in .
>> gmake[2]: Entering directory '/usr/home/blubee/Downloads/Epson/ut'
>> gmake[2]: Leaving directory '/usr/home/blubee/Downloads/Epson/ut'
>> Making all in lib
>> gmake[2]: Entering directory '/usr/home/blubee/Downloads/Epson/ut/lib'
>> Making all in .
>> gmake[3]: Entering directory '/usr/home/blubee/Downloads/Epson/ut/lib'
>>   CXX  connexion.lo
>> In file included from connexion.cpp:32:0:
>> /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/
>> include-fixed/sys/types.h:266:9: error: '__vm_ooffset_t' does not name a
>> type
>>  typedef __vm_ooffset_t vm_ooffset_t;
>>  ^
>> /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/
>> include-fixed/sys/types.h:268:9: error: '__vm_pindex_t' does not name a
>> type
>>  typedef __vm_pindex_t vm_pindex_t;
>>  ^
>> In file included from /usr/local/lib/gcc49/include/c++/cstdlib:72:0,
>>  from /usr/local/include/boost/core/demangle.hpp:39,
>>  from /usr/local/include/boost/core/typeinfo.hpp:119,
>>  from /usr/local/include/boost/detail/sp_typeinfo.hpp:20,
>>  from /usr/local/include/boost/
>> smart_ptr/detail/sp_counted_base_gcc_x86.hpp:27,
>>  from /usr/local/include/boost/
>> smart_ptr/detail/sp_counted_base.hpp:54,
>>  from /usr/local/include/boost/
>> smart_ptr/detail/shared_count.hpp:29,
>>  from /usr/local/include/boost/
>> smart_ptr/shared_ptr.hpp:28,
>>  from /usr/local/include/boost/shared_ptr.hpp:17,
>>  from /usr/local/include/boost/filesystem/path.hpp:29,
>>  from /usr/local/include/boost/filesystem.hpp:16,
>>  from connexion.cpp:40:
>> /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/include-fixed/stdlib.h:192:46:
>> error: expected initializer before '__nonnull'
>>  int  posix_memalign(void **, size_t, size_t) __nonnull(1); /* (ADV) */
>>   ^
>> In file included from /usr/local/lib/gcc49/include/
>> c++/x86_64-portbld-freebsd12.0/bits/gthr.h:148:0,
>>  from /usr/local/lib/gcc49/include/c++/ext/atomicity.h:35,
>>  from /usr/local/lib/gcc49/include/c++/bits/ios_base.h:39,
>>  from /usr/local/lib/gcc49/include/c++/ios:42,
>>  from /usr/local/lib/gcc49/include/c++/ostream:38,
>>  from /usr/local/lib/gcc49/include/c++/iostream:39,
>>  from connexion.cpp:38:
>> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:101:1:
>> error: 'int __gthrw_pthread_once(pthread_once_t*, void (*)())' declared
>> 'static' but never defined [-Werror=unused-function]
>>  __gthrw(pthread_once)
>>  ^
>> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:102:1:
>> error: 'void* __gthrw_pthread_getspecific(pthread_key_t)' declared
>> 'static' but never defined [-Werror=unused-function]
>>  __gthrw(pthread_getspecific)
>>  ^
>> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:103:1:
>> error: 'int __gthrw_pthread_setspecific(pthread_key_t, const void*)'
>> declared 'static' but never defined [-Werror=unused-function]
>>  __gthrw(pthread_setspecific)
>>  ^
>> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:105:1:
>> error: 'int __gthrw_pthread_create(pthread**, pthread_attr* const*, void*
>> (*)(void*), void*)' declared 'static' but never defined
>> [-Werror=unused-function]
>>  __gthrw(pthread_create)
>>  ^
>> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:106:1:
>> error: 'int __gthrw_pthread_join(pthread_t, void**)' declared 'static'
>> but never defined [-Werror=unused-function]
>>  __gthrw(pthread_join)
>>  ^
>> /usr/local/lib/gcc49/include/c++/x86_64-p

Re: autoreconf missing boost?

2017-06-08 Thread blubee blubeeme
I forgot to add this in my last email, here's the boost packages that I
have installed.

me@blubee:~ % pkg info | grep boost
boost-jam-1.64.0   Build tool from the boost.org
boost-libs-1.64.0  Free portable C++ libraries (without
Boost.Python)
boost-python-libs-1.62.0   Framework for interfacing Python and C++
boost_build-2.0.m12_4  Extensible cross-platform build tool suite


On Thu, Jun 8, 2017 at 11:56 PM, blubee blubeeme 
wrote:

> Hi
>
> I'm running a autoreconf trying to port a project; some printer code.
> Having a bit of trouble.
>
> I ran autoreconf -fi
>
> then I do:
> ./configure --with-ltdl-include=/usr/local/share/libtool --with-gnu-ld
> --with-libintl-prefix=/usr/local
>
> that goes straight forward.
>
> Then when I run gmake, it seems to fail at linking boost or something like
> that. Here's the output of gmake, i've tried both make and gmake:
> me@blubee:~/Downloads/Epson/ut % gmake
> gmake  all-recursive
> gmake[1]: Entering directory '/usr/home/blubee/Downloads/Epson/ut'
> Making all in .
> gmake[2]: Entering directory '/usr/home/blubee/Downloads/Epson/ut'
> gmake[2]: Leaving directory '/usr/home/blubee/Downloads/Epson/ut'
> Making all in lib
> gmake[2]: Entering directory '/usr/home/blubee/Downloads/Epson/ut/lib'
> Making all in .
> gmake[3]: Entering directory '/usr/home/blubee/Downloads/Epson/ut/lib'
>   CXX  connexion.lo
> In file included from connexion.cpp:32:0:
> /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/
> include-fixed/sys/types.h:266:9: error: '__vm_ooffset_t' does not name a
> type
>  typedef __vm_ooffset_t vm_ooffset_t;
>  ^
> /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/
> include-fixed/sys/types.h:268:9: error: '__vm_pindex_t' does not name a
> type
>  typedef __vm_pindex_t vm_pindex_t;
>  ^
> In file included from /usr/local/lib/gcc49/include/c++/cstdlib:72:0,
>  from /usr/local/include/boost/core/demangle.hpp:39,
>  from /usr/local/include/boost/core/typeinfo.hpp:119,
>  from /usr/local/include/boost/detail/sp_typeinfo.hpp:20,
>  from /usr/local/include/boost/
> smart_ptr/detail/sp_counted_base_gcc_x86.hpp:27,
>  from /usr/local/include/boost/
> smart_ptr/detail/sp_counted_base.hpp:54,
>  from /usr/local/include/boost/
> smart_ptr/detail/shared_count.hpp:29,
>  from /usr/local/include/boost/
> smart_ptr/shared_ptr.hpp:28,
>  from /usr/local/include/boost/shared_ptr.hpp:17,
>  from /usr/local/include/boost/filesystem/path.hpp:29,
>  from /usr/local/include/boost/filesystem.hpp:16,
>  from connexion.cpp:40:
> /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/include-fixed/stdlib.h:192:46:
> error: expected initializer before '__nonnull'
>  int  posix_memalign(void **, size_t, size_t) __nonnull(1); /* (ADV) */
>   ^
> In file included from /usr/local/lib/gcc49/include/
> c++/x86_64-portbld-freebsd12.0/bits/gthr.h:148:0,
>  from /usr/local/lib/gcc49/include/c++/ext/atomicity.h:35,
>  from /usr/local/lib/gcc49/include/c++/bits/ios_base.h:39,
>  from /usr/local/lib/gcc49/include/c++/ios:42,
>  from /usr/local/lib/gcc49/include/c++/ostream:38,
>  from /usr/local/lib/gcc49/include/c++/iostream:39,
>  from connexion.cpp:38:
> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:101:1:
> error: 'int __gthrw_pthread_once(pthread_once_t*, void (*)())' declared
> 'static' but never defined [-Werror=unused-function]
>  __gthrw(pthread_once)
>  ^
> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:102:1:
> error: 'void* __gthrw_pthread_getspecific(pthread_key_t)' declared
> 'static' but never defined [-Werror=unused-function]
>  __gthrw(pthread_getspecific)
>  ^
> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:103:1:
> error: 'int __gthrw_pthread_setspecific(pthread_key_t, const void*)'
> declared 'static' but never defined [-Werror=unused-function]
>  __gthrw(pthread_setspecific)
>  ^
> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:105:1:
> error: 'int __gthrw_pthread_create(pthread**, pthread_attr* const*, void*
> (*)(void*), void*)' declared 'static' but never defined
> [-Werror=unused-function]
>  __gthrw(pthread_create)
>  ^
> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:106:1:
> error: 'int __gthrw_pthread_join(pthread_t, void**)' declared 'static'
> but never defined [-Werror=unused-function]
>  __gthrw(pthread_join)
>  ^
> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:107:1:
> error: 'int __gthrw_pthread_equal(pthread_t, pthread_t)' declared
> 'static' but never defined [-Werror=unused-fun

autoreconf missing boost?

2017-06-08 Thread blubee blubeeme
Hi

I'm running a autoreconf trying to port a project; some printer code.
Having a bit of trouble.

I ran autoreconf -fi

then I do:
./configure --with-ltdl-include=/usr/local/share/libtool --with-gnu-ld
--with-libintl-prefix=/usr/local

that goes straight forward.

Then when I run gmake, it seems to fail at linking boost or something like
that. Here's the output of gmake, i've tried both make and gmake:
me@blubee:~/Downloads/Epson/ut % gmake
gmake  all-recursive
gmake[1]: Entering directory '/usr/home/blubee/Downloads/Epson/ut'
Making all in .
gmake[2]: Entering directory '/usr/home/blubee/Downloads/Epson/ut'
gmake[2]: Leaving directory '/usr/home/blubee/Downloads/Epson/ut'
Making all in lib
gmake[2]: Entering directory '/usr/home/blubee/Downloads/Epson/ut/lib'
Making all in .
gmake[3]: Entering directory '/usr/home/blubee/Downloads/Epson/ut/lib'
  CXX  connexion.lo
In file included from connexion.cpp:32:0:
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/include-fixed/sys/types.h:266:9:
error: '__vm_ooffset_t' does not name a type
 typedef __vm_ooffset_t vm_ooffset_t;
 ^
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/include-fixed/sys/types.h:268:9:
error: '__vm_pindex_t' does not name a type
 typedef __vm_pindex_t vm_pindex_t;
 ^
In file included from /usr/local/lib/gcc49/include/c++/cstdlib:72:0,
 from /usr/local/include/boost/core/demangle.hpp:39,
 from /usr/local/include/boost/core/typeinfo.hpp:119,
 from /usr/local/include/boost/detail/sp_typeinfo.hpp:20,
 from
/usr/local/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:27,
 from
/usr/local/include/boost/smart_ptr/detail/sp_counted_base.hpp:54,
 from
/usr/local/include/boost/smart_ptr/detail/shared_count.hpp:29,
 from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:28,
 from /usr/local/include/boost/shared_ptr.hpp:17,
 from /usr/local/include/boost/filesystem/path.hpp:29,
 from /usr/local/include/boost/filesystem.hpp:16,
 from connexion.cpp:40:
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/include-fixed/stdlib.h:192:46:
error: expected initializer before '__nonnull'
 int  posix_memalign(void **, size_t, size_t) __nonnull(1); /* (ADV) */
  ^
In file included from
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr.h:148:0,
 from /usr/local/lib/gcc49/include/c++/ext/atomicity.h:35,
 from /usr/local/lib/gcc49/include/c++/bits/ios_base.h:39,
 from /usr/local/lib/gcc49/include/c++/ios:42,
 from /usr/local/lib/gcc49/include/c++/ostream:38,
 from /usr/local/lib/gcc49/include/c++/iostream:39,
 from connexion.cpp:38:
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:101:1:
error: 'int __gthrw_pthread_once(pthread_once_t*, void (*)())' declared
'static' but never defined [-Werror=unused-function]
 __gthrw(pthread_once)
 ^
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:102:1:
error: 'void* __gthrw_pthread_getspecific(pthread_key_t)' declared 'static'
but never defined [-Werror=unused-function]
 __gthrw(pthread_getspecific)
 ^
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:103:1:
error: 'int __gthrw_pthread_setspecific(pthread_key_t, const void*)'
declared 'static' but never defined [-Werror=unused-function]
 __gthrw(pthread_setspecific)
 ^
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:105:1:
error: 'int __gthrw_pthread_create(pthread**, pthread_attr* const*, void*
(*)(void*), void*)' declared 'static' but never defined
[-Werror=unused-function]
 __gthrw(pthread_create)
 ^
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:106:1:
error: 'int __gthrw_pthread_join(pthread_t, void**)' declared 'static' but
never defined [-Werror=unused-function]
 __gthrw(pthread_join)
 ^
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:107:1:
error: 'int __gthrw_pthread_equal(pthread_t, pthread_t)' declared 'static'
but never defined [-Werror=unused-function]
 __gthrw(pthread_equal)
 ^
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:108:1:
error: 'pthread* __gthrw_pthread_self()' declared 'static' but never
defined [-Werror=unused-function]
 __gthrw(pthread_self)
 ^
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:109:1:
error: 'int __gthrw_pthread_detach(pthread_t)' declared 'static' but never
defined [-Werror=unused-function]
 __gthrw(pthread_detach)
 ^
/usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:111:1:
error: 'int __gthrw_pthread_cancel(pthread_t)' declared 'static' but never
defined [-Werror=unused-func