scons: Reading SConscript files ...
Checking whether the C compiler works... (cached) yes
Checking whether the C++ compiler works... (cached) yes
Checking if 64 bit... (cached) yes
Adding 64 bit compile flags
Checking for C library SDL... (cached) yes
Checking for C header file SDL/SDL.h... (cached) yes
Checking for C library lua5.1... (cached) no
Checking for C library lua-5.1... (cached) no
Checking for C library lua51... (cached) no
Checking for C library lua... (cached) yes
Package lua5.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua5.1.pc'
to the PKG_CONFIG_PATH environment variable
Package 'lua5.1', required by 'world', not found
Checking for C header file lua5.1/lua.h... (cached) no
Checking for C header file lua.h... (cached) yes
Checking for C library dl... (cached) yes
Checking for C library fftw3f... (cached) yes
Checking for C library bz2... (cached) yes
Checking for C header file bzlib.h... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library m... (cached) yes
Checking for C library X11... (cached) yes
Checking for C library rt... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/powder64 build/src/BSON.o build/src/air.o build/src/benchmark.o build/src/cJSON.o build/src/console.o build/src/fontdata.o build/src/graphics.o build/src/gravity.o build/src/hmap.o build/src/http.o build/src/hud.o build/src/imagedata.o build/src/interface.o build/src/luabit.o build/src/luaconsole.o build/src/luascriptinterface.o build/src/main.o build/src/md5.o build/src/misc.o build/src/powder.o build/src/save.o build/src/update.o build/src/common/Platform.o build/src/game/Brush.o build/src/game/Download.o build/src/game/DownloadManager.o build/src/game/Menus.o build/src/game/Sign.o build/src/game/ToolTip.o build/src/graphics/Pixel.o build/src/graphics/VideoBuffer.o build/src/interface/Button.o build/src/interface/Component.o build/src/interface/Engine.o build/src/interface/Label.o build/src/interface/ScrollWindow.o build/src/interface/Textbox.o build/src/interface/Window.o build/src/json/jsoncpp.o build/src/luascripts/multiplayer.lua.o build/src/luascripts/scriptmanager.lua.o build/src/simulation/Element.o build/src/simulation/ElementFunctions.o build/src/simulation/Movement.o build/src/simulation/Particle.o build/src/simulation/Simulation.o build/src/simulation/Tool.o build/src/gui/game/PowderToy.o build/src/gui/profile/ProfileViewer.o build/src/gui/sign/CreateSign.o build/src/simulation/elements/ACEL.o build/src/simulation/elements/ACID.o build/src/simulation/elements/AMTR.o build/src/simulation/elements/ANAR.o build/src/simulation/elements/ANIM.o build/src/simulation/elements/ARAY.o build/src/simulation/elements/BANG.o build/src/simulation/elements/BCLN.o build/src/simulation/elements/BCOL.o build/src/simulation/elements/BGLA.o build/src/simulation/elements/BHOL.o build/src/simulation/elements/BIZR.o build/src/simulation/elements/BIZRG.o build/src/simulation/elements/BIZRS.o build/src/simulation/elements/BMTL.o build/src/simulation/elements/BOMB.o build/src/simulation/elements/BOYL.o build/src/simulation/elements/BRAY.o build/src/simulation/elements/BRCK.o build/src/simulation/elements/BREL.o build/src/simulation/elements/BRMT.o build/src/simulation/elements/BTRY.o build/src/simulation/elements/BUTN.o build/src/simulation/elements/BVBR.o build/src/simulation/elements/C5.o build/src/simulation/elements/CAUS.o build/src/simulation/elements/CBNW.o build/src/simulation/elements/CLNE.o build/src/simulation/elements/CLST.o build/src/simulation/elements/CNCT.o build/src/simulation/elements/CO2.o build/src/simulation/elements/COAL.o build/src/simulation/elements/CONV.o build/src/simulation/elements/CRAY.o build/src/simulation/elements/CRMC.o build/src/simulation/elements/DCEL.o build/src/simulation/elements/DESL.o build/src/simulation/elements/DEST.o build/src/simulation/elements/DEUT.o build/src/simulation/elements/DLAY.o build/src/simulation/elements/DMG.o build/src/simulation/elements/DMND.o build/src/simulation/elements/DRAY.o build/src/simulation/elements/DRIC.o build/src/simulation/elements/DSTW.o build/src/simulation/elements/DTEC.o build/src/simulation/elements/DUST.o build/src/simulation/elements/DYST.o build/src/simulation/elements/ELEC.o build/src/simulation/elements/EMBR.o build/src/simulation/elements/EMP.o build/src/simulation/elements/EQUALVEL.o build/src/simulation/elements/ETRD.o build/src/simulation/elements/EXOT.o build/src/simulation/elements/EXPL.o build/src/simulation/elements/FIGH.o build/src/simulation/elements/FILT.o build/src/simulation/elements/FIRE.o build/src/simulation/elements/FIRW.o build/src/simulation/elements/FOG.o build/src/simulation/elements/FRAY.o build/src/simulation/elements/FRME.o build/src/simulation/elements/FRZW.o build/src/simulation/elements/FRZZ.o build/src/simulation/elements/FSEP.o build/src/simulation/elements/FUSE.o build/src/simulation/elements/FWRK.o build/src/simulation/elements/GAS.o build/src/simulation/elements/GBMB.o build/src/simulation/elements/GEL.o build/src/simulation/elements/GLAS.o build/src/simulation/elements/GLOW.o build/src/simulation/elements/GOLD.o build/src/simulation/elements/GOO.o build/src/simulation/elements/GPMP.o build/src/simulation/elements/GRAV.o build/src/simulation/elements/GRVT.o build/src/simulation/elements/GUNP.o build/src/simulation/elements/H2.o build/src/simulation/elements/HFLM.o build/src/simulation/elements/HSWC.o build/src/simulation/elements/ICEI.o build/src/simulation/elements/IGNT.o build/src/simulation/elements/INDI.o build/src/simulation/elements/INSL.o build/src/simulation/elements/INST.o build/src/simulation/elements/INVIS.o build/src/simulation/elements/INWR.o build/src/simulation/elements/IRON.o build/src/simulation/elements/ISOZ.o build/src/simulation/elements/ISZS.o build/src/simulation/elements/LAVA.o build/src/simulation/elements/LCRY.o build/src/simulation/elements/LIFE.o build/src/simulation/elements/LIGH.o build/src/simulation/elements/LNTG.o build/src/simulation/elements/LO2.o build/src/simulation/elements/LOLZ.o build/src/simulation/elements/LOVE.o build/src/simulation/elements/LRBD.o build/src/simulation/elements/MERC.o build/src/simulation/elements/METL.o build/src/simulation/elements/MORT.o build/src/simulation/elements/MOVS.o build/src/simulation/elements/MWAX.o build/src/simulation/elements/NBHL.o build/src/simulation/elements/NBLE.o build/src/simulation/elements/NEUT.o build/src/simulation/elements/NICE.o build/src/simulation/elements/NITR.o build/src/simulation/elements/NONE.o build/src/simulation/elements/NSCN.o build/src/simulation/elements/NTCT.o build/src/simulation/elements/NWHL.o build/src/simulation/elements/O2.o build/src/simulation/elements/OIL.o build/src/simulation/elements/PBCN.o build/src/simulation/elements/PCLN.o build/src/simulation/elements/PHOT.o build/src/simulation/elements/PINV.o build/src/simulation/elements/PIPE.o build/src/simulation/elements/PLEX.o build/src/simulation/elements/PLNT.o build/src/simulation/elements/PLSM.o build/src/simulation/elements/PLUT.o build/src/simulation/elements/PPIP.o build/src/simulation/elements/PPTI.o build/src/simulation/elements/PPTO.o build/src/simulation/elements/PQRT.o build/src/simulation/elements/PROT.o build/src/simulation/elements/PRTI.o build/src/simulation/elements/PRTO.o build/src/simulation/elements/PSCN.o build/src/simulation/elements/PSNS.o build/src/simulation/elements/PSTE.o build/src/simulation/elements/PSTN.o build/src/simulation/elements/PSTS.o build/src/simulation/elements/PTCT.o build/src/simulation/elements/PUMP.o build/src/simulation/elements/PVOD.o build/src/simulation/elements/PWHT.o build/src/simulation/elements/QRTZ.o build/src/simulation/elements/RAZR.o build/src/simulation/elements/RBDM.o build/src/simulation/elements/REPL.o build/src/simulation/elements/RIME.o build/src/simulation/elements/SALT.o build/src/simulation/elements/SAND.o build/src/simulation/elements/SHLD1.o build/src/simulation/elements/SHLD2.o build/src/simulation/elements/SHLD3.o build/src/simulation/elements/SHLD4.o build/src/simulation/elements/SING.o build/src/simulation/elements/SLTW.o build/src/simulation/elements/SMKE.o build/src/simulation/elements/SNOW.o build/src/simulation/elements/SOAP.o build/src/simulation/elements/SPAWN.o build/src/simulation/elements/SPAWN2.o build/src/simulation/elements/SPNG.o build/src/simulation/elements/SPRK.o build/src/simulation/elements/STKM.o build/src/simulation/elements/STKM2.o build/src/simulation/elements/STNE.o build/src/simulation/elements/STOR.o build/src/simulation/elements/SWCH.o build/src/simulation/elements/TESC.o build/src/simulation/elements/THDR.o build/src/simulation/elements/THRM.o build/src/simulation/elements/TRON.o build/src/simulation/elements/TSNS.o build/src/simulation/elements/TTAN.o build/src/simulation/elements/TUNG.o build/src/simulation/elements/URAN.o build/src/simulation/elements/VIBR.o build/src/simulation/elements/VINE.o build/src/simulation/elements/VIRS.o build/src/simulation/elements/VOID.o build/src/simulation/elements/VRSG.o build/src/simulation/elements/VRSS.o build/src/simulation/elements/WARP.o build/src/simulation/elements/WATR.o build/src/simulation/elements/WAX.o build/src/simulation/elements/WHOL.o build/src/simulation/elements/WIFI.o build/src/simulation/elements/WIRE.o build/src/simulation/elements/WOOD.o build/src/simulation/elements/WTRV.o build/src/simulation/elements/YEST.o build/src/socket/auxiliar.o build/src/socket/buffer.o build/src/socket/except.o build/src/socket/inet.o build/src/socket/io.o build/src/socket/luasocket.o build/src/socket/options.o build/src/socket/select.o build/src/socket/socket.lua.o build/src/socket/tcp.o build/src/socket/timeout.o build/src/socket/udp.o build/src/socket/unix.o build/src/socket/usocket.o build/src/socket/wsocket.o build/src/LuaCompat.o -lSDL -lpthread -llua -ldl -lfftw3f -lbz2 -lpthread -lm -lX11 -lrt
build/src/interface.o: In function `ui_edit_draw(unsigned int*, ui_edit*)':
interface.cpp:(.text+0x9a8): undefined reference to `drawpixel(unsigned int*, int, int, int, int, int, int)'
build/src/luaconsole.o: In function `luatpt_drawpixel(lua_State*)':
luaconsole.cpp:(.text+0x17ca): undefined reference to `drawpixel(unsigned int*, int, int, int, int, int, int)'
collect2: error: ld returned 1 exit status
scons: *** [build/powder64] Error 1
scons: building terminated because of errors.
strip: 'build/powder64': No such file