--
[ Picked text/plain from multipart/alternative ]
I've put the errors at http://pastebin.ca/768296

Yes, only the makefile has been touched at the top part, which is why i only 
posted that part with my post.

I'm running GNU Make 3.80.

Thanks



> From: [EMAIL PROTECTED]> To: [email protected]> Subject: Re: 
> [hlcoders] Error on compile on linux> Date: Sat, 10 Nov 2007 14:56:09 +0100> 
> > Sadly, things did go wrong with the copy-pasting. I'd use an online> 
> pastebin (like pastebin.ca) next time...> > From what I see, "make" is going 
> crazy for no good reason... as long as> you only touched the upper section of 
> the Makefile and nothing else> (e.g. the Makefile.vcpm) and you are in the 
> linux_sdk directory when you> run make.> > What version is your make? Try 
> running "make -v".> > ~~ Ondra> > On 10.11.07 5:24 Uhr, David van der Staak 
> wrote:> > --> > [ Picked text/plain from multipart/alternative ]> > Hello,> 
> >> > First off, i hope this post goes well and not gets screwed up somehow 
> (yes first time for everything)> >> > Okay, so the situation is as 
> follows:I've got a mod. It works fine on windows, can compile it perfectly 
> without errors. Windows servers can run fine with the .dll's created. The 
> linux server is a different story. It errors out on the very start. I have 
> included a copy of the errors created by the make command on linux and a copy 
> of the top part of the make file (as that's the only part that has been 
> edited).> > Thanks for reading anyways.> >> > HisChild> >> > Makefile:> > # 
> the name of the mod binary (_i486.so is appended to the end)NAME=server> > # 
> the location of the vcproj that builds the 
> modMOD_PROJ=../dlls/server_hl2mp-2003.vcproj# the name of the mod 
> configuration (typically <proj name>_<build type><build 
> target>)MOD_CONFIG=server_sdk_ReleaseSDKWin32> > # the directory the base 
> binaries (tier0_i486.so, etc) are 
> located#GAME_DIR=../../#GAME_DIR=~/valve/hl2bin/GAME_DIR=/home/hischild/gamedir>
>  > # compiler options (gcc 3.4.1 or above is 
> required)CC=/usr/bin/gccCPLUS=/usr/bin/g++CLINK=/usr/bin/gcc#CPP_LIB="/usr/lib/libstdc++.a
>  
> /usr/lib/libgcc_eh.a"CPP_LIB="/usr/lib/gcc/i386-redhat-linux/3.4.3/libstdc++.a
>  /usr/lib/gcc/i386-redhat-linux/3.4.3/libgcc_eh.a"> > # put any compiler 
> flags you want passed hereUSER_CFLAGS=> > # link flags for your mod, make 
> sure to include any special libraries hereLDFLAGS="-lm -ldl 
> $(GAME_DIR)/bin/tier0_i486.so $(GAME_DIR)/bin/vstdlib_i486.so mathlib_i486.a 
> choreoobjects_i486.a tier1_i486.a"> > # XERCES 2.6.0 or above ( 
> http://xml.apache.org/xerces-c/ ) is used by the vcproj to makefile 
> converter# it must be installed before being able to run this 
> makefileXERCES_INC_DIR=/opt/xerces-c.2.8.0/includeXERCES_LIB_DIR=/opt/xerces-c.2.8.0/lib#
>  if you have xerces installed already you should be able to use the two lines 
> below#XERCES_INC_DIR=/usr/include#XERCES_LIB_DIR=/usr/lib> >> > errors:> > 
> makeif [ -z "/usr/bin/gcc" ]; then echo "Compiler not defined."; exit; fiif [ 
> ! -d . ];then mkdir .;ficd .make -f Makefile.vcpm CC=/usr/bin/gcc 
> CPLUS=/usr/bin/g++ CPP_LIB="/usr/lib/gcc/i 386-redhat-linux/3.4.3/libstdc++.a 
> /usr/lib/gcc/i386-redhat-linux/3.4.3/libgcc_e h.a" BUILD_DIR=. 
> BUILD_OBJ_DIR=./obj SOURCE_DIR=.. SHLIBLDFLAGS=-shared -Wl,-Map ,vcpm_map.txt 
> -Wl SHLIBEXT=so CLINK=/usr/bin/gcc CFLAGS=" -mtune=i686 -march=pe ntium3 
> -mmmx -O3 -fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp= 
> strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp 
> -D_snprintf=snprintf - D_vsnprintf=vsnprintf -D_alloca=alloca 
> -Dstrcmpi=strcasecmp -Usprintf=use_Q_snpr intf_instead_of_sprintf 
> -Ustrncpy=use_Q_strncpy_instead -UPROTECTED_THINGS_ENABL E" LDFLAGS="-lm -ldl 
> /home/hischild/gamedir/bin/tier0_i486.so /home/hischild/gam 
> edir/bin/vstdlib_i486.so mathlib_i486.a choreoobjects_i486.a tier1_i486.a" 
> ARCH= i486 GAME_DIR=/home/hischild/gamedir 
> MOD_CONFIG=server_sdk_ReleaseSDKWin32 NAME= server 
> XERCES_INC_DIR=/opt/xerces-c.2.8.0/include XERCES_LIB_DIR=/opt/xerces-c.2 
> .8.0/libmake[1]: Entering directory `/home/hischild/193/linux_sdk'mkdir 
> ./objmkdir: cannot create directory `./obj': File existsmake[1]: [dirs] Error 
> 1 (ignored)mkdir ./obj/vcpmmkdir: cannot create directory `./obj/vcpm': File 
> existsmake[1]: [dirs] Error 1 (ignored)mkdir ./obj/vcpm/publicmkdir: cannot 
> create directory `./obj/vcpm/public': File existsmake[1]: [dirs] Error 1 
> (ignored)make[1]: *** No rule to make target `obj/vcpm/makefilecreator.o', 
> needed by `vcp m'. Stop.make[1]: Leaving directory 
> `/home/hischild/193/linux_sdk'make: *** [vcpm] Error 2> >> > > 
> _______________________________________________> To unsubscribe, edit your 
> list preferences, or view the list archives, please visit:> 
> http://list.valvesoftware.com/mailman/listinfo/hlcoders>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to