Korythaiolos
-
Content count
8 -
Joined
-
Last visited
Posts posted by Korythaiolos
-
-
I’ve just tried compiling from CVS: Apparently, the gl_ext.h (old load_gl_extensions.h) stuff is fixed as it now checks for the GL version, but now I’m getting other kinds of errors:
EDIT: Ok, I’ve modified the Makefile to get rid of most errors, but these remain (and I have no idea why or how to fix that):
map.o(.text+0x9f6): In function `init_server_markers': : undefined reference to `cmp_fn_int' map.o(.text+0x9fb): In function `init_server_markers': : undefined reference to `hash_fn_int' books/fontdef.o(.text+0x7f8): In function `fd_load': : undefined reference to `LOG_ERROR' books/fontdef.o(.text+0x809): In function `fd_load': : undefined reference to `LOG_ERROR' books/fontdef.o(.text+0x81a): In function `fd_load': : undefined reference to `LOG_ERROR' books/fontdef.o(.text+0x835): In function `fd_load': : undefined reference to `LOG_ERROR' books/fontdef.o(.text+0x850): In function `fd_load': : undefined reference to `LOG_ERROR' books/fontdef.o(.text+0x86b): more undefined references to `LOG_ERROR' follow
EDIT2: Got the CVS client to compile. I had to:
#include "../errors.h" in books/fontdef.c
remove __inline__ from definition/declaration of [cmp|hash]_fn_[str|int] functions in hash.h as well as hash.c (why are these inline functions although they are used by map.c?)
-
The FreeBSD port of EL has recently been broken by the Mesa upgrade to 7.6.1 (set WITHOUT_NOUVEAU in /etc/make.conf). Can anyone else confirm this or is there an easy fix? :/
-
Ok, something strange is happening now. When I start the new client with the new data files in ~/.elc/, it’s exactly the same as with Nerdz and The_Saxman, the client doesn’t load at all. But when I use the new client with the old data files, it at least loads up (though without a cursor and weird looking maps).
-
The Binary can’t find libSDL_net, probably because I have a 64bit System and this was compiled on 32bit. Compiling from CVS works for me though.
Will there be rpm Packages for SuSE (Packman had some for 1.5.0-beta and a CVS from December 2007)?
-
I have a problem compiling the mapeditor too:
make -f Makefile.linux gcc -DLINUX -DMAP_EDITOR -DEYE_CANDY -DSFX -DNEW_E3D_FORMAT -DCLUSTER_INSIDES -DNEW_LIGHT_FORMAT -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DGTK2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -g -Wall -Wdeclaration-after-statement -c -o elconfig.o ../elc/elconfig.c ../elc/elconfig.c: In function ‘destroy_shadow_mapping’: ../elc/elconfig.c:192: warning: implicit declaration of function ‘free_shadow_framebuffer’ ../elc/elconfig.c: In function ‘destroy_fbos’: ../elc/elconfig.c:214: warning: implicit declaration of function ‘free_reflection_framebuffer’ ../elc/elconfig.c:215: warning: implicit declaration of function ‘minimap_free_framebuffer’ ../elc/elconfig.c: In function ‘build_fbos’: ../elc/elconfig.c:225: error: ‘use_frame_buffer’ undeclared (first use in this function) ../elc/elconfig.c:225: error: (Each undeclared identifier is reported only once ../elc/elconfig.c:225: error: for each function it appears in.) ../elc/elconfig.c: In function ‘read_el_ini’: ../elc/elconfig.c:1839: warning: implicit declaration of function ‘open_file_config’ ../elc/elconfig.c:1839: warning: initialization makes pointer from integer without a cast ../elc/elconfig.c: In function ‘write_el_ini’: ../elc/elconfig.c:1882: warning: assignment makes pointer from integer without a cast ../elc/elconfig.c:1900: warning: assignment makes pointer from integer without a cast make: *** [elconfig.o] Fehler 1
What’s wrong? Am I still missing a header file?
-
Oh right. SDL_net-devel to be precise .
Edit: Ok, got it to work, thanks. The Mapeditor won’t compile though (I’ll post in the Mapeditor thread).
-
I too am having some problems compiling the CVS client under Linux (SuSE 10.3 x86_64 with gcc 4.2). After installing all necessary *-devel-packages and editing the make.conf, I still get the following errors:
make -f Makefile.linux gcc -march=x86-64 -Wall -Wdeclaration-after-statement -O0 -ggdb -pipe -DLINUX -DELC -DALPHA_ACTORS -DCLUSTER_INSIDES -DCALCULATOR -DCACHE_ANIMATIONS -DCUSTOM_LOOK -DCUSTOM_UPDATE -DFUZZY_PATHS -DMASKING -DNEW_ACTOR_ANIMATION -DNEW_SOUND -DNEW_TEX -DPNG_SCREENSHOT -DPOPUP -DSIMPLE_LOD -DUSE_INLINE -DZLIB -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -fno-strict-aliasing -c -o actor_scripts.o actor_scripts.c In file included from actor_scripts.c:20: multiplayer.h:9:21: error: SDL_net.h: Datei oder Verzeichnis nicht gefunden In file included from actor_scripts.c:20: multiplayer.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘my_socket’ multiplayer.h:70: error: expected ‘)’ before ‘my_socket’ multiplayer.h:72: error: expected ‘)’ before ‘my_socket’ actor_scripts.c: In function ‘update_all_actors’: actor_scripts.c:1728: warning: implicit declaration of function ‘my_tcp_send’ actor_scripts.c:1728: error: ‘my_socket’ undeclared (first use in this function) actor_scripts.c:1728: error: (Each undeclared identifier is reported only once actor_scripts.c:1728: error: for each function it appears in.) make: *** [actor_scripts.o] Fehler 1
Any ideas?
FreeBSD Notes
in Linux
Posted · Edited by Korythaiolos · Report reply
...and here is the Makefile I used (not very nice yet, I’ve modified the above file to work with newer CVS clients; you also have to set some options in BSDmakefile.inc obviously). I’ll make it work with make.defaults though so that it can be committed to CVS as Makefile.bsd hopefully.
...and I just noticed that tabs get converted to spaces by the forum software. BSD’s make doesn’t like spaces; use tabs instead.