[CF-Devel] Crossfire doesn't compile on SuSE linux?

Yann Chachkoff yann.chachkoff at mailandnews.com
Sun Aug 25 06:11:20 CDT 2002


Mmmm...
Sounds like there's a problem with building the loader.l/loader.c file. Check
the content of the loader.c result - also check if the configure script
detected the correct parser.
It seems that a C file was generated indeed... But not in the correct way. As
a reference, I join my own loader.c for the current CVS, so you can compare
your results with mine (flex/lex used here is version 2.5.4).

I hope this can be of any use to you.

Le Dimanche 25 Août 2002 03:24, Andreas Vogl a écrit :
>
     
      I didn't compile the crossfire server for about a month.
     
     >
     
      Now I tried with today's CVS and I get several errors
     
     >
     
      of the following kind. Any ideas?
     
     >
     
     
     >
     
      My system is SuSE linux 7.0. It worked before and I didn't
     
     >
     
      change my system configuration since.
     
     >
     
     
     >
     
      Andreas
     
     >
     
      ---------------
     
     >
     
     
     >
     
      running ./collect without trouble
     
     >
     
      running make:
     
     >
     
      ....
     
     >
     
      reader.o: In function `rmap_lex_read':
     
     >
     
      /home/av/crossfire/crossfire/random_maps/reader.l:109: undefined
     
     >
     
      reference to `yyerror'
     
     >
     
      .../common/libcross.a(arch.o): In function `first_arch_pass':
     
     >
     
      /home/av/crossfire/crossfire/common/arch.c:386: undefined reference to
     
     >
     
      `load_object'
     
     >
     
      .../common/libcross.a(init.o): In function `init_library':
     
     >
     
      /home/av/crossfire/crossfire/common/init.c:127: undefined reference to
     
     >
     
      `init_vars'
     
     >
     
      .../common/libcross.a(map.o): In function `load_objects':
     
     >
     
      /home/av/crossfire/crossfire/common/map.c:596: undefined reference to
     
     >
     
      `load_object'
     
     >
     
      .../common/libcross.a(map.o): In function `save_objects':
     
     >
     
      /home/av/crossfire/crossfire/common/map.c:633: undefined reference to
     
     >
     
      `save_object'
     
     >
     
      .../common/libcross.a(map.o): In function `load_unique_objects':
     
     >
     
      /home/av/crossfire/crossfire/common/map.c:1094: undefined reference to
     
     >
     
      `load_object'
     
     >
     
      .../common/libcross.a(object.o): In function `dump_object2':
     
     >
     
      /home/av/crossfire/crossfire/common/object.c:220: undefined reference to
     
     >
     
      `get_ob_diff'
     
     >
     
      .../common/libcross.a(object.o): In function `dump_me':
     
     >
     
      /home/av/crossfire/crossfire/common/object.c:281: undefined reference to
     
     >
     
      `get_ob_diff'
     
     >
     
      .../common/libcross.a(object.o): In function `load_object_str':
     
     >
     
      /home/av/crossfire/crossfire/common/object.c:2115: undefined reference
     
     >
     
      to `load_object'
     
     >
     
      .../common/libcross.a(treasure.o): In function `init_artifacts':
     
     >
     
      /home/av/crossfire/crossfire/common/treasure.c:1165: undefined reference
     
     >
     
      to `load_object'
     
     >
     
      collect2: ld returned 1 exit status
     
     >
     
      make[2]: *** [random_map] Error 1
     
     >
     
      make[2]: Leaving directory `/home/av/crossfire/crossfire/random_maps'
     
     >
     
      make[1]: *** [../random_maps/random_map.a] Error 2
     
     >
     
      make[1]: Leaving directory `/home/av/crossfire/crossfire/server'
     
     >
     
      ....
     
     >
     
     
     >
     
     
     >
     
      _______________________________________________
     
     >
     
      crossfire-devel mailing list
     
     >
     
     
      crossfire-devel at lists.real-time.com
      
      
     >
     
     
      https://mailman.real-time.com/mailman/listinfo/crossfire-devel
      
      
     
Y. Chachkoff
------------------------------------------------
Help supporting JXFire ! (
     
     http://jxfire.sf.net
     
     )
------------------------------------------------


    
    


More information about the crossfire mailing list