• sqafix compilation errors

    From mark lewis@1:3634/12 to Bo Simonsen on Monday, November 10, 2003 19:16:50
    293 #ifdef NDEBUG
    294 # define ASSERT(p) ((void)0)
    295 #else
    296 # define ASSERT(p) ((p) ? (void)0 : (void) fprintf(stderr, \
    297 "Assertion failed: %s, file %s, line %d\n\a",
    \
    298 #p, __FILE__, __LINE__ ) )
    299 #endif

    Hmmm.. I can't understand why my gcc didn't fault on that one!

    what did you see other than the \'s on 296 and 297? what other error is in there?

    Try to do a CVS checkout.

    that's how i got what i have now... i've about taken to blowing the whole tree and starting from scratch each time i retrieve the stuff from cvs...

    ((USHORT)0x0F00)

    No, the count of ( match the count of ), just the problem
    about \ in defines.

    right, i figured that out later...

    here're the lines in section 173/174 with line numbers added..

    169 #ifdef NDEBUG
    170 # define ASSERT(p) ((void)0)
    171 #else
    172 # define ASSERT(p) ((p) ? (void)0 : (void) AuxLog( \
    The problem -----^

    yup... in all three of those, from what i see...

    173 "Assertion failed: %s, file %s, line %d", \
    174 #p, __FILE__, __LINE__ ) )
    175 #endif

    [trim]

    What version of gcc do you use?

    2.95.3 on mandrake 7.1 (helium)...

    )\/(ark


    * Origin: (1:3634/12)
  • From mark lewis@1:3634/12 to Bo Simonsen on Monday, November 10, 2003 19:18:14
    function `DoFormatMSGID':
    sqamsg.c:126: `timer_t' undeclared (first
    use in this function)
    sqamsg.c:126: (Each undeclared identifier is
    reported only once
    sqamsg.c:126: for each function it appears
    in.) sqamsg.c:126: parse error before `t' sqamsg.c:156: `t'
    undeclared

    It's fixed, should be time_t, damn I don't understand why my
    version is working!!

    ok, i'll try another cvs retrieval and build... should only take 20 or 30 minutes or so... that is, if cvs is open and lets me in ;-)

    )\/(ark


    * Origin: (1:3634/12)
  • From Bo Simonsen@2:236/100 to mark lewis on Tuesday, November 11, 2003 15:28:12
    Hello mark!

    10 Nov 03 19:16, you wrote to me:

    Hmmm.. I can't understand why my gcc didn't fault on that one!

    what did you see other than the \'s on 296 and 297? what other error
    is in there?

    It did look like you posted.. It should be corrected now, I did commit to the CVS late last night.

    Try to do a CVS checkout.

    that's how i got what i have now... i've about taken to blowing the
    whole tree and starting from scratch each time i retrieve the stuff
    from cvs...

    Okay..

    ((USHORT)0x0F00)

    No, the count of ( match the count of ), just the problem
    about \ in defines.

    right, i figured that out later...

    here're the lines in section 173/174 with line numbers added..

    169 #ifdef NDEBUG
    170 # define ASSERT(p) ((void)0)
    171 #else
    172 # define ASSERT(p) ((p) ? (void)0 : (void) AuxLog( \
    The problem -----^

    yup... in all three of those, from what i see...

    It should be fixed in the CVS repostery.

    173 "Assertion failed: %s, file %s, line
    %d", \ 174 #p, __FILE__, __LINE__ ) ) 175
    #endif

    [trim]

    What version of gcc do you use?

    2.95.3 on mandrake 7.1 (helium)...

    Very wierd, I'm using Debian 3.0 which is using the same compiler.

    Regards,
    Bo

    --- GoldED+/LNX 1.1.4.7
    * Origin: The Night Express - Roennede, Dk (2:236/100)
  • From Bo Simonsen@2:236/100 to mark lewis on Tuesday, November 11, 2003 15:29:56
    Hello mark!

    10 Nov 03 19:18, you wrote to me:

    It's fixed, should be time_t, damn I don't understand why my
    version is working!!

    ok, i'll try another cvs retrieval and build... should only take 20 or
    30 minutes or so... that is, if cvs is open and lets me in ;-)

    It should be.. I don't know if sourceforge still have CVS problems..

    Regards,
    Bo

    --- GoldED+/LNX 1.1.4.7
    * Origin: The Night Express - Roennede, Dk (2:236/100)
  • From mark lewis@1:3634/12 to Bo Simonsen on Wednesday, November 12, 2003 00:17:04
    It's fixed, should be time_t, damn I don't understand why my
    version is working!!

    ok, i'll try another cvs retrieval and build... should only take 20 or
    30 minutes or so... that is, if cvs is open and lets me in ;-)

    It should be.. I don't know if sourceforge still have CVS
    problems..

    it got further... sqastr.c is full of \'s too ;-(

    [trim a lot]
    gmake[1]: Entering directory `/opt/maximus/sqafix'
    Building dependencies..
    gmake[1]: [depend.mk] Error 1 (ignored)
    gmake[1]: Leaving directory `/opt/maximus/sqafix'
    gmake[1]: Entering directory `/opt/maximus/sqafix'
    /usr/bin/gcc -fPIC -funsigned-bitfields -Wcast-align -g -Wall -O -DUNIX -DLINUX -I. -I/opt/maximus/unix/include -I/opt/maximus/slib -I/opt/maximus/msgapi -I/opt/maximus/btree -I/opt/maximus/max -I/opt/maximus/prot -I/opt/maximus/mex -DINSTALL_PREFIX=\"/opt/max\" -DINSTALL_PREFIX=\"/opt/max\" -c -o sqafix.o sqafix.c
    sqafix.c:139: warning: missing braces around initializer
    sqafix.c:139: warning: (near initialization for `aCmdReqTab[0]')
    sqafix.c:189: warning: missing braces around initializer
    sqafix.c:189: warning: (near initialization for `aRemReqTab[0]')
    sqafix.c: In function `DoCheckKey':
    sqafix.c:225: warning: control reaches end of non-void function
    sqafix.c: In function `DoShowHelp':
    sqafix.c:283: warning: unused variable `tm'
    sqafix.c: In function `DoRunManualMode':
    sqafix.c:864: warning: pointer type mismatch in conditional expression sqafix.c: In function `DoGetRemCmdParam':
    sqafix.c:1019: warning: pointer type mismatch in conditional expression sqafix.c: In function `DoFakeAutoCreate':
    sqafix.c:1523: warning: `pszArea' might be used uninitialized in this function sqafix.c: In function `DoSetDayNumLimit':
    sqafix.c:1689: warning: missing braces around initializer
    sqafix.c:1689: warning: (near initialization for `aflg[0]')
    sqafix.c: In function `DoExecMaint':
    sqafix.c:1747: warning: implicit declaration of function `spawnlp' sqafix.c:1724: warning: unused variable `tmp'
    sqafix.c: In function `DoDumpNodeInfo':
    sqafix.c:1833: warning: missing braces around initializer
    sqafix.c:1833: warning: (near initialization for `afs[0]')
    sqafix.c: In function `DoDumpUplinkInfo':
    sqafix.c:1934: warning: missing braces around initializer
    sqafix.c:1934: warning: (near initialization for `afs[0]')
    sqafix.c: In function `DoDumpAreaInfo':
    sqafix.c:2024: warning: missing braces around initializer
    sqafix.c:2024: warning: (near initialization for `afs[0]')
    sqafix.c: In function `main':
    sqafix.c:2132: warning: passing arg 2 of `DoInitSqaFix' from incompatible pointer type
    sqafix.c:2173: warning: passing arg 2 of `DoNotifyNodeAllLinks' from incompatible pointer type
    sqafix.c:2174: warning: passing arg 2 of `DoAutoCreateNewAreas' from incompatible pointer type
    sqafix.c:2175: warning: passing arg 2 of `DoRunMaintenance' from incompatible pointer type
    sqafix.c:2176: warning: passing arg 2 of `DoSyncCfgFiles' from incompatible pointer type
    sqafix.c:2178: warning: passing arg 2 of `DoDumpNode' from incompatible pointer
    type
    sqafix.c:2179: warning: passing arg 2 of `DoDumpUplink' from incompatible pointer type
    sqafix.c:2180: warning: passing arg 2 of `DoDumpArea' from incompatible pointer
    type
    sqafix.c:2182: warning: passing arg 2 of `DoRunManualMode' from incompatible pointer type
    sqafix.c: At top level:
    sqafix.c:218: warning: `DoCheckKey' defined but not used
    sqafix.c:228: warning: `DoGetKey' defined but not used
    /usr/bin/gcc -fPIC -funsigned-bitfields -Wcast-align -g -Wall -O -DUNIX -DLINUX -I. -I/opt/maximus/unix/include -I/opt/maximus/slib -I/opt/maximus/msgapi -I/opt/maximus/btree -I/opt/maximus/max -I/opt/maximus/prot -I/opt/maximus/mex -DINSTALL_PREFIX=\"/opt/max\" -c -o lst-mngr.o lst-mngr.c
    /usr/bin/gcc -fPIC -funsigned-bitfields -Wcast-align -g -Wall -O -DUNIX -DLINUX -I. -I/opt/maximus/unix/include -I/opt/maximus/slib -I/opt/maximus/msgapi -I/opt/maximus/btree -I/opt/maximus/max -I/opt/maximus/prot -I/opt/maximus/mex -DINSTALL_PREFIX=\"/opt/max\" -c -o sqaarc.o sqaarc.c
    sqaarc.c: In function `LoadArcSpec':
    sqaarc.c:225: warning: suggest explicit braces to avoid ambiguous `else' /usr/bin/gcc -fPIC -funsigned-bitfields -Wcast-align -g -Wall -O -DUNIX -DLINUX -I. -I/opt/maximus/unix/include -I/opt/maximus/slib -I/opt/maximus/msgapi -I/opt/maximus/btree -I/opt/maximus/max -I/opt/maximus/prot -I/opt/maximus/mex -DINSTALL_PREFIX=\"/opt/max\" -c -o sqacfg.o sqacfg.c
    sqacfg.c:125: warning: missing braces around initializer
    sqacfg.c:125: warning: (near initialization for `atabSqaf[0]')
    sqacfg.c:210: warning: missing braces around initializer
    sqacfg.c:210: warning: (near initialization for `atabSqsh[0]')
    sqacfg.c: In function `DoSqafAreaListSaveFile':
    sqacfg.c:1291: warning: `cch' might be used uninitialized in this function sqacfg.c: In function `DoScanSqafLine':
    sqacfg.c:2548: warning: suggest explicit braces to avoid ambiguous `else' sqacfg.c: In function `DoScanSqshLine':
    sqacfg.c:3025: warning: suggest explicit braces to avoid ambiguous `else' sqacfg.c: In function `DoUpdateEchoArea':
    sqacfg.c:3162: warning: `cchText' might be used uninitialized in this function sqacfg.c: In function `DoWriteNewAreas':
    sqacfg.c:3283: warning: pointer type mismatch in conditional expression sqacfg.c:3283: warning: char format, void arg (arg 7)
    sqacfg.c: In function `ScanCfgFile':
    sqacfg.c:3592: warning: suggest explicit braces to avoid ambiguous `else' sqacfg.c: In function `UpdateCfgFile':
    sqacfg.c:3864: warning: suggest explicit braces to avoid ambiguous `else' /usr/bin/gcc -fPIC -funsigned-bitfields -Wcast-align -g -Wall -O -DUNIX -DLINUX -I. -I/opt/maximus/unix/include -I/opt/maximus/slib -I/opt/maximus/msgapi -I/opt/maximus/btree -I/opt/maximus/max -I/opt/maximus/prot -I/opt/maximus/mex -DINSTALL_PREFIX=\"/opt/max\" -c -o sqamsg.o sqamsg.c
    sqamsg.c: In function `GetMsgKludge':
    sqamsg.c:907: warning: `cchText' might be used uninitialized in this function sqamsg.c: In function `LogMsg':
    sqamsg.c:1046: warning: missing braces around initializer
    sqamsg.c:1046: warning: (near initialization for `aAttr[0]')
    /usr/bin/gcc -fPIC -funsigned-bitfields -Wcast-align -g -Wall -O -DUNIX -DLINUX -I. -I/opt/maximus/unix/include -I/opt/maximus/slib -I/opt/maximus/msgapi -I/opt/maximus/btree -I/opt/maximus/max -I/opt/maximus/prot -I/opt/maximus/mex -DINSTALL_PREFIX=\"/opt/max\" -c -o sqastr.o sqastr.c
    sqastr.c:40: stray '\' in program
    sqastr.c:44: parse error before `if'
    sqastr.c:44: stray '\' in program
    sqastr.c:45: stray '\' in program
    sqastr.c:46: warning: type defaults to `int' in declaration of `DoAbort' sqastr.c:46: warning: data definition has no type or storage class
    sqastr.c:46: stray '\' in program
    sqastr.c:47: parse error before `}'
    sqastr.c:47: stray '\' in program
    sqastr.c:54: conflicting types for `DoAbort'
    sqastr.c:46: previous declaration of `DoAbort'
    sqastr.c: In function `x_strlen':
    sqastr.c:67: stray '\' in program
    sqastr.c: In function `x_strcpy':
    sqastr.c:73: stray '\' in program
    sqastr.c:74: stray '\' in program
    sqastr.c: In function `x_strncpy':
    sqastr.c:80: stray '\' in program
    sqastr.c:81: stray '\' in program
    sqastr.c: In function `x_strcat':
    sqastr.c:87: stray '\' in program
    sqastr.c:88: stray '\' in program
    sqastr.c: In function `x_strncat':
    sqastr.c:94: stray '\' in program
    sqastr.c:95: stray '\' in program
    sqastr.c: In function `x_strcmp':
    sqastr.c:101: stray '\' in program
    sqastr.c:102: stray '\' in program
    sqastr.c: In function `x_stricmp':
    sqastr.c:108: stray '\' in program
    sqastr.c:109: stray '\' in program
    sqastr.c: In function `x_strlwr':
    sqastr.c:115: stray '\' in program
    sqastr.c: In function `x_strupr':
    sqastr.c:121: stray '\' in program
    sqastr.c: In function `x_strchr':
    sqastr.c:127: stray '\' in program
    sqastr.c: In function `x_strrchr':
    sqastr.c:133: stray '\' in program
    sqastr.c: In function `x_strstr':
    sqastr.c:139: stray '\' in program
    sqastr.c:140: stray '\' in program
    sqastr.c: In function `x_strtok':
    sqastr.c:146: stray '\' in program
    sqastr.c:147: stray '\' in program
    sqastr.c: In function `x_memchr':
    sqastr.c:157: stray '\' in program
    sqastr.c: In function `x_memset':
    sqastr.c:163: stray '\' in program
    sqastr.c: In function `x_memcmp':
    sqastr.c:169: stray '\' in program
    sqastr.c:170: stray '\' in program
    sqastr.c: In function `x_memicmp':
    sqastr.c:176: stray '\' in program
    sqastr.c:177: stray '\' in program
    sqastr.c: In function `x_memcpy':
    sqastr.c:183: stray '\' in program
    sqastr.c:184: stray '\' in program
    sqastr.c: In function `x_memmove':
    sqastr.c:190: stray '\' in program
    sqastr.c:191: stray '\' in program
    sqastr.c: At top level:
    sqastr.c:40: warning: `achNull' defined but not used
    sqastr.c:54: warning: `DoAbort' defined but not used
    gmake[1]: *** [sqastr.o] Error 1
    gmake[1]: Leaving directory `/opt/maximus/sqafix'
    cd sqafix && /usr/bin/gmake
    gmake[1]: Entering directory `/opt/maximus/sqafix'
    /usr/bin/gcc -fPIC -funsigned-bitfields -Wcast-align -g -Wall -O -DUNIX -DLINUX -I. -I/opt/maximus/unix/include -I/opt/maximus/slib -I/opt/maximus/msgapi -I/opt/maximus/btree -I/opt/maximus/max -I/opt/maximus/prot -I/opt/maximus/mex -DINSTALL_PREFIX=\"/opt/max\" -c -o sqastr.o sqastr.c
    sqastr.c:40: stray '\' in program
    sqastr.c:44: parse error before `if'
    sqastr.c:44: stray '\' in program
    sqastr.c:45: stray '\' in program
    sqastr.c:46: warning: type defaults to `int' in declaration of `DoAbort' sqastr.c:46: warning: data definition has no type or storage class
    sqastr.c:46: stray '\' in program
    sqastr.c:47: parse error before `}'
    sqastr.c:47: stray '\' in program
    sqastr.c:54: conflicting types for `DoAbort'
    sqastr.c:46: previous declaration of `DoAbort'
    sqastr.c: In function `x_strlen':
    sqastr.c:67: stray '\' in program
    sqastr.c: In function `x_strcpy':
    sqastr.c:73: stray '\' in program
    sqastr.c:74: stray '\' in program
    sqastr.c: In function `x_strncpy':
    sqastr.c:80: stray '\' in program
    sqastr.c:81: stray '\' in program
    sqastr.c: In function `x_strcat':
    sqastr.c:87: stray '\' in program
    sqastr.c:88: stray '\' in program
    sqastr.c: In function `x_strncat':
    sqastr.c:94: stray '\' in program
    sqastr.c:95: stray '\' in program
    sqastr.c: In function `x_strcmp':
    sqastr.c:101: stray '\' in program
    sqastr.c:102: stray '\' in program
    sqastr.c: In function `x_stricmp':
    sqastr.c:108: stray '\' in program
    sqastr.c:109: stray '\' in program
    sqastr.c: In function `x_strlwr':
    sqastr.c:115: stray '\' in program
    sqastr.c: In function `x_strupr':
    sqastr.c:121: stray '\' in program
    sqastr.c: In function `x_strchr':
    sqastr.c:127: stray '\' in program
    sqastr.c: In function `x_strrchr':
    sqastr.c:133: stray '\' in program
    sqastr.c: In function `x_strstr':
    sqastr.c:139: stray '\' in program
    sqastr.c:140: stray '\' in program
    sqastr.c: In function `x_strtok':
    sqastr.c:146: stray '\' in program
    sqastr.c:147: stray '\' in program
    sqastr.c: In function `x_memchr':
    sqastr.c:157: stray '\' in program
    sqastr.c: In function `x_memset':
    sqastr.c:163: stray '\' in program
    sqastr.c: In function `x_memcmp':
    sqastr.c:169: stray '\' in program
    sqastr.c:170: stray '\' in program
    sqastr.c: In function `x_memicmp':
    sqastr.c:176: stray '\' in program
    sqastr.c:177: stray '\' in program
    sqastr.c: In function `x_memcpy':
    sqastr.c:183: stray '\' in program
    sqastr.c:184: stray '\' in program
    sqastr.c: In function `x_memmove':
    sqastr.c:190: stray '\' in program
    sqastr.c:191: stray '\' in program
    sqastr.c: At top level:
    sqastr.c:40: warning: `achNull' defined but not used
    sqastr.c:54: warning: `DoAbort' defined but not used
    gmake[1]: *** [sqastr.o] Error 1
    gmake[1]: Leaving directory `/opt/maximus/sqafix'
    make: *** [sqafix] Error 2

    )\/(ark


    * Origin: (1:3634/12)
  • From Bo Simonsen@2:236/100 to mark lewis on Wednesday, November 12, 2003 22:27:26
    Hello mark!

    12 Nov 03 00:17, you wrote to me:

    It's fixed, should be time_t, damn I don't understand why my
    version is working!!

    ok, i'll try another cvs retrieval and build... should only take
    20 or 30 minutes or so... that is, if cvs is open and lets me in
    ;-)

    It should be.. I don't know if sourceforge still have CVS
    problems..

    it got further... sqastr.c is full of \'s too ;-(

    I _really_ don't understand it.. You're scure of there ain't Carrige Return in the source file?

    Regards,
    Bo

    --- GoldED+/LNX 1.1.4.7
    * Origin: The Night Express - Roennede, Dk (2:236/100)
  • From mark lewis@1:3634/12 to Bo Simonsen on Friday, November 14, 2003 01:59:28
    it got further... sqastr.c is full of \'s too ;-(

    I _really_ don't understand it.. You're scure of there ain't
    Carrige Return in the source file?

    i haven't looked... the files are straight off sourceforge... the linux box goes and grabs them and haves at them... i don't pull anything *nix oriented on
    anything other than a *nix box unless i'm going to try to compile it with EMX on OS2 and see if it works...

    )\/(ark


    * Origin: (1:3634/12)
  • From Bo Simonsen@2:236/100 to mark lewis on Friday, November 14, 2003 15:26:29
    Hello mark!

    Nov 14 01:59 03, mark lewis wrote to Bo Simonsen:

    it got further... sqastr.c is full of \'s too ;-(

    I _really_ don't understand it.. You're scure of there ain't
    Carrige Return in the source file?

    i haven't looked... the files are straight off sourceforge... the
    linux box goes and grabs them and haves at them... i don't pull
    anything *nix oriented on anything other than a *nix box unless i'm
    going to try to compile it with EMX on OS2 and see if it works...

    Very good, I would presuiate if you gave me a compile log too, because I doubt that we/I did remember #ifdef UNIX every place.

    Regards,
    Bo

    --- Msged/LNX 6.1.2 (Linux/2.4.18-bf2.4 (i586))
    * Origin: The Night Express, Roennede Dk (2:236/100)
  • From mark lewis@1:3634/12 to Bo Simonsen on Friday, November 14, 2003 19:44:46
    it got further... sqastr.c is full of \'s too ;-(

    I _really_ don't understand it.. You're scure of there ain't
    Carrige Return in the source file?

    i haven't looked... the files are straight off sourceforge... the
    linux box goes and grabs them and haves at them... i don't pull
    anything *nix oriented on anything other than a *nix box unless i'm
    going to try to compile it with EMX on OS2 and see if it works...

    Very good, I would presuiate if you gave me a compile log too,
    because I doubt that we/I did remember #ifdef UNIX every
    place.

    i'm starting it all again, right now at the timestamp on this message... just deleted the maximus directory and unzippes the max-3.03-etc.tar.gz file and now
    my script is pulling it all from cvs again...

    )\/(ark


    * Origin: (1:3634/12)
  • From Bo Simonsen@2:236/100 to mark lewis on Sunday, November 16, 2003 00:19:05
    Hello mark!

    Nov 14 19:44 03, mark lewis wrote to Bo Simonsen:

    i haven't looked... the files are straight off sourceforge... the
    linux box goes and grabs them and haves at them... i don't pull
    anything *nix oriented on anything other than a *nix box unless i'm
    going to try to compile it with EMX on OS2 and see if it works...

    Very good, I would presuiate if you gave me a compile log too,
    because I doubt that we/I did remember #ifdef UNIX every
    place.

    i'm starting it all again, right now at the timestamp on this
    message... just deleted the maximus directory and unzippes the max-3.03-etc.tar.gz file and now my script is pulling it all from cvs again...

    Okay. A checkout should do it :-)

    Regards,
    Bo

    --- Msged/LNX 6.1.2 (Linux/2.4.18-bf2.4 (i586))
    * Origin: The Night Express, Roennede Dk (2:236/100)
  • From mark lewis@1:3634/12 to Bo Simonsen on Sunday, November 16, 2003 12:46:18
    i'm starting it all again, right now at the timestamp on this
    message... just deleted the maximus directory and unzippes the
    max-3.03-etc.tar.gz file and now my script is pulling it all from cvs
    again...

    Okay. A checkout should do it :-)

    had to do a bit of surgery on sqastr.c and sqaexe.c...

    tr "\015" "\040" < sqastr.c > sqastr.c2
    mv sqastr.c sqastr.c1
    mv sqastr.c2 sqastr.c
    tr "\015" "\040" < sqaexe.c > sqaexe.c2
    mv sqaexe.c sqaexe.c1
    mv sqaexe.c2 sqaexe.c

    then sqastr.c required additional editing to recombine the lines continued by \
    on the end of them...

    after doing that, i'm am apparently getting a complete compile process as my maxbuild.log file is now ending with..

    Build Complete; edit your control files and 'make install'


    i can't tell you what lines contain the ^M in those two source files as i was unable to get grep to look for that character... and i have no idea about the \
    continuation lines problem... is there some setting for gcc or something that i
    may be able to look at and adjust??


    )\/(ark


    * Origin: (1:3634/12)
  • From Bo Simonsen@2:236/100 to mark lewis on Tuesday, November 18, 2003 16:30:36
    Hello mark!

    Nov 16 12:46 03, mark lewis wrote to Bo Simonsen:

    i'm starting it all again, right now at the timestamp on this
    message... just deleted the maximus directory and unzippes the
    max-3.03-etc.tar.gz file and now my script is pulling it all from
    cvs again...

    Okay. A checkout should do it :-)

    had to do a bit of surgery on sqastr.c and sqaexe.c...

    tr "\015" "\040" < sqastr.c > sqastr.c2
    mv sqastr.c sqastr.c1
    mv sqastr.c2 sqastr.c
    tr "\015" "\040" < sqaexe.c > sqaexe.c2
    mv sqaexe.c sqaexe.c1
    mv sqaexe.c2 sqaexe.c

    then sqastr.c required additional editing to recombine the lines continued by \ on the end of them...

    Ahh okay.

    after doing that, i'm am apparently getting a complete compile
    process as my maxbuild.log file is now ending with..

    Build Complete; edit your control files and 'make install'

    Okay, that's good, you did just remove the \ ?

    i can't tell you what lines contain the ^M in those two source files
    as i was unable to get grep to look for that character... and i have
    no idea about the \ continuation lines problem... is there some
    setting for gcc or something that i may be able to look at and
    adjust??

    I don't have the DOS to Unix program at my hand.. But a tr -d '\r' < infile > outfile might do it.

    Regards,
    Bo

    --- Msged/LNX 6.1.2 (Linux/2.4.18-586tsc (i586))
    * Origin: The Night Express, Roennede Dk (2:236/100)