Re: [TuxKart-devel] Compilation error on cvs
Status: Alpha
Brought to you by:
sjbaker
From: Ryan F. <rf...@gm...> - 2004-08-06 18:43:24
|
On Fri, 6 Aug 2004 19:32:13 +0100, Ricardo Cruz <ri...@ae...> wrote: > > Hello there, > > I am getting this error on CVS for a while now: > > if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" > -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"tuxkart\" > -DVERSION=\"0.4.0\" -DHAVE_LIBSDL=1 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSDL_TTF=1 > -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBGL=1 -DSTDC_HEADERS=1 > -DHAVE_GL_GL_H=1 -DLINUX_JOYSTICK_IS_PRESENT=1 > -DTUXKART_DATADIR=\"/usr/local/share/games/tuxkart\" -I. -I. -g -O2 > -I/usr/include/SDL -D_REENTRANT -O6 -Wall -Wall -W -Werror -DDEBUG -g -MT > start_tuxkart.o -MD -MP -MF ".deps/start_tuxkart.Tpo" \ > -c -o start_tuxkart.o `test -f 'start_tuxkart.cxx' || echo > './'`start_tuxkart.cxx; \ > then mv -f ".deps/start_tuxkart.Tpo" ".deps/start_tuxkart.Po"; \ > else rm -f ".deps/start_tuxkart.Tpo"; exit 1; \ > fi > In file included from start_tuxkart.cxx:20: > /usr/include/plib/pw.h:18: error: `NULL' was not declared in this scope > /usr/include/plib/pw.h:18: error: `NULL' was not declared in this scope > /usr/include/plib/pw.h:19: error: `NULL' was not declared in this scope > /usr/include/plib/pw.h:19: error: `NULL' was not declared in this scope > /usr/include/plib/pw.h:20: error: `NULL' was not declared in this scope > make[1]: ** [start_tuxkart.o] Erro 1 > make[1]: Leaving directory `/home/prog/tuxkart/tuxkart/src' > make: ** [all-recursive] Erro 1 > > Any ideas? Add one of the standard libraries to pw.h: #include <cstddef> -- Ryan |