Fixed! I had to append -lX11 and -ldl.
Oh, and I'm using Arch. There's probably some setting missing somewhere in some random config file that's in most distros. On Arch, everything is the latest version and at the default setting. Oh well, I can't expect every developer to cater to every distro out there.
Thanks for the help!
Oh, and I'm using Arch. There's probably some setting missing somewhere in some random config file that's in most distros. On Arch, everything is the latest version and at the default setting. Oh well, I can't expect every developer to cater to every distro out there.
Thanks for the help!