$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/main.os -c -Wall -O3 -fvisibility=hidden -m32 -march=i686 -fPIC -Ilibs -Ilibs/local/include src/main.cpp
g++ -o build/hook.os -c -Wall -O3 -fvisibility=hidden -m32 -march=i686 -fPIC -Ilibs -Ilibs/local/include src/hook.cpp
g++ -o build/UIGame.os -c -Wall -O3 -fvisibility=hidden -m32 -march=i686 -fPIC -Ilibs -Ilibs/local/include src/UIGame.cpp
g++ -o build/CGame.os -c -Wall -O3 -fvisibility=hidden -m32 -march=i686 -fPIC -Ilibs -Ilibs/local/include src/CGame.cpp
src/CGame.cpp:8:2: warning: no newline at end of file
g++ -o build/Qvm.os -c -Wall -O3 -fvisibility=hidden -m32 -march=i686 -fPIC -Ilibs -Ilibs/local/include src/Qvm.cpp
g++ -o build/Q3h.os -c -Wall -O3 -fvisibility=hidden -m32 -march=i686 -fPIC -Ilibs -Ilibs/local/include src/Q3h.cpp
g++ -o build/CVaPassNext.os -c -Wall -O3 -fvisibility=hidden -m32 -march=i686 -fPIC -Ilibs -Ilibs/local/include src/CVaPassNext.cpp
g++ -o build/libQ3H.so -static -shared build/main.os build/hook.os build/UIGame.os build/CGame.os build/Qvm.os build/Q3h.os build/CVaPassNext.os
build/hook.os:(.bss+0x10): multiple definition of `orig_CL_CgameSystemCalls'
build/main.os:(.bss+0x10): first defined here
build/hook.os:(.bss+0xc): multiple definition of `orig_VM_Free'
build/main.os:(.bss+0xc): first defined here
build/hook.os:(.bss+0x0): multiple definition of `orig_dlsym'
build/main.os:(.bss+0x0): first defined here
build/hook.os:(.bss+0x4): multiple definition of `orig_dlopen'
build/main.os:(.bss+0x4): first defined here
build/hook.os:(.bss+0x8): multiple definition of `orig_VM_Call'
build/main.os:(.bss+0x8): first defined here
build/UIGame.os:(.bss+0x0): multiple definition of `orig_dlsym'
build/main.os:(.bss+0x0): first defined here
build/UIGame.os:(.bss+0x4): multiple definition of `orig_dlopen'
build/main.os:(.bss+0x4): first defined here
build/UIGame.os:(.bss+0x8): multiple definition of `orig_VM_Call'
build/main.os:(.bss+0x8): first defined here
build/UIGame.os:(.bss+0xc): multiple definition of `orig_VM_Free'
build/main.os:(.bss+0xc): first defined here
build/UIGame.os:(.bss+0x10): multiple definition of `orig_CL_CgameSystemCalls'
build/main.os:(.bss+0x10): first defined here
build/CGame.os:(.bss+0x0): multiple definition of `orig_dlsym'
build/main.os:(.bss+0x0): first defined here
build/CGame.os:(.bss+0x4): multiple definition of `orig_dlopen'
build/main.os:(.bss+0x4): first defined here
build/CGame.os:(.bss+0x8): multiple definition of `orig_VM_Call'
build/main.os:(.bss+0x8): first defined here
build/CGame.os:(.bss+0xc): multiple definition of `orig_VM_Free'
build/main.os:(.bss+0xc): first defined here
build/CGame.os:(.bss+0x10): multiple definition of `orig_CL_CgameSystemCalls'
build/main.os:(.bss+0x10): first defined here
build/Qvm.os:(.bss+0x0): multiple definition of `orig_dlsym'
build/main.os:(.bss+0x0): first defined here
build/Qvm.os:(.bss+0x4): multiple definition of `orig_dlopen'
build/main.os:(.bss+0x4): first defined here
build/Qvm.os:(.bss+0x8): multiple definition of `orig_VM_Call'
build/main.os:(.bss+0x8): first defined here
build/Qvm.os:(.bss+0xc): multiple definition of `orig_VM_Free'
build/main.os:(.bss+0xc): first defined here
build/Qvm.os:(.bss+0x10): multiple definition of `orig_CL_CgameSystemCalls'
build/main.os:(.bss+0x10): first defined here
build/Q3h.os:(.bss+0x8): multiple definition of `orig_VM_Call'
build/main.os:(.bss+0x8): first defined here
build/Q3h.os:(.bss+0xc): multiple definition of `orig_VM_Free'
build/main.os:(.bss+0xc): first defined here
build/Q3h.os:(.bss+0x10): multiple definition of `orig_CL_CgameSystemCalls'
build/main.os:(.bss+0x10): first defined here
build/Q3h.os:(.bss+0x0): multiple definition of `orig_dlsym'
build/main.os:(.bss+0x0): first defined here
build/Q3h.os:(.bss+0x4): multiple definition of `orig_dlopen'
build/main.os:(.bss+0x4): first defined here
build/CVaPassNext.os:(.bss+0x0): multiple definition of `orig_dlsym'
build/main.os:(.bss+0x0): first defined here
build/CVaPassNext.os:(.bss+0x4): multiple definition of `orig_dlopen'
build/main.os:(.bss+0x4): first defined here
build/CVaPassNext.os:(.bss+0x8): multiple definition of `orig_VM_Call'
build/main.os:(.bss+0x8): first defined here
build/CVaPassNext.os:(.bss+0xc): multiple definition of `orig_VM_Free'
build/main.os:(.bss+0xc): first defined here
build/CVaPassNext.os:(.bss+0x10): multiple definition of `orig_CL_CgameSystemCalls'
build/main.os:(.bss+0x10): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
scons: *** [build/libQ3H.so] Error 1
scons: building terminated because of errors.