Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: Building 0.94.1 on Solaris




There are a couple of issues building crossfire on Solaris 2.5.1 with
Sun's CC (SC 3.0.1):

sys/ttycom.h - is it really needed?  It doesn't exist on Solaris 2.x.

crossfire\"   -DLIBDIR=\"/opt/crossfire/lib\"   -c  c_object.c
cc  -g -I../include    -I/usr/openwin/include  -DSVR4 -DSYSV -DLONGJUMP
-DXpm_Pix -I/opt/lib/xpm/include       -DFONTDIR=\"/opt/crossfire/fonts\"
-DFONTNAME=\"crossfire\"   -DLIBDIR=\"/opt/crossfire/lib\"   -c  c_party.c
cc  -g -I../include    -I/usr/openwin/include  -DSVR4 -DSYSV -DLONGJUMP
-DXpm_Pix -I/opt/lib/xpm/include       -DFONTDIR=\"/opt/crossfire/fonts\"
-DFONTNAME=\"crossfire\"   -DLIBDIR=\"/opt/crossfire/lib\"   -c  c_wiz.c
"c_wiz.c", line 137: warning: statement not reached
cc  -g -I../include    -I/usr/openwin/include  -DSVR4 -DSYSV -DLONGJUMP
-DXpm_Pix -I/opt/lib/xpm/include       -DFONTDIR=\"/opt/crossfire/fonts\"
-DFONTNAME=\"crossfire\"   -DLIBDIR=\"/opt/crossfire/lib\"   -c
commands.c
make: Fatal error: Don't know how to make target `sys/ttycom.h'
Current working directory
/home/polycut.nss/usra/ed/crossfire/crossfire-0.94.1/server
*** Error code 1
make: Fatal error: Command failed for target `all'

deamon.c (and maybe others) include sys/ttycom.h with proper ifdef's but
it would seem that `make depend' might not be setting SVR4 correctly, so a
dependency on a non-existant file is generated in the Makefile.  I'm not
sure what's going on here.


In config/crosssite.def:

#if defined(SunArchitecture) && !defined(SunHasAcc)
#define StupidSunHeaders
#endif

This doesn't do the right thing on Solaris 2.5.1.  Defining
StupidSunHeaders on Solaris 2.5.1 (probably 2.3+) breaks the compile with
Sun's SC 3.0.1.  I'm not sure what we should do here... I just commented
it out for now.


+----------------------------------------------------------------------+
|Ed Phillips <ed@udel.edu> University of Delaware (302) 831-6082       |
|Systems Programmer II, Network and Systems Services                   |
|finger -l ed@polycut.nss.udel.edu for PGP public key                  |
+----------------------------------------------------------------------+

[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]