Problem Compiling

Help
2003-10-02
2003-11-12
  • Stan Larson
    Stan Larson
    2003-10-02

    This looks like a great tool.  My son has CP, so I'm very interested in getting skipper to work.

    I am having a compile problem on a Redhat 7.3 system...  I got fetival to install OK.  I then try to compile skipper, but get an error in the allgui directory.  Any thoughts on what could be causing this?

    make withvoice

    make[1]: Entering directory `/usr/local/build/skipper-src-1.6.0/allgui'
    g++ -pedantic -Wall -O3 -I /usr/X11R6/include -c skipstat.cpp
    skipstat.cpp: In function `void SetText (char *)':
    skipstat.cpp:67: `strlen' undeclared (first use this function)
    skipstat.cpp:67: (Each undeclared identifier is reported only once for
    each function it appears in.)
    skipstat.cpp: In function `void CallBack (int, void *)':
    skipstat.cpp:64: warning: `int Length' might be used uninitialized in
    this function
    skipstat.cpp:64: warning: `int Length' might be used uninitialized in
    this function
    skipstat.cpp: In function `Fl_Color CrackColor (char *)':
    skipstat.cpp:111: `strcmp' undeclared (first use this function)
    skipstat.cpp: In function `int main (int, char **)':
    skipstat.cpp:152: `strcpy' undeclared (first use this function)
    skipstat.cpp:64: warning: `int Length' might be used uninitialized in
    this function
    skipstat.cpp:64: warning: `int Length' might be used uninitialized in
    this function
    skipstat.cpp: In function `void SetText (char *)':
    skipstat.cpp:64: warning: `int Length' might be used uninitialized in
    this function
    make[1]: *** [skipstat.o] Error 1
    make[1]: Leaving directory `/usr/local/build/skipper-src-1.6.0/allgui'
    make: *** [withvoice] Error 2

     
    • Huntley Palmer
      Huntley Palmer
      2003-11-12

      I got compile errors on RH 8.0, forget specifics,
      until I installed the packages mentioned on Alan's
      instructions for installing suse.  On my rh8.0
      system I used synaptic ( or apt-get install ) to
      make sure I had: bison, flex, fltk, fltk-devl, mesa
      and x-devl.  I think g++ is named gpp nowadays,
      even on suse.
        Bit quiet in here, eh ?
      Cheers, P