TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Bob Jones
from: Gerrit Kuehn
date: 2003-10-16 09:24:06
subject: Maximus

Hello Bob!

Oct 15 15:18 03, Bob Jones wrote to Gerrit Kuehn:

 GK>>                  from 
 GK>> /home/gerrit/source/fido/maximus/maximus/slib/dr.h:25,
 GK>>                  from s_abbs.c:33:
 GK>> /home/gerrit/source/fido/maximus/maximus/slib/typedefs.h
 GK>> 99: redefinition of `ushort'
 GK>> /usr/include/sys/types.h:56: `ushort' previously declared here
 GK>> s_abbs.c:21: warning: `rcs_id' defined but not used
 GK>> gmake[1]: *** [s_abbs.o] Error 1


 GK>> Seems to be so some things left to fix (at least for FreeBSD). :)

 BJ> Looks like you need to help us figure out what additional define is 
 BJ> needed for FreeBSD.  We probably have a define for Linux that you 
 BJ> aren't using under FreeBSD that will correct the problem.....

Well, actually it seems like I need less defines for FreeBSD. :)
You're including  in typedefs.h, where ushort is already
declared. I added

#if defined(__FreeBSD__)
# define HAVE_USHORT
#endif

in typedefs.h to overcome this problem.

Well, now it's stuck here:

squish.c:22: warning: ignoring pragma: )
In file included from /home/gerrit/source/fido/maximus/maximus/slib/typedefs.h:114,
                 from /home/gerrit/source/fido/maximus/maximus/slib/ffind.h:28,
                 from /home/gerrit/source/fido/maximus/maximus/slib/dr.h:25,
                 from squish.c:32:
/home/gerrit/source/fido/maximus/maximus/slib/hntypes.h:26: syntax error
before `USHORT'
/home/gerrit/source/fido/maximus/maximus/slib/hntypes.h:26: warning: type
defaults to `int' in declaration of `USHORT'
/home/gerrit/source/fido/maximus/maximus/slib/hntypes.h:26: warning: data
definition has no type or storage class
/home/gerrit/source/fido/maximus/maximus/slib/hntypes.h:30: syntax error
before `BOOL'
/home/gerrit/source/fido/maximus/maximus/slib/hntypes.h:30: warning: type
defaults to `int' in declaration of `BOOL'
/home/gerrit/source/fido/maximus/maximus/slib/hntypes.h:30: warning: data
definition has no type or storage class
In file included from squish.h:143,
                 from squish.c:36:
sqfeat.h:62: syntax error before `USHORT'
sqfeat.h:98: syntax error before `USHORT'
sqfeat.h:107: syntax error before `USHORT'
sqfeat.h:141: syntax error before `USHORT'
sqfeat.h:171: syntax error before `USHORT'
sqfeat.h:189: syntax error before `USHORT'
sqfeat.h:202: syntax error before `USHORT'
squish.c:50: warning: braces around scalar initializer
squish.c:50: warning: (near initialization for `ar.toscan')
squish.c:50: warning: missing braces around initializer
squish.c:50: warning: (near initialization for `ar.n')
squish.c:21: warning: `rcs_id' defined but not used
gmake[1]: *** [squish.o] Error 1
gmake[1]: Leaving directory `/home/gerrit/source/fido/maximus/maximus/squish'
gmake: *** [squish] Error 2



I don't get where the problem is right now. Syntax error? I'll have a look
at that one later (hopefully).


Regards,
Gerrit

--- Msged/BSD 6.1.1
* Origin: They threatened its life with a railway-share (2:2411/12)
SEEN-BY: 633/267 270
@PATH: 2411/12 413 2432/200 774/605 123/500 106/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™.