penguinflyer5234 wrote:Remove quest.c from the list in game/Makefile, you may also have to add any files Zefz/bgbirdsey has added but not to the Makefile
I am in :-
Code: Select all
/usr/local/src/egoboo-src/egoboo-stable/game$ $ ll Makefile
-rw-r--r-- 1 shirish staff 1945 Jul 15 08:10 Makefile
partial output from the Makefile :-
Code: Select all
network.c \
obj_BSP.c particle.c passage.c profile.c quest.c script.c script_compile.c \
script_functions.c server.c sound.c texture.c ui.c egoboo.c physics.c\
egoboo_process.c ChrList.c EncList.c PrtList.c egoboo_object.c
Removed quest.c so now it reads :-
Code: Select all
network.c \
obj_BSP.c particle.c passage.c profile.c script.c script_compile.c \
script_functions.c server.c sound.c texture.c ui.c egoboo.c physics.c\
egoboo_process.c ChrList.c EncList.c PrtList.c egoboo_object.c
Do not get this part though :-
Code: Select all
you may also have to add any files Zefz/bgbirdsey has added but not to the Makefile
the question would be where do I need to add the files and how do I know/come to know which files Zefz/bgbirdsey have added ? But first let me try and re-compile who knows I may succeed. I would have to do a make clean first for sure.
Edit :- Did the following :-
Code: Select all
:/usr/local/src/egoboo-src/egoboo-stable$ make clean
make -C ./enet clean
make[1]: Entering directory `/usr/local/src/egoboo-src/egoboo-stable/enet'
rm -f ./lib/libenet.a host.o list.o memory.o packet.o peer.o protocol.o unix.o
make[1]: Leaving directory `/usr/local/src/egoboo-src/egoboo-stable/enet'
make -C ./game clean
make[1]: Entering directory `/usr/local/src/egoboo-src/egoboo-stable/game'
rm -f AStar.o bbox.o bsp.o camera.o char.o client.o clock.o collision.o
.....
As expected it cleans out the shared libraries if any existed before.
Then tried compiling it again :-
Code: Select all
$ make all PREFIX= /usr/local/src/egoboo
make -C ./enet all
......
.......
nclude/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o file_formats/quest_file.o file_formats/quest_file.c
In file included from file_formats/quest_file.c:23:0:
file_formats/quest_file.h:57:58: error: array type has incomplete element type
file_formats/quest_file.h:58:56: error: array type has incomplete element type
file_formats/quest_file.h:59:49: error: array type has incomplete element type
file_formats/quest_file.h:60:52: error: array type has incomplete element type
file_formats/quest_file.h:61:49: error: array type has incomplete element type
file_formats/quest_file.h:62:49: error: array type has incomplete element type
make[1]: *** [file_formats/quest_file.o] Error 1
make[1]: Leaving directory `/usr/local/src/egoboo-src/egoboo-stable/game'
make: *** [egoboo] Error 2
coughs out here. Looking for info. again...
Intel Dual-Core CPU E5400 @ 2.70GHz, Asus MB P5KPL-AM IN, D-Link 502-T router, 64-bit Debian Sid, GNOME 2.30.2