[TuxKart-devel] Compilation error on cvs
Status: Alpha
Brought to you by:
sjbaker
From: Ricardo C. <ri...@ae...> - 2004-08-06 18:24:51
|
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? I'm using Mandrake 10.0, having 3.3.2 version of g++. Thanks, Ricardo -- Hewett's Observation: The rudeness of a bureaucrat is inversely proportional to his or her position in the governmental hierarchy and to the number of peers similarly engaged. |