Hi, Remove fopen=dont_use_fopen
from the vcproj file. Mike Bott pisze: > I grabbed the latest linux_sdk directory by refreshing SDK content and then > creating a new mod. I dropped it into src/linux_sdk in our mod's source > tree, installed appropriate gcc/g++, set up xerces, etc. Make appears to be > generating the appropriate auxilliary files (i.e. vcpm runs fine), but the > compile breaks immediately after making the obj dirs: > > -- > > /usr/bin/g++ -w -I../game/server/../../common -I../game/server/../../public > -I../game/server/../../public/tier0 -I../game/server/../../public/tier1 > -I../game/server/. -I../game/server/../../game/shared > -I../game/server/../../utils/common -I../game/server/../../game/shared/hl2 > -I../game/server/./hl2 -I../game/server/./hl2mp > -I../game/server/../../game/shared/hl2mp > -I../game/server/../../game/shared/smashball > -I../game/server/./smashball/stats -I../game/server/./smashball > -I../game/server/../../asio/include > -I../game/server/../../asio/include/boost > -I../game/server/"../../xerces-c/include" -I../game/server/../../jpeg/inc > -I../game/server/../../game/shared/smashball/tcp_networking -DNDEBUG > -D_USRDLL -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DGAME_DLL > -DVECTOR -DPROTECTED_THINGS_ENABLE -Dfopen=dont_use_fopen > -Dsprintf=use_Q_snprintf_instead_of_sprintf -Dstrncpy=use_Q_strncpy_instead > -D_snprintf=use_Q_snprintf_instead -DHL2MP -DHL2_DLL -DNO_VCR > -DVERSION_SAFE_STEAM_API_INTERFACES -mtune=i686 -march=pentium3 -mmmx -O3 > -DVPROF_LEVEL=1 -DSWDS -D_LINUX -DLINUX -DNDEBUG -fpermissive > -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp > -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf > -D_alloca=alloca -Dstrcmpi=strcasecmp > -Usprintf=use_Q_snprintf_instead_of_sprintf -Ustrncpy=use_Q_strncpy_instead > -UPROTECTED_THINGS_ENABLE -o > obj/Smashball_i486/game/server/ai_behavior_lead.o -c > ../game/server/ai_behavior_lead.cpp > In file included from > /usr/include/c++/3.4/i486-linux-gnu/bits/c++locale.h:42, > from /usr/include/c++/3.4/iosfwd:46, > from /usr/include/c++/3.4/bits/stl_algobase.h:70, > from /usr/include/c++/3.4/bits/char_traits.h:46, > from /usr/include/c++/3.4/string:47, > from ../game/server/../../public/stdstring.h:27, > from ../game/server/ai_playerally.h:18, > from ../game/server/ai_behavior_lead.cpp:15: > /usr/include/c++/3.4/cstdio:110: error: `::fopen' has not been declared > make[1]: *** [obj/Smashball_i486/game/server/ai_behavior_lead.o] Error 1 > make[1]: Leaving directory `/data/Smashball_build/sb_ep2_src/src/linux_sdk' > make: *** [server] Error 2 > [EMAIL PROTECTED]:/data/Smashball_build/sb_ep2_src/src/linux_sdk$ > > -- > > We have modified neither ai_playerally nor ai_behavior_lead.cpp. I couldn't > find anything like this on the Wiki in the couple of pages about compiling > under Linux. TIA for any help you can give. > > -Mike > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

