TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Russell Tiedt
from: andrew clarke
date: 2003-12-10 23:54:14
subject: Filetransfer

Sun 2003-12-07 06:19, Russell Tiedt (5:7105/1) wrote to andrew clarke:

 RT>>> While I have your attention, did you ever get Maximus to compile
 RT>>> on FreeBSD?

 RT> Could you please explain how you did it, please

Well, turns out the tarball on SourceForge won't compile under FreeBSD.  I
must've compiled it from an earlier version, possibly from a CVS checkout.

$fetch http://flow.dl.sourceforge.net/sourceforge/maximus/max-unix-3.03b.tar.gz
$fetch http://flow.dl.sourceforge.net/sourceforge/maximus/max-3.03-etc.tar.gz
$tar zxf max-unix-3.03b.tar.gz
$tar zxf max-3.03-etc.tar.gz 
$cd maximus
$./configure
...

Testing your build environment..

Testing your version of GNU make: /usr/local/bin/gmake
 - Looks fine to me! (version 3.80)
Testing your C compiler..
 - Looks fine to me!
Determining platform endianness..
 - Chose LITTLE_ENDIAN
Testing size of stamp_combo..
 - Looks fine to me!

Configuration complete.

...

$gmake build |& tee errors

...

$ls -l errors
-rw-r--r--  1 fidonet  fidonet  107745 Dec 11 00:48 errors
$tail -20 errors
squish.c:50: warning: (near initialization for `ar.toscan')
/usr/bin/gcc -funsigned-bitfields -Wcast-align -DUNIX -DHAVE_TIMER_T -DBSD
-I.  -I/usr/home/fidonet/src/maximus/unix/include 
-I/usr/home/fidonet/src/maximus/slib 
-I/usr/home/fidonet/src/maximus/msgapi 
-I/usr/home/fidonet/src/maximus/btree  -I/usr/home/fidonet/src/maximus/max 
-I/usr/home/fidonet/src/maximus/prot  -I/usr/home/fidonet/src/maximus/mex  
-c -o s_abbs.o s_abbs.c
In file included from /usr/home/fidonet/src/maximus/slib/ffind.h:28,
                 from /usr/home/fidonet/src/maximus/slib/dr.h:25,
                 from s_abbs.c:33:
/usr/home/fidonet/src/maximus/slib/typedefs.h:99: redefinition of `ushort'
/usr/include/sys/types.h:56: `ushort' previously declared here
gmake[1]: *** [s_abbs.o] Error 1
gmake[1]: Leaving directory `/usr/home/fidonet/src/maximus/squish'
cd squish && /usr/local/bin/gmake
gmake[1]: Entering directory `/usr/home/fidonet/src/maximus/squish'
/usr/bin/gcc -funsigned-bitfields -Wcast-align -DUNIX -DHAVE_TIMER_T -DBSD
-I.  -I/usr/home/fidonet/src/maximus/unix/include 
-I/usr/home/fidonet/src/maximus/slib 
-I/usr/home/fidonet/src/maximus/msgapi 
-I/usr/home/fidonet/src/maximus/btree  -I/usr/home/fidonet/src/maximus/max 
-I/usr/home/fidonet/src/maximus/prot  -I/usr/home/fidonet/src/maximus/mex  
-c -o s_abbs.o s_abbs.c
In file included from /usr/home/fidonet/src/maximus/slib/ffind.h:28,
                 from /usr/home/fidonet/src/maximus/slib/dr.h:25,
                 from s_abbs.c:33:
/usr/home/fidonet/src/maximus/slib/typedefs.h:99: redefinition of `ushort'
/usr/include/sys/types.h:56: `ushort' previously declared here
gmake[1]: *** [s_abbs.o] Error 1
gmake[1]: Leaving directory `/usr/home/fidonet/src/maximus/squish'
gmake: *** [squish] Error 2

-- mail{at}ozzmosis.com

--- timEd/FreeBSD 1.11.b1
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
SEEN-BY: 633/267 270
@PATH: 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™.