Re: Hefur (ARM-HardFloat Debian)

16 views
Skip to first unread message

Alexandre Bique

unread,
Dec 11, 2013, 11:45:47 AM12/11/13
to randm...@gmail.com, he...@googlegroups.com
Hi,

Here is the error:

On Wed, Dec 11, 2013 at 5:20 PM, <randm...@gmail.com> wrote:
> no matching function for call to ‘min(uint64_t&, std::basic_string<char>::size_type)’

I'll have a look soon, but it is not something complicate to fix ;-)

Cheers,
--
Alexandre Bique

randm...@gmail.com

unread,
Dec 11, 2013, 12:24:58 PM12/11/13
to he...@googlegroups.com, randm...@gmail.com
Hello Mr. Bique,

Wow thanks for the quick reply, I figured out the mimosa github and mimosa folder in hefur were not the same and was missing a cmakelist, the error above seemed to be because i deleted the hefur/mimosa and copied the mimosa github in.

I redid it all and copied the mimosa github into the hefur/mimosa folder. It went a lot further this time around. I am still a bit unsure where to go from here.

Any advice would be appreciated, this is just a hobby/learning experience for me. So I did not expect fast reply.

Have a Good Day :)


OUTPUT -

[ 20%] Building CXX object mimosa/mimosa/CMakeFiles/mimosa.dir/stream/string-stream.cc.o
/home/kai/hefur/mimosa/mimosa/stream/string-stream.cc: In member function ‘virtual int64_t mimosa::stream::StringStream::rea(char*, uint64_t)’:
/home/kai/hefur/mimosa/mimosa/stream/string-stream.cc:28:66: error: no matching function for call to ‘min(uint64_t&, std::baic_string<char>::size_type)’
/home/kai/hefur/mimosa/mimosa/stream/string-stream.cc:28:66: note: candidates are:
In file included from /usr/include/c++/4.7/bits/char_traits.h:41:0,
from /usr/include/c++/4.7/string:42,
from /home/kai/hefur/mimosa/mimosa/stream/string-stream.hh:4,
from /home/kai/hefur/mimosa/mimosa/stream/string-stream.cc:3:
/usr/include/c++/4.7/bits/stl_algobase.h:187:5: note: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)
/usr/include/c++/4.7/bits/stl_algobase.h:187:5: note: template argument deduction/substitution failed:
/home/kai/hefur/mimosa/mimosa/stream/string-stream.cc:28:66: note: deduced conflicting types for parameter ‘const _Tp’ (‘lng long unsigned int’ and ‘std::basic_string<char>::size_type {aka unsigned int}’)
In file included from /usr/include/c++/4.7/bits/char_traits.h:41:0,
from /usr/include/c++/4.7/string:42,
from /home/kai/hefur/mimosa/mimosa/stream/string-stream.hh:4,
from /home/kai/hefur/mimosa/mimosa/stream/string-stream.cc:3:
/usr/include/c++/4.7/bits/stl_algobase.h:233:5: note: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, cont _Tp&, _Compare)
/usr/include/c++/4.7/bits/stl_algobase.h:233:5: note: template argument deduction/substitution failed:
/home/kai/hefur/mimosa/mimosa/stream/string-stream.cc:28:66: note: deduced conflicting types for parameter ‘const _Tp’ (‘lng long unsigned int’ and ‘std::basic_string<char>::size_type {aka unsigned int}’)
make[2]: *** [mimosa/mimosa/CMakeFiles/mimosa.dir/stream/string-stream.cc.o] Error 1
make[1]: *** [mimosa/mimosa/CMakeFiles/mimosa.dir/all] Error 2
make: *** [all] Error 2

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

Alexandre Bique

unread,
Dec 11, 2013, 12:36:36 PM12/11/13
to randm...@gmail.com, he...@googlegroups.com
Can you pull and try again please?

--
Alexandre Bique

randm...@gmail.com

unread,
Dec 11, 2013, 3:18:38 PM12/11/13
to he...@googlegroups.com, randm...@gmail.com
Your fix did the trick, I still had a few dependencies to fix on my end too apparently I installed the (bin instead of the dev version of the last package in the compile), I got them all installed and copied to /usr & /lib.

Mimosa & Hefur are now compiled for ARM HardFloat.
I can now use Hefur to server - binaries and other small things I can build and find. Hefur is truly amazing, especially since it is database-less and my machine has limited specs (700mhz/256mb). Its so tiny and runs 3watts of power, so it's a perfect little server for personal use. I'm still learning the settings and experimenting. Hefur is fabulous.

Many Thanks for your help.

Happy Holidays & Best of luck in the new year =)

Alexandre Bique

unread,
Dec 11, 2013, 3:36:40 PM12/11/13
to randm...@gmail.com, he...@googlegroups.com
On Wed, Dec 11, 2013 at 9:18 PM, <randm...@gmail.com> wrote:
> Your fix did the trick, I still had a few dependencies to fix on my end too apparently I installed the (bin instead of the dev version of the last package in the compile), I got them all installed and copied to /usr & /lib.
>
> Mimosa & Hefur are now compiled for ARM HardFloat.

Congratz :)

> I can now use Hefur to server - binaries and other small things I can build and find. Hefur is truly amazing, especially since it is database-less and my machine has limited specs (700mhz/256mb). Its so tiny and runs 3watts of power, so it's a perfect little server for personal use. I'm still learning the settings and experimenting. Hefur is fabulous.

Thank you very much, I did not know that Hefur runs at 3 watts of
power, that's funny :)

> Many Thanks for your help.
>
> Happy Holidays & Best of luck in the new year =)

Thanks again, your welcome! All the best and enjoy Hefur =)

--
Alexandre Bique
Reply all
Reply to author
Forward
0 new messages