|
2014-10-11
, 22:47
|
Posts: 2 |
Thanked: 4 times |
Joined on Oct 2014
@ Germany
|
#12
|
[sbox-FREMANTLE_ARMEL_GCC472: ~/purple-line/purple-line-04279d7] > make g++ -g -Wall -shared -fPIC -DHAVE_INTTYPES_H -DHAVE_CONFIG_H -DPURPLE_PLUGINS `pkg-config --cflags purple thrift` -std=c++11 -c purpleline.cpp -o purpleline.o purpleline.cpp: In member function 'std::string PurpleLine::conv_attachment_add(PurpleConversation*, line::ContentType::type, std::string)': purpleline.cpp:324:12: error: 'to_string' is not a member of 'std' purpleline.cpp: In member function 'PurpleLine::Attachment* PurpleLine::conv_attachment_get(PurpleConversation*, std::string)': purpleline.cpp:332:17: error: 'stoi' is not a member of 'std' purpleline.cpp: In member function 'void PurpleLine::handle_message(line::Message&, bool)': purpleline.cpp:395:32: error: 'to_string' is not a member of 'std' purpleline.cpp:396:29: error: 'to_string' is not a member of 'std' purpleline.cpp:508:31: error: 'stoi' is not a member of 'std' purpleline.cpp:513:31: error: 'to_string' is not a member of 'std' purpleline.cpp:515:31: error: 'to_string' is not a member of 'std' purpleline.cpp: In lambda function: purpleline.cpp:760:35: error: 'stoll' is not a member of 'std' purpleline.cpp: In member function 'PurpleCmdRet PurpleLine::cmd_history(PurpleConversation*, const gchar*, gchar**, gchar**, void*)': purpleline.cpp:909:21: error: 'stoi' is not a member of 'std' purpleline.cpp: In member function 'PurpleCmdRet PurpleLine::cmd_open(PurpleConversation*, const gchar*, gchar**, gchar**, void*)': purpleline.cpp:945:9: error: 'stoll' is not a member of 'std' purpleline.cpp: In member function 'std::string PurpleLine::conv_attachment_add(PurpleConversation*, line::ContentType::type, std::string)': purpleline.cpp:325:1: warning: control reaches end of non-void function [-Wreturn-type] make: *** [purpleline.o] Error 1
[sbox-FREMANTLE_ARMEL_GCC472: ~/test] > gcc -Wall -g helloworld.c -o helloworld /scratchbox/compilers/linaro-4.7-2012.07-fremantle-armv7a/bin/../lib/gcc/arm-none-linux-gnueabi/4.7.2/../../../../arm-none-linux-gnueabi/bin/ld: BFD (GNU Binutils) 2.22 assertion fail ../../../sources/binutils-2.22/bfd/elf32-arm.c:11467 /scratchbox/compilers/linaro-4.7-2012.07-fremantle-armv7a/bin/../lib/gcc/arm-none-linux-gnueabi/4.7.2/../../../../arm-none-linux-gnueabi/bin/ld: BFD (GNU Binutils) 2.22 assertion fail ../../../sources/binutils-2.22/bfd/elf32-arm.c:11467 /scratchbox/compilers/linaro-4.7-2012.07-fremantle-armv7a/bin/../lib/gcc/arm-none-linux-gnueabi/4.7.2/../../../../arm-none-linux-gnueabi/bin/ld: BFD (GNU Binutils) 2.22 assertion fail ../../../sources/binutils-2.22/bfd/elf32-arm.c:11477 /scratchbox/compilers/linaro-4.7-2012.07-fremantle-armv7a/bin/../lib/gcc/arm-none-linux-gnueabi/4.7.2/../../../../arm-none-linux-gnueabi/bin/ld: BFD (GNU Binutils) 2.22 assertion fail ../../../sources/binutils-2.22/bfd/elf32-arm.c:11477
I found this little project: http://altrepo.eu/git/purple-line.git/. After struggling for 3 hours to set up Thrift in Ubuntu I was able to compile and use it in Pidgin.
I have some experience in programming but not on Linux. Also none for N900.
So what do you think is it possible to cross compile this package for N900?
When someone has a ready to use cross compile Environment, can you try to compile it for maemo? =)
thanks
P.S. Hope it’s ok to post in very old threads.
SMS are cool, but sending them from Germany to Asia is also expensive .
And my first post!