Ahh, your compile flags are bad, you must have:
-mtune=i686 -march=pentium -mmmx -m3dnow

On the command line (this tells GCC what instruction set it can compile
for).

- Alfred

----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Sent:
Saturday, July 16, 2005 10:29 PM To: [email protected]
Subject: Re: [hlcoders] installing fedora core 3 solved most of my
problems except

> On 7/16/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote:
> > Given that you had a stray "#" character in that file god knows what
> > else changed in it. Get a fresh version from the SDK and use that.
> >
> > - Alfred
> >
>
> I got a fresh version, and copied mathlib.cpp to the new one.. same
> error
>
> /usr/bin/g++ -w -I../dlls/../game_shared/hl2 -I../dlls/.
> -I../dlls/../public -I../dlls/../public/tier1
> -I../dlls/../game_shared -I../dlls/../utils/common -I../dlls/../dlls
> -I../dlls/../../dlls -I../dlls/../dlls/hl2_dll
> -I../dlls/../dlls/hl2mp_dll -I../dlls/../game_shared/hl2mp -DHL2MP
> -DHL2_DLL -DUSES_SAVERESTORE -DNDEBUG -DGAME_DLL
> -Dsprintf=use_Q_snprintf_instead_of_sprintf
> -DVECTOR -Dstrncpy=use_Q_strncpy_instead
> -D_snprintf=use_Q_snprintf_instead -DPROTECTED_THINGS_ENABLE
> -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_snprintf_instead_of_sprintf
> -Ustrncpy=use_Q_strncpy_instead -UPROTECTED_THINGS_ENABLE -o
> obj/server/dlls/public/mathlib.o -c ../dlls/../public/mathlib.cpp
> ../dlls/../public/mathlib.cpp: In function `float
> _3DNow_Sqrt(float)': ../dlls/../public/mathlib.cpp:190: error:
> impossible constraint in `asm'
> make[1]: *** [obj/server/dlls/public/mathlib.o] Error 1
> make[1]: Leaving directory `/home/nick/src/linux_sdk'
> make: *** [mod] Error 2
>
> _______________________________________________
> 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