Subscribe

Problem with compile latest xbt !

  1. 2010-08-02 14:27:13 PDT
    Problem with compile latest xbt ! ./make.sh ../misc/bvalue.cpp: In member function 'int Cbvalue::read(char*) const': ../misc/bvalue.cpp:326: error: 'sprintf' was not declared in this scope ../misc/socket.cpp: In static member function 'static std::string Csocket::error2a(int)': ../misc/socket.cpp:201: error: 'sprintf' was not declared in this scope i dont have idea what couse this i need help ! Linux distro gentoo latest all dependencies are installed and all of tham are stable ! Boost are 1.41 latest stable for gentoo ! Thanks
  2. 2010-08-02 15:29:49 PDT
    Is that the latest svn revision? Try to add #include <cstdio> somewhere at the top of those two .cpp files.
  3. 2010-08-03 01:25:16 PDT
    yap its latest svn ! Yesterday i recompile alll things for xbt and same ! Follow guide from here http://xbtt.sourceforge.net/tracker/ svn co https://xbtt.svn.sourceforge.net/svnroot/xbtt/trunk/xbt/misc xbt/misc svn co https://xbtt.svn.sourceforge.net/svnroot/xbtt/trunk/xbt/Tracker xbt/Tracker cd xbt/Tracker ./make.sh cp xbt_tracker.conf.default xbt_tracker.conf I dont found this #include <cstdio> or something similiar i look into files and doesnt found that i add on my own this line and i also get error ! Cant compile xbt !
  4. 2010-08-03 04:54:41 PDT
    What does g++ -v say? 4.4 works fine for me.
  5. 2010-08-03 04:58:18 PDT
    Just for information, I compiled the last version this morning with Ubuntu Server 10.04 TLS x64, no problem.
  6. 2010-08-03 05:11:21 PDT
    Both files were fixedin July, so you do not have the latest SVN revision!
  7. 2010-08-04 06:35:19 PDT
    I get few sec ago and this my revision via svn ! And still have problem ! I try to remove whole xbt folder and files and i will try again ! Checked out revision 2068.
  8. 2010-08-04 06:45:03 PDT
    Ok i solve this problem ! Its been perrmission problem that file not upgraded becouse somehow permission was 0644 for xbt to all files ! I set chmod 0777 start again and files was upgraded fine ! Also i run ./make.sh and now is ok ! Thanks olaf and & edtech !
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.