Log in

View Full Version : Compiling Errors for world


zsek320
04-07-2007, 02:06 PM
I am running Ubuntu and GC++ 4.1 and I cannot seem to get past the world make file I get :
make -C world
make[1]: Entering directory '/home/eqemu/build/EQEmu-0.7.0-992/world'
makefile:32: .depend: No such file or directory

A bit more stuff shows up but then this starts repeating:
/bin/sh: -D_REENTRANT: not found

I am guessing I need some library or dependency. Any help would be great.

Thanks

Arex
05-07-2007, 06:08 PM
i am getting the same error with ubuntu:

/bin/sh: -D_REENTRANT: not found

bobbydole
05-15-2007, 09:09 AM
The problem is in the depend part of the makefile.

here's the correct part.


.depend depend:
for f in $(SF); \
do \
i=`echo $$f | sed -e 's#.obj/#../common/#g' -e 's/\.o/.cpp/g' `; \
gcc -MM $(COPTS) $(PERL_FLAGS) $$i | sed "s#^[^ ]*:#$$f:#g"; \
done >.depend


just removed the ` around $(PERL_FLAGS)

However it doesn't make any difference in the resulting .depend file.