| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | maximus for Linux |
-=> Maurice Kinal wrote to Michele Marie Dalene <=-
MK> I am really wondering if it is that "awk" thing as from
what I saw of
MK> your
MK> logfile it was failing in the same location. Maybe try
MK> compiling/installing a
MK> recent version of gawk? That might do it.
Worth a shot. Ok, I will grab it fresh from gnu. or baring
that the latest Slackware source tree.: anyway heres the one I
currently have:
GNU Awk 3.0.6
I am compiling the very latest from GNU now.
No sqafix still dies in the same place. Heres the grungy
report from actually trying to compile in the sqafix directory. (it
seems to be stopping the whole show.)
/usr/bin/gcc -fPIC -funsigned-bitfields -Wcast-align -g -Wall -O -DUNIX
-DLINUX -I. -I/root/max2/maximus/unix/include -I/root/max2/maximus/slib
-I/root/max2/maximus/msgapi -I/root/max2/maximus/btree
-I/root/max2/maximus/max -I/root/max2/maximus/prot
-I/root/max2/maximus/mex -DINSTALL_PREFIX=\"/var/max\"
-DINSTALL_PREFIX=\"/var/max\" -c -o sqafix.o sqafix.c
In file included from dw-def.h:34,
from dw-lst.h:35,
from sqafix.h:63,
from sqafix.c:62:
dw-saa.h:293: parse error before string constant
dw-saa.h:293: stray '\' in program
dw-saa.h:294: undefined or invalid # directive
In file included from dw-lst.h:35,
from sqafix.h:63,
from sqafix.c:62:
dw-def.h:140: parse error before `USHORT'
dw-def.h:173: parse error before string constant
dw-def.h:173: stray '\' in program
dw-def.h:174: undefined or invalid # directive
In file included from sqafix.c:62:
sqafix.h:261: undefined or invalid # directive
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
make: *** [sqafix.o] Error 1
Heres the actual Makefile from maximus/sqafix
#
# SqaFix 0.99b8 port to Linux
#
# This makefile was taken from the GPL'ed Maximus code from the squish
# directory and modified to compile sqafix with the Maximus source code
# distributed under the GPL.
#
# Copyright 2003 R. F. Jones and Bo Simonsen
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Notes:
# Need to add installation of sqafix configuration files to the
# install portion of this script.
#
include ../vars.mk
MAINTARGETS := sqafix
EXTRATARGETS:=
MAINTARGETS += $(EXTRATARGETS)
EXTRA_LOADLIBES += -lmax -lmsgapi
.PHONY: all install install_libs install_binaries
all: $(MAINTARGETS)
SQUISH_OBJS := crc32.c \
lst-mngr.obj sqaarc.obj sqacfg.obj \
sqafix.obj sqamsg.obj \
sqastr.obj sqaexe.obj fnmerge.obj \
unixmisc.obj\
sqauti.obj
SQUISH_OBJS := $(SQUISH_OBJS:.obj=.o)
$(SQUISH_OBJS): sqafix.h
sqafix.o sqafix: CPPFLAGS += -DINSTALL_PREFIX=\"$(PREFIX)\"
sqafix: $(SQUISH_OBJS)
install: install_libs install_binaries
install_binaries: $(MAINTARGETS)
cp -f $^ $(BIN)
clean:
-rm -f $(MAINTARGETS) *.o
Please Note, I did this from maximus/sqafix it may not be the entire
story. But the compile STILL stops with an error of:
sqafix.c: At top level:
sqafix.c:218: warning: `DoCheckKey' defined but not used
sqafix.c:228: warning: `DoGetKey' defined but not used
gmake[1]: *** [sqafix.o] Error 1
gmake[1]: Leaving directory `/root/max2/maximus/sqafix'
make: *** [sqafix] Error 2
Would it be possible somehow to disable this part of the
package for now? I am really getting flustered that a areafix type
program would slam the brakes on the complete compile. What exactly is
the problem with sqafix?
I am cding into the max source directory and typing make to
see if this helps.. ahhh! Missing a header! heres the info from that
directory
/usr/bin/gcc -fPIC -funsigned-bitfields -Wcast-align -g -Wall -O
-USWAP -UOVERLAY_BUILD -DUNIX -DLINUX -I.
-I/root/max2/maximus/unix/include -I/root/max2/maximus/slib
-I/root/max2/maximus/msgapi -I/root/max2/maximus/btree
-I/root/max2/maximus/max -I/root/max2/maximus/prot
-I/root/max2/maximus/mex -I../lang -c -o mex.o mex.c
In file included from mex.c:35:
/root/max2/maximus/mex/mex.h:543: mex_tab.h: No such file or directory
make: *** [mex.o] Error 1
Anyone have mex_tab.h? seems to be the only fly in the ointment.
So other than the common warnings, when I cd'ed into the max
dirctory and typed make. this is the only show stopper. other than
sqafix issues.
Michele Marie Dalene
... "42? 7 and a half million years and all you can come up with is 42?!"
--- blueMail/Linux 0.11
--- SBBSecho 2.00-Linux
* Origin: Planet Maca's Opus (860)738-7176 300-33600bps (1:142/7176)SEEN-BY: 633/267 270 @PATH: 142/7176 928 906 106/1 2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.