Thread: [Plib-users] "make"ing in Cygwin
Brought to you by:
sjbaker
From: Tyler M. <TMi...@li...> - 2000-10-13 16:52:12
|
Just installed the whole shabang of Cygwin and now have run MAKE on the PLIB installation. Everything seems okay until part way through compiling slMOFfile. Below is a snippit of where the errors started and how the make process ended. Can anyone direct to me to rectify the problem? Tyler ..... /lib -c slMODfile.cxx slMODfile.cxx:9: parse error before `unsigned' slMODfile.cxx: In method `void MODfile::modToS3m(unsigned char (*)[4], Note *)': slMODfile.cxx:325: `transTab' undeclared (first use this function) slMODfile.cxx:325: (Each undeclared identifier is reported only once slMODfile.cxx:325: for each function it appears in.) slMODfile.cxx: In method `void MODfile::makeSampleInfo(int)': slMODfile.cxx:438: stray '\' in program slMODfile.cxx:438: invalid type argument of `unary *' slMODfile.cxx:438: parse error before `;' slMODfile.cxx:439: parse error before `)' slMODfile.cxx:439: stray '\' in program slMODfile.cxx:441: `lLen' undeclared (first use this function) slMODfile.cxx:444: stray '\' in program slMODfile.cxx:444: invalid type argument of `unary *' slMODfile.cxx:444: parse error before `;' slMODfile.cxx:456: parse error before `]' slMODfile.cxx:476: stray '\' in program slMODfile.cxx:476: invalid type argument of `unary *' slMODfile.cxx:476: parse error before `;' slMODfile.cxx:486: `pp0' undeclared (first use this function) slMODfile.cxx:500: `n' undeclared (first use this function) slMODfile.cxx:512: declaration of `int MODfile::update()' outside of class is no t definition slMODfile.cxx:512: parse error before `{' slMODfile.cxx:544: `return' with a value, in function returning void slMODfile.cxx:549: `return' with a value, in function returning void slMODfile.cxx:438: warning: unused variable `unsigned int len' slMODfile.cxx:555: declaration of `unsigned char * MODfile::read_whole_file(char *, int *)' outside of class is not definition slMODfile.cxx:555: parse error before `{' slMODfile.cxx:560: `fname' undeclared (first use this function) slMODfile.cxx:566: `return' with a value, in function returning void slMODfile.cxx:569: `statbuf' undeclared (first use this function) slMODfile.cxx:572: `return' with a value, in function returning void slMODfile.cxx:577: conflicting types for `unsigned char * p' slMODfile.cxx:425: previous declaration as `struct SampleInfo * p' slMODfile.cxx:581: `len' undeclared (first use this function) slMODfile.cxx:584: `return' with a value, in function returning void slMODfile.cxx:484: warning: `unsigned char * p' might be used uninitialized in t his function slMODfile.cxx: At top level: slMODfile.cxx:652: confused by earlier errors, bailing out make[2]: *** [slMODfile.o] Error 1 make[2]: Leaving directory `/plib/src/sl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/plib/src' make: *** [all-recursive] Error 1 ..... |
From: tjones <tj...@is...> - 2000-10-13 23:33:34
|
Hello What version of plib are you running. If its a version from cvs please let me know what day you downloaded it. I have been using cygwin and I have yet to run into this problem. Thanks Ben ----- Original Message ----- From: Tyler Mitchell <TMi...@li...> To: <pli...@li...> Sent: Friday, October 13, 2000 1:50 PM Subject: [Plib-users] "make"ing in Cygwin > Just installed the whole shabang of Cygwin and now have run MAKE on the > PLIB installation. > Everything seems okay until part way through compiling slMOFfile. Below is > a snippit of where the errors started and how the make process ended. Can > anyone direct to me to rectify the problem? > > Tyler > ..... > /lib -c slMODfile.cxx > slMODfile.cxx:9: parse error before `unsigned' > slMODfile.cxx: In method `void MODfile::modToS3m(unsigned char (*)[4], Note > *)': > > slMODfile.cxx:325: `transTab' undeclared (first use this function) > slMODfile.cxx:325: (Each undeclared identifier is reported only once > slMODfile.cxx:325: for each function it appears in.) > slMODfile.cxx: In method `void MODfile::makeSampleInfo(int)': > slMODfile.cxx:438: stray '\' in program > slMODfile.cxx:438: invalid type argument of `unary *' > slMODfile.cxx:438: parse error before `;' > slMODfile.cxx:439: parse error before `)' > slMODfile.cxx:439: stray '\' in program > slMODfile.cxx:441: `lLen' undeclared (first use this function) > slMODfile.cxx:444: stray '\' in program > slMODfile.cxx:444: invalid type argument of `unary *' > slMODfile.cxx:444: parse error before `;' > slMODfile.cxx:456: parse error before `]' > slMODfile.cxx:476: stray '\' in program > slMODfile.cxx:476: invalid type argument of `unary *' > slMODfile.cxx:476: parse error before `;' > slMODfile.cxx:486: `pp0' undeclared (first use this function) > slMODfile.cxx:500: `n' undeclared (first use this function) > slMODfile.cxx:512: declaration of `int MODfile::update()' outside of class > is no > t definition > slMODfile.cxx:512: parse error before `{' > slMODfile.cxx:544: `return' with a value, in function returning void > slMODfile.cxx:549: `return' with a value, in function returning void > slMODfile.cxx:438: warning: unused variable `unsigned int len' > slMODfile.cxx:555: declaration of `unsigned char * > MODfile::read_whole_file(char > *, int *)' outside of class is not definition > slMODfile.cxx:555: parse error before `{' > slMODfile.cxx:560: `fname' undeclared (first use this function) > slMODfile.cxx:566: `return' with a value, in function returning void > slMODfile.cxx:569: `statbuf' undeclared (first use this function) > slMODfile.cxx:572: `return' with a value, in function returning void > slMODfile.cxx:577: conflicting types for `unsigned char * p' > slMODfile.cxx:425: previous declaration as `struct SampleInfo * p' > slMODfile.cxx:581: `len' undeclared (first use this function) > slMODfile.cxx:584: `return' with a value, in function returning void > slMODfile.cxx:484: warning: `unsigned char * p' might be used uninitialized > in t > his function > slMODfile.cxx: At top level: > slMODfile.cxx:652: confused by earlier errors, bailing out > make[2]: *** [slMODfile.o] Error 1 > make[2]: Leaving directory `/plib/src/sl' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/plib/src' > make: *** [all-recursive] Error 1 > ..... > > _______________________________________________ > plib-users mailing list > pli...@li... > http://lists.sourceforge.net/mailman/listinfo/plib-users > > |
From: Norman V. <nh...@ca...> - 2000-10-16 21:42:06
|
Tyler Mitchell writes: > >Just installed the whole shabang of Cygwin and now have run MAKE on the >PLIB installation. >Everything seems okay until part way through compiling >slMOFfile. Below is >a snippit of where the errors started and how the make process >ended. Can >anyone direct to me to rectify the problem? Hi Tyler It appears as if you have a DOS vs Unix line end problem. This could be due to a number of things. I would suggest reinstalling the PLib source onto a drive which you know that Cygwin considers to be mounted as 'text'. Norman |