Menu

Compile errors

Brent
2001-09-13
2001-09-16
  • Brent

    Brent - 2001-09-13

    Noticeing u have absolutely no feed back at all.
    So
    let me just say ur WOUNDERFUL program on a standard RedHat 7.1 installation DOESNT WORK
    getting round a few problems relating to my gcc and all but one worked fine
    Comm -- DONE
    FLTK -- DONE
    giFT -- DONE
    kazaa -- FAILED

    [root@elsia src]# make
    c++ -I./CommonC++-1.5.1/include/ -I./fltk-1.0.11/ -g uiNetwork.o gui.o CommonC++
    -1.5.1/lib/libccxx.a fltk-1.0.11/lib/libfltk.a main.cpp  \
    -L/usr/X11R6/lib -lX11 -lpthread -o halo-kazaa
    In file included from uiNetwork.hpp:2,
                     from gui.h:6,
                     from main.cpp:2:
    CommonC++-1.5.1/include/cc++/thread.h:189: syntax error before `;'
    make: *** [halo-kazaa] Error 1 

    SEEINGS how i know NOTHING about programing and little on scripting.... im stuck if i fix it it will be a god sent and ill send in how.. but a lil help would be great as i do not want to try and install WINE with the 18megs i have free on my beatin up HDD..
    thanx

     
    • Anonymous

      Anonymous - 2001-09-13

      you have to edit (vi) the file thread.h.
      At row 189 substitute:
      private:
      #ifdef HAVE_PTHREAD_RWLOCK
              pthread_rwlock_t _lock;
      #else
              pthread_mutex_t _lock;
      #endif

      withprivate:
      //#ifdef HAVE_PTHREAD_RWLOCK
              //pthread_rwlock_t _lock;
      //#else
              pthread_mutex_t _lock;
      //#endif

      Then it should be ok.

      Then i have to do congratulations for halo-kazaa client. It works very well.

      Bye

       
    • Seth Lakowske

      Seth Lakowske - 2001-09-14

      Thank you for calling attention to the problem.  The problem is with the CommonC++ ./configure script.  It misconfigures the package resulting in a small but bothersome error.  A even better fix is to comment out line 79 of the include file config.h(CommonC++-1.5.1/include/cc++/config.h). Then things should compile fine.  I decided to upload a version halo-kazaa-ezinst-0.0.3.tar.gz for people who have already installed the fltk and CommonC++ libraries on their systems.  Installation can be done by either using RPMs or the source code via make install.  I hope this helps.

       
    • Philip Walls

      Philip Walls - 2001-09-14

      Let me first say you're an asshole.
      Then let me say you're a dumbass.

      If you're so unpleased with this "WONDERFUL" program.. and "WINE" is too good for you, feel free to go back to windows. The people working on this project do it with their own time.. and not just for you. Also.. your use of caps to show sarcasm is rather immature, and digs at a few nerves.

       
    • shawn lamson

      shawn lamson - 2001-09-16

      Yes - I have debian potato and commenting out line
      79 in CommonC++-1.5.1/include/cc++/config.h,
      which is
      //#define HAVE_PTHREAD_RWLOCK 1
      (the // make it commented out )
      works... you do this after you config,make, and make install the CommonC++ but before you make the
      halo-kazaa   !!!! this worked to get the program up and running...
      I can't yet seem to complete a download though!
      See you, later
      madzimambo@yahoo.com

       

Log in to post a comment.

MongoDB Logo MongoDB