It sounds simple enough but this has got me pulling my hair out.
I am running Arch Linux on an ARM chipset (Raspberry Pi specifically) that I used to be using as a print server. It was running CUPS with a universal Splix driver for my Samsung printer and worked well for a while until an unfortunate overclocking experiment completely trashed the filesystem.
So I am rebuilding the OS and the software for the print server but it seems that Splix 2.0.0 can no longer compile on gcc the way it used to. The Splix project hasn't been changed since 2009 so I can rule out a recent code change there. The error message I get trying to compile Splix seems more like a complaint about a prototype not matching exactly to an overloaded method in one specific file. I believe this is because the latest version of gcc (4.8.2-7) is not backwards compatible with this Splix driver anymore.
Beyond kicking myself over not backing up the compiled binaries when I had a chance, and coming to the sobering realization that
pacman is purposely designed to make downgrading things a nightmare, I am trying to figure out a way I can find an ARM chipset package of gcc that is older, preferably 4.7.x, and do
pacman -U xxxx.tar.gz and then instruct pacman not to upgrade this package. I will probably have to do the same for gcc-libs.
This should be relatively low risk as Splix is the only source I need to download and compile as there is no package site that has this software built for the ARM chipset.
If I have to download 4.7 source for gcc and compile that I would but I wouldn't know how or where to start? Is there another C++ compiler I can try other than gcc that might work?
I accepted the answer pointing me to the Rollback Machine because this did have the exact version of GCC that I had asked for. I was able to download and install all of its dependencies manually and GCC appears to work fine, however I found that even this version was giving me the compiler error.
I want to kick myself in the face right now because I didn't even realize that Splix 2.0.0 was actually AVAILABLE in
pacman under the community repo! I must have misspelled it when I did a query
pacman -Q slpix because at first it told me it could not find the package. Then I thought that I must have downloaded the source and compiled it myself but apparently I didn't because I would have run into this same issue.
Needless to say I am quite embarrassed and I appreciate all of the help. I am curious though why I am unable to build Splix 2.0.0. I must be missing something simple but I am not the best C++ developer so I will leave that problem for the experts.