-- [ Picked text/plain from multipart/alternative ] I'm gonna paste my makefile here, I am also logged in as root. All I do to compile is go to to linux_sdk and type "make" in the terminal.
############################################################################# # Developer configurable items ############################################################################# # the name of the mod binary (_i486.so is appended to the end) NAME=osp # the location of the vcproj that builds the mod MOD_PROJ=../dlls/hl_sdk.vcproj # the name of the mod configuration (typically <proj name>_<build type><build target>) MOD_CONFIG=hl_ReleaseSDKWin32 # the directory the base binaries (tier0_i486.so, etc) are located GAME_DIR=/root/srcds_l/srcds GAME_DIR=/root/srcds_l/srcds # compiler options (gcc 3.4.1 or above is required) CC=/usr/bin/gcc CPLUS=/usr/bin/g++ CLINK=/usr/bin/gcc 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 here USER_CFLAGS= # link flags for your mod, make sure to include any special libraries here #LDFLAGS="-lm -ldl $(GAME_DIR)/bin/tier0_i486.so $(GAME_DIR)/bin/vstdlib_i486.so" Also note: When I tried to paste in this it mysteriously didn't bring this in from geedit "GAME_DIR=/root/srcds_l/srcds" could be related? By the way, thanks for your time. On 7/26/05, Slash <[EMAIL PROTECTED]> wrote: > > Clearly your GAME_DIR is not correct. I assume you also compiling as > root so it can access the /root/ folder? Do you have more than one > GAME_DIR? Is one commented? Is the wrong one commented? > > Look, if I change the GAME_DIR to a directory above the correct one, > here is the error: > > gcc: /home/slash/steam/bin/tier0_i486.so: No such file or directory > gcc: /home/slash/steam/bin/vstdlib_i486.so: No such file or directory > > Note the full path. Yours says "/bin/", not "/root/srcds_l/srcds/bin/" > like it should be. It's looking in /bin/ for the libraries. Why? > Please check the makefile again. > > -Slash > > On 7/25/05, Ben Davison <[EMAIL PROTECTED]> wrote: > > -- > > [ Picked text/plain from multipart/alternative ] > > gcc: /bin/tier0_i486.so: No such file or directory > > gcc: /bin/vstdlib_i486.so: No such file or directory > > > > > > On 7/26/05, Slash <[EMAIL PROTECTED]> wrote: > > > > > > Paste the error. If you verified that > > > > > > /root/srcds_l/srcds/bin/tier0_i486.so > > > and > > > /root/srcds_l/srcds/bin/vstdlib_i486.so > > > > > > exist, then there is something else wrong. > > > > > > You shouldnt have to edit LDFLAGS. > > > > > > -Slash > > > > > > _______________________________________________ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > -- > > - Ben Davison > > - http://www.shadow-phoenix.com > > -- > > > > _______________________________________________ > > 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 > > -- - Ben Davison - http://www.shadow-phoenix.com -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

