Not sure if I'm building this wrong but when i get a lot of "undefined reference to" errors on the resulting library, http://pastebin.com/Cb4ZTntB. I think from everything brought in by the includes in as-store.c