--
[ Picked text/plain from multipart/alternative ]
I remember something happening to me where it had an error at npc_talker.h
but i don't remember how i fixed it, EXCEPT I KNOW that gcc 3.4.1 compiles
it perfectly, but other versions don't, so maybe that's what it was. I know
3.4.4 no worky and 3.4.3 no worky either.
I vaguely remember tinkering around to make that error go away, but then
another error popped up, so I switched to gcc version EXACTLY 3.4.1 and
started over and I had not a single error.

On 1/2/06, HJ <[EMAIL PROTECTED]> wrote:
>
> WFM, YMMV, very clean build and successful Linux srcds execution.
>
> Files in question are:
> modname/src/dlls/npc_talker.h
> modname/src/linux_sdk/Makefile
>
> Index: npc_talker.h
> ===================================================================
> --- npc_talker.h        (revision 1)
> +++ npc_talker.h        (revision 8)
> @@ -15,9 +15,11 @@
> #include <time.h>
> #endif
>
> +#ifndef _LINUX
> #pragma warning(push)
> #include <set>
> #pragma warning(pop)
> +#endif
>
> #ifdef _WIN32
> #pragma once
>
>
> Index: Makefile
> ===================================================================
> --- Makefile    (revision 4)
> +++ Makefile    (revision 9)
> @@ -9,6 +9,7 @@
>
> # the name of the mod binary (_i486.so is appended to the end)
> NAME=server
> +MODDIR=hl2mp
> # 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>)
> @@ -25,14 +26,14 @@
> # compiler options (gcc 3.4.1 or above is required)
> CC=/usr/bin/gcc
> CPLUS=/usr/bin/g++
> -CLINK=/usr/bin/gcc
> +CLINK=/usr/bin/g++
> #CPP_LIB="/usr/lib/libstdc++.a /usr/lib/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"
> +LDFLAGS="-lm -ldl tier0_i486.so vstdlib_i486.so"
>
> # 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 makefile
> @@ -106,3 +107,5 @@
>           $(MAKE) -f $(MAKE_PLUGIN) $(BASE_DEFINES) clean
>           $(MAKE) -f $(MAKE_MOD) $(BASE_DEFINES) clean
>
> +install:
> +       cp -f $(NAME)_$(ARCH).so $(GAME_DIR)/$(MODDIR)/bin
>
>
> _______________________________________________
> 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

Reply via email to