Subj : sqafix compilation errors To : Bo Simonsen From : mark lewis Date : Wed Nov 12 2003 12:17 am BS>>> It's fixed, should be time_t, damn I don't understand why my BS>>> version is working!! ml>> ok, i'll try another cvs retrieval and build... should only take 20 or ml>> 30 minutes or so... that is, if cvs is open and lets me in ;-) BS> It should be.. I don't know if sourceforge still have CVS BS> 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) .