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

Compiling errors.



Hello again... Sorry for asking those stupid questions..
Wonder if the Norwegians is smarter than us Swedes, or
do they just 'make' stupid programs?? ;)

Well, I get some errors while make'ing the new version.

When depending... I get lots of those 'already have' errors.
It runs and I get to the prompt again...
Lots of stuff follows...

mda-www@orion: make depend
depending in ./common...
makedepend  -s "# DO NOT DELETE" -- -I../include   
-I/usr/openwin/include  -DSVR4 -DSYSV -DLONGJUMP       -DERIC_SERVER=0  
-DFONTDIR=\"/home/anarki/crossfire/fonts\" -DFONTNAME=\"crossfire\"   
-DLIBDIR=\"/home/anarki/crossfire/lib\" -- arch.c button.c exp.c friend.c 
glue.c info.c image.c  init.c item.c links.c living.c loader.c logger.c 
los.c ltostr.c map.c object.c porting.c player.c re-cmp.c shstr.c sqrt.c 
time.c treasure.c xutil.c
makedepend:  /usr/include/sys/types.h includes 
/usr/include/sys/feature_tests.h more than once!
makedepend:  Already have
makedepend:     /usr/include/sys/feature_tests.h
depending in ./doc...
depending in ./server...
makedepend  -s "# DO NOT DELETE" -- -I../include    
-I/usr/openwin/include  -DSVR4 -DSYSV -DLONGJUMP       -DERIC_SERVER=0  
-DFONTDIR=\"/home/anarki/crossfire/fonts\" -DFONTNAME=\"crossfire\"   
-DLIBDIR=\"/home/anarki/crossfire/lib\"  -- apply.c attack.c ban.c 
c_bind.c c_chat.c c_misc.c c_move.c c_new.c c_object.c c_party.c c_wiz.c 
commands.c daemon.c egoitem.c  encounter.c ericserver.c hiscore.c gods.c 
init.c input.c login.c main.c monster.c move.c newitem.c obwin.c pets.c 
player.c resurrection.c rune.c shop.c skills.c skill_util.c socket.c 
sounds.c spell_effect.c spell_util.c swamp.c swap.c time.c xio.c
makedepend:  /usr/include/sys/types.h includes 
/usr/include/sys/feature_tests.h more than once!
makedepend:  Already have
makedepend:     /usr/include/sys/feature_tests.h
makedepend:  daemon.c: makedepend:  cannot find include file "sys/ttycom.h"
makedepend:     not in sys/ttycom.h
makedepend:     not in ../include/sys/ttycom.h
makedepend:     not in /usr/openwin/include/sys/ttycom.h
makedepend:     not in /usr/include/sys/ttycom.h
makedepend:  cannot open "sys/ttycom.h"

----
What is depend anyway???

Ok, then I start the make..
(make Makefiles seems to work..

(I dont suppose that the make will work, the depend didn't work..

mda-www@orion: make
making all in ./common...
gcc -ansi -Wall  -DSYSV -DSVR4 -xF -Wa,-cg92 -I../include   
-I/usr/openwin/include  -DSVR4 -DSYSV -DLONGJUMP       -DERIC_SERVER=0  
-DFONTDIR=\"/home/anarki/crossfire/fonts\" -DFONTNAME=\"crossfire\"   
-DLIBDIR=\"/home/anarki/crossfire/lib\"  -c  arch.c
gcc: language F not recognized
In file included from /usr/include/sys/sysmacros.h:13,
                 from 
/usr/local/gnu/lib/gcc-lib/sparc-sun-sunos4.1.3/2.5.8/include/sys/types.h:19,
                 from /usr/include/fcntl.h:17,
                 from ../include/includes.h:62,
                 from ../include/global.h:35,
                 from arch.c:28:
/usr/local/gnu/lib/gcc-lib/sparc-sun-sunos4.1.3/2.5.8/include/sys/param.h:12: machine/param.h: No such file or directory
In file included from 
/usr/local/gnu/lib/gcc-lib/sparc-sun-sunos4.1.3/2.5.8/include/sys/types.h:19,
                 from /usr/include/fcntl.h:17,
                 from ../include/includes.h:62,
                 from ../include/global.h:35,
                 from arch.c:28:
/usr/include/sys/sysmacros.h:44: warning: `MIN' redefined
/usr/local/gnu/lib/gcc-lib/sparc-sun-sunos4.1.3/2.5.8/include/sys/param.h:156: warning: this is the location of the previous definition
/usr/include/sys/sysmacros.h:45: warning: `MAX' redefined
/usr/local/gnu/lib/gcc-lib/sparc-sun-sunos4.1.3/2.5.8/include/sys/param.h:159: warning: this is the location of the previous definition
*** Error code 1
make: Fatal error: Command failed for target `arch.o'
Current working directory /home/jupiter/anarki/crossfire-0.92.1/common
*** Error code 1
make: Fatal error: Command failed for target `all'

---

Well, it doesn't work...

Anyone got a tips??

I'm going to check include/sys for that strange thing that was missing..

Best regards

Mattias
           ,,,
          (o o)
+-----o0O--(_)--O0o------------------------------------------- 
|
| Mattias Goeransson
| 
| Phone: 070-734 77 67, 0457-161 50
| Internet: 
|	E-Mail: mda93mg@pt.hk-r.se
|       URL: http://www.pt.hk-r.se/~mda93mg.html
|
| HCI - Be sure to check out the MDA-WWW:
|     http://www.pt.hk-r.se/~mda-www/
|
+-------------------------------------------------------------